Hey guys I'm trying to figure out how to get a Wii remote connected and running keyboard presses. So far I've gotten to the point where I have all the necessary keys mapped. The problem is that it works fine for scrolling through the menus but once I go into a emulator it seems to stop working. I'm using evdev and running code similar to:
from evdev import UInput, ecodes as e
ui = UInput()
# accepts only KEY_* events by default ui.write(e.EV_KEY, e.KEY_ENTER, 1) # KEY_ENTER down ui.write(e.EV_KEY, e.KEY_ENTER, 0) # KEY_ENTER up ui.syn()
ui.close()
Any suggestions on why this works in the menu and not from inside emulators ?
Have you mapped the keys in the individual emulators? I have a USB x-arcade controller that works great for the menu, but I have had to also configure it to work with each individual emulator separately.