-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General usage #1
Comments
Hi @baracudaz . I'm using retropie 4.1 and I have only tested it with that version of ES. For me the
Did you set your keyboard up first with ES ? as the script reads your retroarch.cfg to get your keyboard buttons and sends keypresses using uinput. Check the readme for supported keys . So set up your keyboard as you normally would in ES then try the script. I'm using Also you can simply run cec-utils on its own to see if your remote is being detected. For reference I run kodi in retropie. It is installed in the ports section and works fine. |
Here is couple of outputs from my setup. The TV remote is detected by your script with no issues. I cannot setup ES with regular keyboard as the only access is via SSH or TV Remote control. However what I am struggling to understand how ES detects a valid keyboard (emulated by TV remove in our case)? Could you kindly provide output:
I found a couple of examples here. Now trying to figure out if I can re-use that.
See what you did there 👍 |
I set up a keyboard first and then used that to set up a ps3 controller. once the ps3 controller was paired the keyboard was no longer needed so I plugged that out. The "fake" keyboard is attached via a kernel module uinput and acts as a device attached at /dev/uinput , the python library interfaces with the uinput module to send key events, But a keyboard has to be configured first for ES to act on certain keypresses. my es_input.cfg
my retroarch.cfg player 1 keyboard input
If you get it working you may need to add some code to the if statment so it does not run when osmc is running. I'd say try copy the keyboard sections of both files and reboot and see if retropie prompts you for a keyboard. |
Hi @dillbyrne
Thanks for your work! I am trying to integrate my OSMC with RetroPie. Idea controlling the both OSMC/Kodi and EmulationStation/RetroPie with a single remote via HDMI/CEC is definitely appealing. However I have some general usage issues with your script.
I believe I have managed to install all the dependencies. Added missing
/etc/udev/rules.d/40-uinput.rules
and confirmed the script works in background withevtest
tool.However I still cannot control the EmulationStation. ES is stuck waiting for a controller.
Any ideas?
The text was updated successfully, but these errors were encountered: