Closed gustavolinux closed 7 years ago
I think I see the issue, but I don't have the time to really dig and test at the moment: that profile is generating key_v
and key_b
events, but they are still being sent to the virtual gamepad device rather than the keyboard device.
All the rest are wrapped in key(...)
which redirects the translations to the virtual keyboard device instead.
Automagic shunting of keyboard events is on the horizon.
Unfortunately, I believe the axis = (btn1,btn2)
syntax sugar is set to only work when not nested.
Try wiimote.nk_stick_x = key(axis2btns(key_v,key_b))
.
Alternatively, you can make sure to assign the wiimote to the keyboard slot directly rather than virtpad1
or whatever. If you use set slots active_pads = 0
, MG should start assigning devices to the keyboard slot rather than the virtpads. You can then later increase the number of active pads to assign to later. (active_pads
neither creates nor destroys virtual devices. It merely changes how MG allocates input sources)
Try wiimote.nk_stick_x = key(axis2btns(key_v,key_b))
That worked, thank you very much!!
Hi, I was trying to get my nunchuck to work with my wiimote, the C and Z buttons are working fine, but no output from my thumb stick actions..
This is my profile:
Tha'ts the output: