Electronicks / JoyShockMapper

A tool for PC gamers to play games with DualShock 4s, JoyCons, and Pro Controllers. Gyro aiming, flick stick.
Other
343 stars 20 forks source link

More keys not working in certain games #72

Open ghost opened 2 years ago

ghost commented 2 years ago

These keys don't work in some games: N0-N9 ADD, SUBTRACT, DIVIDE, MULTIPLY, DECIMAL PAGEUP, PAGEDOWN, HOME, END, INSERT, DELETE Like the arrow keys before, they did work in v3.2.1 but not later versions.

Abnaxos commented 10 months ago

AHK (AutoHotkey) actually recognises the keys. So, I could add a forward for them using AHK:

Hotkey "*Home", (evt) => Send "{blind}Home DOWN"
Hotkey "*Home UP", (evt) => Send "{blind}Home UP"

So, AHK catches the key down/up events and re-sends them. The game (Guild Wars 2) recognises the events sent by AHK. I did this successfully for DELETE, INSERT, HOME, END, PGUP and PGDN.

However, I noticed that N0, DECIMAL, N1, N3, N7 and N9 get sent as INSERT, DELETE etc. I couldn't find a way to distinguish those keys in in AHK (i.e. N9 looks like HOME).