Skip to content
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

Closed
lodgerz opened this issue Dec 9, 2017 · 13 comments · Fixed by #75
Closed

Up arrow (keyboard) assigned to RUN/STOP #15

lodgerz opened this issue Dec 9, 2017 · 13 comments · Fixed by #75

Comments

@lodgerz
Copy link

lodgerz commented Dec 9, 2017

hi,
i can't play with keyboard because Up arrow key (PC Keyboard) is assigned to RUN/STOP (c64 keyboard), why?

@r-type
Copy link

r-type commented Dec 14, 2017

I assume you don't choose vice keyboard in control option?

@lodgerz
Copy link
Author

lodgerz commented Dec 15, 2017

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.

$ cat ~/.config/retroarch/config/remaps/VICE\ x64/VICE\ x64.rmp 
input_player1_b = "8"
input_player1_a = "0"
input_libretro_device_p1 = "1"
input_player1_analog_dpad_mode = "0"
input_libretro_device_p2 = "1"
input_player2_analog_dpad_mode = "0"
input_libretro_device_p3 = "1"
input_player3_analog_dpad_mode = "0"
input_libretro_device_p4 = "1"
input_player4_analog_dpad_mode = "0"
input_libretro_device_p5 = "1"
input_player5_analog_dpad_mode = "0"
input_libretro_device_p6 = "1"
input_player6_analog_dpad_mode = "0"
input_libretro_device_p7 = "1"
input_player7_analog_dpad_mode = "0"
$ cat ~/.config/retroarch/retroarch-core-options.cfg|grep vice
vice_Statusbar = "disabled"
vice_Drive8Type = "1542"
vice_DriveTrueEmulation = "disabled"
vice_SidModel = "6581F"
vice_C64Model = "C64MODEL_UNKNOWN"
vice_RetroJoy = "enabled"
vice_Controller = "joystick"
vice_mapper_y = "RETROK_F9"
vice_mapper_x = "RETROK_EURO"
vice_mapper_b = "RETROK_EURO"
vice_mapper_l2 = "RETROK_EURO"
vice_mapper_r2 = "RETROK_EURO"
vice_mapper_l3 = "RETROK_EURO"
vice_mapper_r3 = "RETROK_EURO"
vice_mapper_l = "RETROK_ESCAPE"
vice_mapper_r = "RETROK_RETURN"
vice_mapper_start = "RETROK_SPACE"
$ cat ~/.vice/vicerc
[C64]
WindowTopHint=24
WindowBotHint=23
ConfirmOnExit=0
Window0Width=768
Window0Height=591
Window0Xpos=0
Window0Ypos=26
SoundDeviceName="retro"
Sound=1
SoundBufferSize=100
VirtualDevices=1
VICIIVideoCache=1
VICIIHwScale=0
VICIIFilter=0
SidEngine=1
SidModel=1
JoyDevice2=4
DriveTrueEmulation=0
DriveSoundEmulation=1
Acia1Base=56832
$ retroarch
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Starting threaded video driver ...
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_OML_sync_control and GLX_MESA_swap_control supported, using better swap control method...
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1024x768.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 768.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapIntervalEXT(1)
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Bay Trail .
[INFO] [GL]: Version: 3.0 Mesa 17.2.6.
[INFO] [GL]: Using resolution 1024x768
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[INFO] Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Mask brightness (MASK_BRIGHTNESS) 0.700000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Scanline weight (SCANLINE_WEIGHT) 6.000000 0.000000 15.000000 0.100000
[INFO] Found #pragma parameter Scanline gap brightness (SCANLINE_GAP_BRIGHTNESS) 0.120000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Bloom factor (BLOOM_FACTOR) 1.500000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Input gamma (INPUT_GAMMA) 2.400000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Output gamma (OUTPUT_GAMMA) 2.200000 0.000000 5.000000 0.010000
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [udev]: Plugged pad: Logitech Logitech(R) Precision(TM) Gamepad (1133:49690) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event7) supports 0 force feedback effects.
[INFO] [Autoconf]: 187 profiles found.
[INFO] [Autoconf]: selected configuration: /usr/share/retroarch/autoconfig/udev/Logitech_Precision_Gamepad.cfg
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [ALSA]: Using signed 16-bit format.
[INFO] [ALSA]: Period size: 1024 frames
[INFO] [ALSA]: Buffer size: 3072 frames
[INFO] [ALSA]: Can pause: no.
[INFO] [Menu]: Found menu display driver: "menu_display_gl".
[INFO] Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Mask brightness (MASK_BRIGHTNESS) 0.700000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Scanline weight (SCANLINE_WEIGHT) 6.000000 0.000000 15.000000 0.100000
[INFO] Found #pragma parameter Scanline gap brightness (SCANLINE_GAP_BRIGHTNESS) 0.120000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Bloom factor (BLOOM_FACTOR) 1.500000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Input gamma (INPUT_GAMMA) 2.400000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Output gamma (OUTPUT_GAMMA) 2.200000 0.000000 5.000000 0.010000
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] SRAM will not be saved.
[INFO] Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Mask brightness (MASK_BRIGHTNESS) 0.700000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Scanline weight (SCANLINE_WEIGHT) 6.000000 0.000000 15.000000 0.100000
[INFO] Found #pragma parameter Scanline gap brightness (SCANLINE_GAP_BRIGHTNESS) 0.120000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Bloom factor (BLOOM_FACTOR) 1.500000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Input gamma (INPUT_GAMMA) 2.400000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Output gamma (OUTPUT_GAMMA) 2.200000 0.000000 5.000000 0.010000
[INFO] Loading history file: [/home/pippo/content_history.lpl].
[INFO] Loading history file: [/home/pippo/content_favorites.lpl].
[INFO] Loading history file: [/home/pippo/content_music_history.lpl].
[INFO] Loading history file: [/home/pippo/content_video_history.lpl].
[INFO] Loading history file: [/home/pippo/content_image_history.lpl].
[INFO] Using content: /home/pippo/EMU/C64/prg/n/nebulus.prg.
[INFO] arg #0: retroarch
[INFO] arg #1: /home/pippo/EMU/C64/prg/n/nebulus.prg
[INFO] arg #2: -c
[INFO] arg #3: /home/pippo/.config/retroarch/retroarch.cfg
[INFO] arg #4: -L
[INFO] arg #5: /usr/lib/libretro/vice_x64_libretro.so
[INFO] arg #6: -v
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [XINERAMA]: Saved monitor #0.
[INFO] Threaded video stats: Frames pushed: 242, Frames dropped: 0.
[INFO] Set config file to : /home/pippo/.config/retroarch/retroarch.cfg
[INFO] Redirecting save file to "/home/pippo/EMU/C64/prg/n/nebulus.srm".
[INFO] Redirecting savestate to "/home/pippo/EMU/C64/prg/n/nebulus.state".
[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 
Built: Oct 29 2017
[INFO] Version: 1.6.7
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "/usr/lib/libretro/vice_x64_libretro.so"
[INFO] [overrides] no core-specific overrides found at /home/pippo/.config/retroarch/config/VICE x64/VICE x64.cfg.
[INFO] [overrides] no game-specific overrides found at /home/pippo/.config/retroarch/config/VICE x64/nebulus.cfg.
[INFO] Shaders: preset directory: /home/pippo/config/retroarch/shaders/presets
[INFO] Shaders: no game-specific preset found at /home/pippo/config/retroarch/shaders/presets/VICE x64/nebulus.cgp.
[INFO] Shaders: no game-specific preset found at /home/pippo/config/retroarch/shaders/presets/VICE x64/nebulus.glslp.
[INFO] Shaders: no core-specific preset found at /home/pippo/config/retroarch/shaders/presets/VICE x64/VICE x64.cgp.
[INFO] Shaders: no core-specific preset found at /home/pippo/config/retroarch/shaders/presets/VICE x64/VICE x64.glslp.
[INFO] Environ SET_CONTROLLER_INFO.
[INFO] Controller port: 1
[INFO]    Vice Joystick (ID: 513)
[INFO]    Vice Keyboard (ID: 259)
[INFO] Controller port: 2
[INFO]    Vice Joystick (ID: 513)
[INFO]    Vice Keyboard (ID: 259)
[INFO] Environ SET_VARIABLES.
[INFO] Remaps: remap directory: /home/pippo/.config/retroarch/config/remaps
[INFO] Remaps: no game-specific remap found at /home/pippo/.config/retroarch/config/remaps/VICE x64/nebulus.rmp.
[INFO] Remaps: core-specific remap found at /home/pippo/.config/retroarch/config/remaps/VICE x64/VICE x64.rmp.
[INFO] Redirecting save file to "/home/pippo/EMU/C64/prg/n/nebulus.srm".
[INFO] Redirecting savestate to "/home/pippo/EMU/C64/prg/n/nebulus.state".
[WARN] SYSTEM DIR is empty, assume CONTENT DIR /home/pippo/EMU/C64/prg/n/nebulus.prg
[INFO] Environ SYSTEM_DIRECTORY: "/home/pippo/EMU/C64/prg/n/".
[INFO] Environ CORE_ASSETS_DIRECTORY: "/home/pippo/.config/retroarch/downloads".
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO] 	RetroPad, User 1, Button "B (bottom)" => "B"
[INFO] 	RetroPad, User 1, Button "Y (left)" => "Y"
[INFO] 	RetroPad, User 1, Button "Select" => "Select"
[INFO] 	RetroPad, User 1, Button "Start" => "Start"
[INFO] 	RetroPad, User 1, Button "D-Pad Up" => "Up"
[INFO] 	RetroPad, User 1, Button "D-Pad Down" => "Down"
[INFO] 	RetroPad, User 1, Button "D-Pad Left" => "Left"
[INFO] 	RetroPad, User 1, Button "D-Pad Right" => "Right"
[INFO] 	RetroPad, User 1, Button "A (right)" => "A"
[INFO] 	RetroPad, User 1, Button "X (up)" => "X"
[INFO] 	RetroPad, User 1, Button "L" => "L"
[INFO] 	RetroPad, User 1, Button "R" => "R"
[INFO] 	RetroPad, User 1, Button "L2" => "L2"
[INFO] 	RetroPad, User 1, Button "R2" => "R2"
[INFO] 	RetroPad, User 1, Button "L3" => "L3"
[INFO] 	RetroPad, User 1, Button "R3" => "R3"
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] Environ GET_VARIABLE vice_Statusbar:
[INFO] 	disabled
[INFO] Environ GET_VARIABLE vice_Drive8Type:
[INFO] 	1542
[INFO] Environ GET_VARIABLE vice_DriveTrueEmulation:
[INFO] 	disabled
[INFO] Environ GET_VARIABLE vice_SidModel:
[INFO] 	6581F
[INFO] Environ GET_VARIABLE vice_C64Model:
[INFO] 	C64MODEL_UNKNOWN
[INFO] Environ GET_VARIABLE vice_RetroJoy:
[INFO] 	enabled
[INFO] Environ GET_VARIABLE vice_Controller:
[INFO] 	joystick
[INFO] Environ GET_VARIABLE vice_mapper_y:
[INFO] 	RETROK_F9
[INFO] Environ GET_VARIABLE vice_mapper_x:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_b:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_l:
[INFO] 	RETROK_ESCAPE
[INFO] Environ GET_VARIABLE vice_mapper_r:
[INFO] 	RETROK_RETURN
[INFO] Environ GET_VARIABLE vice_mapper_l2:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_r2:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_l3:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_r3:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_start:
[INFO] 	RETROK_SPACE
s(1024,768,16) (0,0,0,0)
create surface RGB565 libretro
Init nuklear 0
[INFO] Skipping SRAM load..
[INFO] CHEEVOS system RAM: (nil) 0
[INFO] CHEEVOS save RAM:   (nil) 0
[INFO] CHEEVOS video RAM:  (nil) 0
[INFO] CHEEVOS RTC:        (nil) 0
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 59.94 Hz, Game = 50.00 Hz)
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Starting threaded video driver ...
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_OML_sync_control and GLX_MESA_swap_control supported, using better swap control method...
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 1024x768.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1024, H = 768.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GLX]: glXSwapIntervalEXT(1)
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Bay Trail .
[INFO] [GL]: Version: 3.0 Mesa 17.2.6.
[INFO] [GL]: Using resolution 1024x768
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[INFO] Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Mask brightness (MASK_BRIGHTNESS) 0.700000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Scanline weight (SCANLINE_WEIGHT) 6.000000 0.000000 15.000000 0.100000
[INFO] Found #pragma parameter Scanline gap brightness (SCANLINE_GAP_BRIGHTNESS) 0.120000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Bloom factor (BLOOM_FACTOR) 1.500000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Input gamma (INPUT_GAMMA) 2.400000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Output gamma (OUTPUT_GAMMA) 2.200000 0.000000 5.000000 0.010000
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [udev]: Plugged pad: Logitech Logitech(R) Precision(TM) Gamepad (1133:49690) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event7) supports 0 force feedback effects.
[INFO] [Autoconf]: 187 profiles found.
[INFO] [Autoconf]: selected configuration: /usr/share/retroarch/autoconfig/udev/Logitech_Precision_Gamepad.cfg
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [ALSA]: Using signed 16-bit format.
[INFO] [ALSA]: Period size: 1024 frames
[INFO] [ALSA]: Buffer size: 3072 frames
[INFO] [ALSA]: Can pause: no.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Mask brightness (MASK_BRIGHTNESS) 0.700000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Scanline weight (SCANLINE_WEIGHT) 6.000000 0.000000 15.000000 0.100000
[INFO] Found #pragma parameter Scanline gap brightness (SCANLINE_GAP_BRIGHTNESS) 0.120000 0.000000 1.000000 0.010000
[INFO] Found #pragma parameter Bloom factor (BLOOM_FACTOR) 1.500000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Input gamma (INPUT_GAMMA) 2.400000 0.000000 5.000000 0.010000
[INFO] Found #pragma parameter Output gamma (OUTPUT_GAMMA) 2.200000 0.000000 5.000000 0.010000
[INFO] Loading history file: [/home/pippo/content_history.lpl].
[INFO] Loading history file: [/home/pippo/content_favorites.lpl].
[INFO] Loading history file: [/home/pippo/content_music_history.lpl].
[INFO] Loading history file: [/home/pippo/content_video_history.lpl].
[INFO] Loading history file: [/home/pippo/content_image_history.lpl].
First time we return from retro_run()!
[INFO] Environ GET_VARIABLE vice_Statusbar:
[INFO] 	disabled
[INFO] Environ GET_VARIABLE vice_Drive8Type:
[INFO] 	1542
[INFO] Environ GET_VARIABLE vice_DriveTrueEmulation:
[INFO] 	disabled
[INFO] Environ GET_VARIABLE vice_SidModel:
[INFO] 	6581F
[INFO] Environ GET_VARIABLE vice_C64Model:
[INFO] 	C64MODEL_UNKNOWN
[INFO] Environ GET_VARIABLE vice_RetroJoy:
[INFO] 	enabled
[INFO] Environ GET_VARIABLE vice_Controller:
[INFO] 	joystick
[INFO] Environ GET_VARIABLE vice_mapper_y:
[INFO] 	RETROK_F9
[INFO] Environ GET_VARIABLE vice_mapper_x:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_b:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_l:
[INFO] 	RETROK_ESCAPE
[INFO] Environ GET_VARIABLE vice_mapper_r:
[INFO] 	RETROK_RETURN
[INFO] Environ GET_VARIABLE vice_mapper_l2:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_r2:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_l3:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_r3:
[INFO] 	RETROK_EURO
[INFO] Environ GET_VARIABLE vice_mapper_start:
[INFO] 	RETROK_SPACE
 0  x64
 1  /home/pippo/EMU/C64/prg/n/nebulus.prg
