Changes between Version 2 and Version 3 of Ticket #14732, comment 24


Ignore:
Timestamp:
Nov 27, 2023, 6:17:00 PM (6 months ago)
Author:
angstsmurf

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14732, comment 24

    v2 v3  
    11>Being that those are system keys, I don't think they are ever being received by the ScummVM backend, so those would just be unusable as well
    22
    3 I'm not familiar with the ScummVM code, and I realise that there are usability problems with capturing system keys. However, SDL will report the Command/Windows key as `SDLK_LGUI` (EDIT: returned as `Common::KEYCODE_LSUPER` in `sdl-events.cpp` in ScummVM), and the cross-platform Mac emulators discussed above use it to emulate the Mac Option key, so it is probably not too hard to implement if we wanted to. Not that I'm volunteering.
     3I'm not familiar with the ScummVM code, and I realise that there are usability problems with capturing system keys. However, SDL will report the Command/Windows key as `SDLK_LGUI` (EDIT: returned as `Common::KEYCODE_LSUPER` by `SdlEventSource::SDLToOSystemKeycode()` in ScummVM), and the cross-platform Mac emulators discussed above use it to emulate the Mac Option key, so it is probably not too hard to implement if we wanted to. Not that I'm volunteering.