Axis to variably-repeated-button?
Posted: Sun Jun 24, 2018 11:19 pm
Hi all,
Forgive me if this is an easy one, but I have a particular use case in mind and I haven't been able to find anything that exactly fits the bill.
I'd like to map a joystick axis to a button press, in such a way that the farther I move the joystick, the faster the button repeats.
Ideally, something like this... assume the joystick axis goes from -10 to +10:
Joystick -10 ---> X button repeats rapidly
Joystick -5 ---> X button repeats slowly
Joystick 0 ---> no effect
Joystick +5 ---> Y button repeats slowly
Joystick +10 ---> Y button repeats rapidly
Has anybody done something like this using GIMX?
My use case is that I'm building a custom USB HID input device with many analog axes --- something like three mice in one device. I'm hoping to use this for some console games (via GIMX), but of course the consoles generally have fewer axes than my device does. So I'm wondering if I'd be better off doing pre-processing in my device to convert the axis outputs to repeated button presses before the signal even gets to GIMX.
Thanks in advance,
-QP
Forgive me if this is an easy one, but I have a particular use case in mind and I haven't been able to find anything that exactly fits the bill.
I'd like to map a joystick axis to a button press, in such a way that the farther I move the joystick, the faster the button repeats.
Ideally, something like this... assume the joystick axis goes from -10 to +10:
Joystick -10 ---> X button repeats rapidly
Joystick -5 ---> X button repeats slowly
Joystick 0 ---> no effect
Joystick +5 ---> Y button repeats slowly
Joystick +10 ---> Y button repeats rapidly
Has anybody done something like this using GIMX?
My use case is that I'm building a custom USB HID input device with many analog axes --- something like three mice in one device. I'm hoping to use this for some console games (via GIMX), but of course the consoles generally have fewer axes than my device does. So I'm wondering if I'd be better off doing pre-processing in my device to convert the axis outputs to repeated button presses before the signal even gets to GIMX.
Thanks in advance,
-QP