bootp:(/home/pippo/EMU/C64/prg/n//data)
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap embedded libretro...
loading default retro keymap start:
done!
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap embedded libretro...
loading default retro keymap start:
done!
HW scale not available, forcing to disabled
Reading configuration file `/home/pippo/.vice/vicerc'.
Error - Unknown resource `WindowTopHint'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 2.
Error - Unknown resource `WindowBotHint'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 3.
Error - Unknown resource `ConfirmOnExit'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 4.
Error - Unknown resource `Window0Width'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 5.
Error - Unknown resource `Window0Height'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 6.
Error - Unknown resource `Window0Xpos'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 7.
Error - Unknown resource `Window0Ypos'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 8.
HW scale not available, forcing to disabled
Error - Unknown resource `Acia1Base'.
Warning - /home/pippo/.vice/vicerc: Unknown resource specification at line 21.
canvas width wants to be : 0
canvas height wants to be : 0
canvas depth wants to be : 0
canvas set to 0 x 0 :16
d0 -> /home/pippo/.vice/autostart-C64.d64
[INFO] Environ SET_GEOMETRY.
[INFO] SET_GEOMETRY: 384x272, aspect: 1.333.
Update Geometry Old(1024,768) New(384,272)
[INFO] Paused.
[INFO] Unpaused.
[INFO] [Config]: Saved new config to "/home/pippo/.config/retroarch/retroarch.cfg".
free surf format palette color
free surf format palette 
free surf format  
free surf pixel  
free surfscreen
[INFO] Saved core options file to "/home/pippo/.config/retroarch/retroarch-core-options.cfg"
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [XINERAMA]: Saved monitor #0.
[INFO] Threaded video stats: Frames pushed: 1392, Frames dropped: 34.
[INFO] [Audio]: Average audio buffer saturation: 56.68 %, standard deviation (percentage points): 10.04 %.
[INFO] [Audio]: Amount of time spent close to underrun: 0.05 %. Close to blocking: 0.73 %.
[INFO] [Audio]: Average audio buffer saturation: 56.68 %, standard deviation (percentage points): 10.04 %.
[INFO] [Audio]: Amount of time spent close to underrun: 0.05 %. Close to blocking: 0.73 %.

I also have tried to run retroarch on a new user with clean configuration but i can't solved.

@r-type
Copy link

r-type commented Dec 15, 2017

if you want play with keyboard , choose vice keyboard from controller option instead of joypad.
or in menu core option choose vice_Controller: to keyboard.

@lodgerz
Copy link
Author

lodgerz commented Dec 15, 2017

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.
then i "SOLVED" setting "Retro joy0: OFF" on core option and using numpad (arrow keys doesn't work) + Ctrl Right for Fire.

@tukicat
Copy link

tukicat commented Jan 4, 2018

@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.

@ghost
Copy link

ghost commented Apr 4, 2018

Put me down for this issue too, using Debian Linux 9 64-bit with RA 1.7.2 and was trying to play Ultimate Wizard but ran into this exact problem. Also the left arrow key sometimes doesn't respond as well. This is the case regardless of if Game Focus Mode is on or off.

I'm guessing some things are hard mapped to the keyboard that can't be edited with this core? When using an actual controller, all the buttons I mapped in RA work perfectly fine, but when using the keyboard to emulate a controller as per the Input Settings, I experience the same problem.

It's worth noting though that my keyboard isn't USB though, but PS/2.

Edit: Changed controls to Vice Keyboard, even tried editing the following, still no luck. Please advise
2018-04-03--231931_1600x900

@rhester72
Copy link

On my RetroPie build with the latest source, up arrow results in LOAD, not RUN/STOP, but all other arrow keys function as expected.

@fturioni
Copy link

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.

@Gazdaman
Copy link

I think Run/Stop is also mapped to the wrong key in the virtual keyboard.
Virtual keyboard "Ctrl" is actually Run/Stop key meaning others may be messed up

@barcoboy
Copy link

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.

@sneaker333
Copy link

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.

@rsn8887
Copy link
Collaborator

rsn8887 commented Jul 25, 2019

I think this might be fixed in tomorrow’s nightly with my merged PR #73. Please report if this issue can now be closed.

rsn8887 added a commit to rsn8887/vice-libretro that referenced this issue Jul 25, 2019
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.
rsn8887 added a commit to rsn8887/vice-libretro that referenced this issue Jul 25, 2019
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.
@rsn8887
Copy link
Collaborator

rsn8887 commented Jul 25, 2019

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.
Options made obsolete buy properly using quickmenu->controls:

  • Retro joy0
  • Controller0 type

rsn8887 added a commit to rsn8887/vice-libretro that referenced this issue Jul 30, 2019
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants