[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gamepad button to transparently be keyboard key



>>> But how do I get them to be interpreted as keyboard
>>> keydowns that I setup so I can use the gamepad for any
>>> specific program of my choice?
>>
>> I also found joy2key which seems to be just what I want but
>> I can't figure out how to use it.
>>
>> I want to send the keys to /dev/tty1
>
> Okay it's easy with joy2key, I'll send the polished solution
> later God willing ...

In ~/.joy2keyrc

START tty
-terminal
-buttons a b c d e f g h i j k l m n o p q
-thresh 0 0 0 0 0 0 0 0 0 0 0 0
-axis   r s t u v w x y

then

$ joy2key -config tty

-- 
underground experts united
https://dataswamp.org/~incal


Reply to: