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
Up arrow (keyboard) assigned to RUN/STOP #15
Comments
I assume you don't choose vice keyboard in control option? |
in control option i set "Retropad" for "User 1 and 2 Device Type". the issue occurs on both my 2 PCs. Can you reproduce it playing Nebulus but it happens with all games.
I also have tried to run retroarch on a new user with clean configuration but i can't solved. |
if you want play with keyboard , choose vice keyboard from controller option instead of joypad. |
i have tried to set "Vice keyboard" to "User 1 and 2 Device Type" and "Controller0 type: keyboard" on core option but still Up arrow is assigned to RUN/STOP. |
@r-type Hi, I have been doing some testing with lr-vice on my retropie and the run/stop set to "up" has caused a few issues for me. I use a USB keyboard encoder (mines and Ipac) and by deafult on a lot of these the arrow keys are set as joystick one. I have tried messing with the settings but I cannot seem to set up joystick so that joystick 1 "up" is not Run/Stop. Is there anyway to change the "up" key so that it does not register a Run/Stop key press? There are a couple of us with USB keyboard encoders that are having this issue. I am happy to share my retroarch.cfg if it helps. Also, thanks for sorting out the issue with "Core broken on Linux - undefined symbol: retro_opendir" this is now fixed and the installation works fine now and lr-vice runs. |
On my RetroPie build with the latest source, up arrow results in LOAD, not RUN/STOP, but all other arrow keys function as expected. |
Sorry for re-upping this after some month, but I googled and searched so much and found only this thread... so I would write to point that I have the same exact issue here with win10, latest retroarch and vice x64 core nightly... I am able to use the keyboard, but tried pretty much every combination in retroarch input /core config and... the up arrow key triggers run/stop and in many games this activated in game pause... also the workaround of putting retrojoy0 = OFF works here, but then you are forced to use the numpad keys... very different layout. Am I still missing some config step? Is it possible to know the correct config (driver, reatroarch, core) in case to use lr-vice with a keyboard the same manner of the other cores (arrow keys + z, x etc...) and eventually manually map the space and/or run/stop keys to another phisical key or using the virtual keyboard? Should I edit some config file? Thank you. |
I think Run/Stop is also mapped to the wrong key in the virtual keyboard. |
I too can confirm having this problem with x64. BUT, xvic is WAY WORSE. For example, when I hit the keys: BACKQUOTE 1 2 3 4 5 6 7 8 9 0 - = BACKSPACE on my keyboard (real or virtual), I get this: ENTER DEL CRSR-DOWN 3 5 X 7 V 9 N + , 1 Strangely enough, there seems to be a pattern, as it is most always every second key, and only affects the top and bottom rows. Other than Q, the QWERTY row functions normally. Normal too with the second row, other than A and ENTER bringing up VICE GUI dialogs (the A still prints in the background, but ENTER does nothing else). The bottom row SHIFT Z X C V B N M , . / SHIFT row gives: 4 <nothing (cursor flashes)> 6 C 8 B 0 M - . HOME Also, I noticed that if I repeatedly push the Z key on my keyboard, occasionally I will get a Z appearing on the screen, but most of the time it just make the cursor flash (guessing it is mapped to a function key). I have compiled VICE 3.0 on the same system and the keyboard on xvic and x64 works fine there. I tried copying some of the .vkm files from my install and re-compiling vice-libretro, but it did not help any. |
I believe that there are at least 2 issues here ... there appears to be some libretro glue which sets up the keyboard matrix and code only exists for the c64 keyboard, which is why the vic20 keyboard is quite messed up. I have a code change to set the vic20 keymap (if I can work out how to use Git then hopefully I can submit that). Strangely the C64 up arrow behaviour does not occur on the vic ... and as pointed out it only happens when the retrojoy is enabled. The keymap is not at fault in this instance, somewhere the code appears to get changed to shift+runstop (which is the shortcut for load). I imagine this is probably by design, although I'm guessing a less critical key could be mapped to that instead. I'll keep looking to see if I can find out where this is happening. |
I think this might be fixed in tomorrow’s nightly with my merged PR #73. Please report if this issue can now be closed. |
Closes libretro#8 Closes libretro#10 Closes libretro#15 Closes libretro#49 The quickmenu->controls options have been providing the functionality to turn joypad input on/off or switch it to keyboard for a long time. The retrojoy core option was a leftover when this functionality didn't exist. Similar the Vice_Controller core option is now uneccessary. This commit brings this core on-par with how other cores that support physical keyboard input work. To enable physical keyboard on desktop machines, simply change quickmenu->controls port 0 to "Vice Keyboard," or "Disconnected". prevents interplay between the Retropad port 0 hotkeys (used for vkbd etc.) and physical keyboard input. Since this is only an issue when Retropad port 0 inputs are bound to keys A,Z etc. like on desktop machines, by default, all ports are mapped to Vice Joystick. This default, together with the default mapper_y etc. options, now allows full control over the emulator using gamepads only.
Closes libretro#8 Closes libretro#10 Closes libretro#15 Closes libretro#49 The quickmenu->controls options have been providing the functionality to turn joypad input on/off or switch it to keyboard for a long time. The retrojoy core option was a leftover when this functionality didn't exist. Similar the Vice_Controller core option is now uneccessary. This commit brings this core on-par with how other cores that support physical keyboard input work. To enable physical keyboard on desktop machines, simply change quickmenu->controls port 0 to "Vice Keyboard," or "Disconnected". prevents interplay between the Retropad port 0 hotkeys (used for vkbd etc.) and physical keyboard input. Since this is only an issue when Retropad port 0 inputs are bound to keys A,Z etc. like on desktop machines, by default, all ports are mapped to Vice Joystick. This default, together with the default mapper_y etc. options, now allows full control over the emulator using gamepads only.
This was an issue because keyboard joystick emulation interferes with raw keyboard presses. I fixed this in my latest PR. To make the physical keyboard work when you have retropad bindings on the keyboard (like the default on desktop machines), make sure you set Quickmenu->controls->Port 0->"Disconnected" or "Vice Keyboard". If you want to use both a physical keyboard AND a Joystick with Retropad in Port 0, you should remove the default keyboard bindings of cursor keys and A,Z keys to Retropad inputs. This will now be like it is on ANY other core with keyboard support. Before my fix, this core behaved a bit confusingly with multiple core options to tackle these issues. I think the reason for this peculiar behavior was that this core was written before the advanced input mapper (quickmenu->controls) was available. The input mapper now provides these functionalities, so my PR removes a few obsolete core options.
|
Closes libretro#8 Closes libretro#10 Closes libretro#15 Closes libretro#49 The quickmenu->controls options have been providing the functionality to turn joypad input on/off or switch it to keyboard for a long time. The retrojoy core option was a leftover when this functionality didn't exist. Similar the Vice_Controller core option is now uneccessary. This commit brings this core on-par with how other cores that support physical keyboard input work. To enable physical keyboard on desktop machines, simply change quickmenu->controls port 0 to "Vice Keyboard," or "Disconnected". prevents interplay between the Retropad port 0 hotkeys (used for vkbd etc.) and physical keyboard input. Since this is only an issue when Retropad port 0 inputs are bound to keys A,Z etc. like on desktop machines, by default, all ports are mapped to Vice Joystick. This default, together with the default mapper_y etc. options, now allows full control over the emulator using gamepads only.
hi,
i can't play with keyboard because Up arrow key (PC Keyboard) is assigned to RUN/STOP (c64 keyboard), why?
The text was updated successfully, but these errors were encountered: