Automatic cursor movement in runcommand
-
@mitu said in Automatic cursor movement in runcommand:
I have a tentative fix for this class of problems. Can you repeat the test from yesterday, but with [this version] of joy2key:
The fix seems to work. After starting the script, I only get:
pi@retropie:~/joy2key-test $ python3 joy2key_sdl.py kcub1 kcuf1 kcuu1 kcud1 0x0a 0x20 0x1b 0x00 kpp knp -d pi@retropie:~/joy2key-test $ 2021-11-01 23:18:54,466 DEBUG Using SDL Version 2.0.10, PySDL2 version 0.9.3. 2021-11-01 23:18:54,467 DEBUG Joystick #0 Microsoft X-Box 360 pad added 2021-11-01 23:18:54,467 DEBUG Added configuration for known device Microsoft X-Box 360 pad, hats: {0: [(1, 'up'), (8, 'left'), (2, 'right'), (4, 'down')]}, buttons: {4: 'pageup', 5: 'pagedown', 2: 'y', 3: 'x', 0: 'b', 1: 'a'}, axis: {3: [(-1, 'up'), (1, 'down')], 2: [(-1, 'left'), (1, 'right')], 1: [(1, 'down'), (-1, 'up')], 0: [(1, 'right'), (-1, 'left')]} 2021-11-01 23:18:54,468 DEBUG Joystick #1 hexagons.de Joystick added 2021-11-01 23:18:54,468 DEBUG Added configuration for known device hexagons.de Joystick, hats: {}, buttons: {0: 'a'}, axis: {1: [(-1, 'up'), (1, 'down')], 0: [(-1, 'left'), (1, 'right')]}
Moving the joystick and pressing the buttons on the gamepad results in the corresponding outputs.
-
Thank you for testing and reporting the problem.
We'll add the fixes to the the RetroPie version, so one of the next updates will have the newjoy2key
version. -
@mitu said in Automatic cursor movement in runcommand:
Thank you for testing and reporting the problem.
We'll add the fixes to the the RetroPie version, so one of the next updates will have the newjoy2key
version.Thanks for your quick response and for your work on the fix.
How could I try the fixed version in the real environment (runcommand, RetroPie-Setup)?
-
@mik Just copy the
.py
file to/opt/retropie/admin/joy2key
, overwriting the existing file, and it should be used instead for all menus.EDIT: actually, just update your RetroPie-Setup script, the fixed version should be now included.
-
@mitu Sorry for the late reply: Everything works fine in runcommand and RetroPie-Setup with your new version.
-
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.