dosbox-staging / dosbox-staging

DOSBox Staging is a modern continuation of DOSBox with advanced features and current development practices.
https://www.dosbox-staging.org/
Other
1.31k stars 156 forks source link

"MAPPER: Can't find key binding for key_rctrl event" log warning on macOS #1887

Closed Burrito78 closed 2 years ago

Burrito78 commented 2 years ago

Are you using the latest Dosbox-Staging Version?

Different version than latest?

Latest DEV

What Operating System are you using?

Mac OS

If Other OS, please describe

No response

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

A warning is shown in the log with a fresh config on macOS:

MAPPER: Can't find key binding for key_rctrl event

Bildschirmfoto 2022-08-28 um 13 07 14

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Delete dosbox-staging.conf
  2. Start latest DEV version

Your configuration

Default config.

Provide a Log

No response

Code of Conduct & Contributing Guidelines

kcgen commented 2 years ago

Pushed a small commit that excludes binding the right control key under macOS.

I suppose prior versions just silently continued, but this warning makes sense because macOS systems don't have a right control key:

keys_trackpad_hw__cxk879lntgmu_medium_2x 0

Tentatively closing.

Burrito78 commented 2 years ago

@kcgen This is still happening for me on both the Mac mini (Catalina) and the Macbook Pro (Big Sur).

2022-09-06 09:54:35.101 | arguments: /Applications/DOSBox\ Staging.app/Contents/MacOS/dosbox
2022-09-06 09:54:35.101 | Current dir: /Users/alex
2022-09-06 09:54:35.101 | stderr verbosity: 0
2022-09-06 09:54:35.101 | -----------------------------------
2022-09-06 09:54:35.103 | dosbox-staging version 0.79.0-alpha-1259-g1bea16ed93
2022-09-06 09:54:35.103 | ---
2022-09-06 09:54:35.103 | LOG: Loguru version 2.1.0 initialized
2022-09-06 09:54:35.247 | SDL: version 2.24.0 initialized (cocoa video and coreaudio audio)
2022-09-06 09:54:35.249 | CONFIG: Loaded primary conf file /Users/alex/Library/Preferences/DOSBox/dosbox-staging.conf
2022-09-06 09:54:35.250 | RENDER: Using GLSL shader 'sharp'
2022-09-06 09:54:35.252 | DISPLAY: Initialized 1184x888 window-mode using Bilinear scaling on 1200p display-0
2022-09-06 09:54:35.305 | OPENGL: Vendor: Intel Inc.
2022-09-06 09:54:35.305 | OPENGL: Version: 2.1 INTEL-14.7.28
2022-09-06 09:54:35.305 | OPENGL: GLSL version: 1.20
2022-09-06 09:54:35.305 | OPENGL: Pixel buffer object: available
2022-09-06 09:54:35.305 | OPENGL: NPOT textures: supported
2022-09-06 09:54:35.306 | SDL: Mouse will move seamlessly: left and right button clicks won't capture the mouse
2022-09-06 09:54:35.306 | SDL: Middle mouse button will capture/release the mouse (clicks not sent to the game/program)
2022-09-06 09:54:35.308 | LANG: Loaded language file: /Applications/DOSBox Staging.app/Contents/MacOS/../Resources/translations/de.lng
2022-09-06 09:54:35.308 | VIDEO: Using the DOS video mode's frame rate
2022-09-06 09:54:35.373 | MEMORY: Base address: 0x110f39000
2022-09-06 09:54:35.373 | MEMORY: Using 4096 DOS memory pages (16 MiB)
2022-09-06 09:54:35.376 | VIDEO: Initialized S3 Trio64 VESA 2.0 compatible with 4-MiB of FP DRAM supporting 86 modes
2022-09-06 09:54:35.813 | MIXER: Negotiated 2-channel 48000-Hz audio in 512-frame blocks
2022-09-06 09:54:35.813 | MIXER: Reverb disabled
2022-09-06 09:54:35.813 | MIXER: Chorus disabled
2022-09-06 09:54:35.813 | MIXER: Master compressor enabled
2022-09-06 09:54:35.825 | MIDI: Opened device: coreaudio
2022-09-06 09:54:35.826 | OPL: Operating at 48000 Hz without resampling
2022-09-06 09:54:35.826 | OPL: Mode: OPL3
2022-09-06 09:54:35.826 | SB16: Sound Blaster 16 OPL output filter enabled
2022-09-06 09:54:35.826 | SB: Operating at 22050 Hz and upsampling to the output rate
2022-09-06 09:54:35.826 | SB16: Running on port 220h, irq=7, dma8=1, dma16=5
2022-09-06 09:54:35.826 | SB16: @SET BLASTER=A220 I7 D1 H5 T6
2022-09-06 09:54:35.827 | PCSPEAKER: Operating at 48000 Hz without resampling
2022-09-06 09:54:35.827 | PCSPEAKER: Initialized discrete model
2022-09-06 09:54:35.827 | PCSPEAKER: Highpass filter enabled (18 dB/oct at 120 Hz)
2022-09-06 09:54:35.827 | PCSPEAKER: Lowpass filter enabled (12 dB/oct at 4800 Hz)
2022-09-06 09:54:35.828 | MOUSE (PS/2): Standard, 3 buttons
2022-09-06 09:54:35.838 | SDL: Using standard SDI (auto) display refresh rate of 60 Hz
2022-09-06 09:54:35.838 | DISPLAY: Text 640x400 (3h) at 70.087 Hz VFR, scaled by 1.9x2.2 to 1184x888 with 1.2 pixel-aspect
2022-09-06 09:54:36.450 | LAYOUT: Loaded codepage 850 for detected language de
2022-09-06 09:54:36.451 | SLIRP: Slirp version: 4.6.1
2022-09-06 09:54:36.451 | SLIRP: Successfully initialized
2022-09-06 09:54:36.451 | NE2000: Base=0x300 irq=3
2022-09-06 09:54:36.451 | AUTOEXEC: Using autoexec from one or more joined sections
2022-09-06 09:54:36.453 | CONFIG: Loaded drive conf file /Applications/DOSBox Staging.app/Contents/MacOS/../Resources/drives/y.conf
2022-09-06 09:54:36.456 | MAPPER: no joysticks found
2022-09-06 09:54:36.457 | MAPPER: Can't find key binding for key_rctrl event
2022-09-06 09:54:36.457 | MAPPER: Loaded default key bindings
2022-09-06 09:54:36.461 | MOUNT: Path '/Users/alex/DOSBox' found, while looking for '~/dosbox'
2022-09-06 09:54:36.464 | SHELL: Redirect output to NUL
2022-09-06 09:54:36.465 | MOUNT: Path '/Applications/DOSBox Staging.app/Contents/Resources/drives/y' found
Grounded0 commented 2 years ago

Have tried to generate a new keymapper file and see if that problem is still repeated there? File is mapper-v2.map. Remember to backup old one and then remove it.

Burrito78 commented 2 years ago

There is no .map file on my system. Maybe i would need to map something first for it to exist?

Grounded0 commented 2 years ago

If you don't have a mapper file in ~/Library/Preferences/DOSBox then you're running default keymap and yet the warning still pops up.

Grounded0 commented 2 years ago
Screenshot 2022-09-09 at 0 22 10

Happens on latest main with default keymap.