I am creating a script to improve my joystick functions in Lucasarts game "X-Wing"
To do so I am reprogramming joystick buttons so that I can use one of them as a "shift button" allowing it to combine with others to get alternative functionalities of the game.
It's going well, except for one problem:
X-Wing fire shortcut is "Alt+2" and "numpad2" has a different function. When I assign "Alt+2" to a joystick button the program always understands "numpad2" (or "alt+Numpad2" I can´t tell the difference from the game) and the game does not give me a shot but a camera change. I can map the fire button through the game but then I lose the alternative function or get an additional shooting action each time I use it.
Is there a way to specify the normal keyboard "2" instead of a generic one?
If you need to see the script to help me, just ask for it.
Thanks in advance.
Need sent number to be taken by program as 2, not Numpad2
- Yakshongas
- Posts: 590
- Joined: 21 Jan 2020, 08:41
Re: Need sent number to be taken by program as 2, not Numpad2
Try with this
Code: Select all
{VK62} ;key code for Numpad2
{VK32} ;key code for Number 2
Please mark your topics as solved if you don't need any further help. ![✅](//cdn.jsdelivr.net/emojione/assets/3.1/png/64/2705.png)
Need a little more help? Discord : Yakshongas#9893 🕹
![✅](http://cdn.jsdelivr.net/emojione/assets/3.1/png/64/2705.png)
Need a little more help? Discord : Yakshongas#9893 🕹
Re: Need sent number to be taken by program as 2, not Numpad2
Thank you, I will try it. Although I am giving up. Unfortunately the game forces two main buttons to be assigned and that means that whenever I use the secondary function the one assigned to the button will trigger too, so I cannot do what I wanted to.
Also the game is not recognizing key combinations such as shift+F10.
Also the game is not recognizing key combinations such as shift+F10.
Who is online
Users browsing this forum: No registered users and 99 guests