How to use the keyboard to control joystick ?
-
- Posts: 168
- Joined: 23 Sep 2015, 19:15
How to use the keyboard to control joystick ?
Hi there,
The basis of AHK content, I can use the joystick to control keyboard.
AHK: https://autohotkey.com/docs/misc/RemapJoystick.htm
Could you please tell me when I press the "A" key, what's on monitor continues moving leftward, and when I release the key,
it stops moving. I will grateful to you for helping me. Thank you.
The basis of AHK content, I can use the joystick to control keyboard.
AHK: https://autohotkey.com/docs/misc/RemapJoystick.htm
Could you please tell me when I press the "A" key, what's on monitor continues moving leftward, and when I release the key,
it stops moving. I will grateful to you for helping me. Thank you.
Re: How to use the keyboard to control joystick ?
AHK is not capable of altering how apps or games see a physical joystick. Nothing (Apart from special drivers that comes with that stick) can do this.
Your only real option is to install a virtual joystick emulator such as vJoy.
You can then control the vJoy stick from AHK using my CvJoyInterface library.
I have also written a number of Gui Applications that let you remap Joysticks.
See UCR for an app that will let you remap keyboard keys to joystick axes & buttons.
Your only real option is to install a virtual joystick emulator such as vJoy.
You can then control the vJoy stick from AHK using my CvJoyInterface library.
I have also written a number of Gui Applications that let you remap Joysticks.
See UCR for an app that will let you remap keyboard keys to joystick axes & buttons.
-
- Posts: 168
- Joined: 23 Sep 2015, 19:15
Re: How to use the keyboard to control joystick ?
Hi evilC,evilC wrote:AHK is not capable of altering how apps or games see a physical joystick. Nothing (Apart from special drivers that comes with that stick) can do this.
Your only real option is to install a virtual joystick emulator such as vJoy.
You can then control the vJoy stick from AHK using my CvJoyInterface library.
I have also written a number of Gui Applications that let you remap Joysticks.
See UCR for an app that will let you remap keyboard keys to joystick axes & buttons.
I have installed one joystick, but I want to use the keyboard to control it. It is possible ?
I need more time to look your share. thank you so much for your prompt reply.
Re: How to use the keyboard to control joystick ?
"I have installed one joystick" - what do you mean? You have one real joystick plugged in? You have one virtual joystick?
As I said before, there is absolutely no way to have keyboard control a REAL joystick.
You can only have keyboard control a FAKE ("Virtual") joystick.
As I said before, there is absolutely no way to have keyboard control a REAL joystick.
You can only have keyboard control a FAKE ("Virtual") joystick.
-
- Posts: 168
- Joined: 23 Sep 2015, 19:15
Re: How to use the keyboard to control joystick ?
Hi evilC,evilC wrote:"I have installed one joystick" - what do you mean? You have one real joystick plugged in? You have one virtual joystick?
As I said before, there is absolutely no way to have keyboard control a REAL joystick.
You can only have keyboard control a FAKE ("Virtual") joystick.
Yes, I have a real joystick. I have installed a joystick and computer in my equipment. Actually, when I moving the joystick then monitor will continues moving.
Now, I want to use the keyboard to control then to move monitor. No longer use the joystick.
I look at your share, it's too difficult for me. Could you please let me to easy use if it is possible.
Thank you.
-
- Posts: 168
- Joined: 23 Sep 2015, 19:15
Re: How to use the keyboard to control joystick ?
Hi evilC,
How can I have the keyboard control a fake joystick? Could you please explain it ?
Thanks.
How can I have the keyboard control a fake joystick? Could you please explain it ?
Thanks.
-
- Posts: 168
- Joined: 23 Sep 2015, 19:15
Re: How to use the keyboard to control joystick ?
Hello guys,
Please tell me if you have any ideas. Many thanks.
Please tell me if you have any ideas. Many thanks.
Re: How to use the keyboard to control joystick ?
See my UCR app (Link in signature)
Use the ButtonsToAxis plugin
Map the keyboard as the input
Map the joystick axis as the output.
For one joystick, you will need two plugins - one for x, one for y
Use the ButtonsToAxis plugin
Map the keyboard as the input
Map the joystick axis as the output.
For one joystick, you will need two plugins - one for x, one for y
Re: How to use the keyboard to control joystick ?
How to set up UCR for keyboard to joystick:
This just shows one axis, you would need to add another plugin for Y, and bind it to up and down arrow
This just shows one axis, you would need to add another plugin for Y, and bind it to up and down arrow