 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Kastro Guest
|
Posted: Sat Aug 23, 2008 10:26 am Post subject: Joypad stroke? |
|
|
I'm trying to get AutoHotkey to function where when I press a key on my keyboard it sends a "joypad stroke".
This was simple enough(Joy to Keyboard):
However, the reverse doesn't seem to function(Keyboard to Joy):
Some help? |
|
| Back to top |
|
 |
[VxE]
Joined: 07 Oct 2006 Posts: 1496
|
Posted: Sat Aug 23, 2008 10:29 am Post subject: |
|
|
| The Manual wrote: | | Although a joystick button or axis can be remapped to become a key or mouse button, it cannot be remapped to some other joystick button or axis. That would be possible only with the help of a joystick emulator such as PPJoy. |
_________________ My Home Thread
More Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags ! |
|
| Back to top |
|
 |
Kastro Guest
|
Posted: Sat Aug 23, 2008 10:34 am Post subject: |
|
|
Woah, swift reply.
I'll look into this PPJoy. |
|
| Back to top |
|
 |
Kastro Guest
|
Posted: Sat Aug 23, 2008 10:40 am Post subject: |
|
|
Okay, downloaded it.
Now, how does this correspond to AutoHotkey?
How would I set something like this up? |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Sat Aug 23, 2008 11:32 am Post subject: |
|
|
PPJoy is a generic joystick driver, which can read and remap joystick signals, so very useful, but to invoke a signal to the joystick is something different and I found nothing in PPJoy's documentation pointing to that possibility.
| PPJoy manual -> Remapping buttons and axes wrote: | If you choose a Set (Create) or Modify option and click on Next you will see the screen below.
This screen will show you the number of buttons, axes and hats that PPJoy will report to Windows for this device. It will also show you the HID types reported for the axes. |
Which reminds me of DLLCall: Support for Human Interface devices. But Micha's dll can too only read, not invoke...
So, either way, you are left with remapping input I guess.
HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|