View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3046
Originally Posted by Estel View Post
Despite following all guides I was able to find, I still fail to create touchpad->keyboard mapping (so, for example, I would be able to change weapon type in hawx, or bind some key to help me gain pitch&zoom in x-plane games).

OTOH, I know that it is possible, as people already created such mapping for some games (for example, assassins creed)

Could someone post idiot-proof, step-by-step guide on achieving it? Bless you son and enormous thank you in advance - it, actually, bugs me for more than a year, now.

/Estel
AFAIK, you can't create such mappings for touchpad. You have a separate preenv libsdlpre.so which is uses for keyboard mapping.

preenv is for Pre (phone) games
preenv-kbd is for Pre games with keyboard mapping (separate package as it's 0.1.6)
preenv-hd is for Touchpad games.

It'd be theoretically possible to port the kbd mapping code to the hd library, you're welcome to try it
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post: