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


Ignore:
Timestamp:
Nov 27, 2023, 6:34:10 PM (5 months ago)
Author:
angstsmurf

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14732, comment 24

    v3 v4  
    22
    33I'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.
     4
     5EDIT 2: I just tried adding some lines to the Scumm engine to print a console message every time the Command key is pressed (`event.kbd.keycode == Common::KEYCODE_LSUPER`), and it worked just fine.