Updated SDL3 scancode list
This adds more app editing and audio control keys and removes keys that launch applications Work in progress on https://github.com/libsdl-org/SDL/issues/6390
This commit is contained in:
@@ -904,6 +904,19 @@ SDL_Keycode is now Uint32 and the SDLK_* constants are now defines instead of an
|
||||
The following symbols have been removed:
|
||||
|
||||
* KMOD_RESERVED - No replacement. A bit named "RESERVED" probably shouldn't be used in an app, but if you need it, this was equivalent to KMOD_SCROLL (0x8000) in SDL2.
|
||||
* SDLK_WWW
|
||||
* SDLK_MAIL
|
||||
* SDLK_CALCULATOR
|
||||
* SDLK_COMPUTER
|
||||
* SDLK_BRIGHTNESSDOWN
|
||||
* SDLK_BRIGHTNESSUP
|
||||
* SDLK_DISPLAYSWITCH
|
||||
* SDLK_KBDILLUMTOGGLE
|
||||
* SDLK_KBDILLUMDOWN
|
||||
* SDLK_KBDILLUMUP
|
||||
* SDLK_APP1
|
||||
* SDLK_APP2
|
||||
|
||||
|
||||
The following symbols have been renamed:
|
||||
* KMOD_ALT => SDL_KMOD_ALT
|
||||
@@ -923,7 +936,16 @@ The following symbols have been renamed:
|
||||
* KMOD_RSHIFT => SDL_KMOD_RSHIFT
|
||||
* KMOD_SCROLL => SDL_KMOD_SCROLL
|
||||
* KMOD_SHIFT => SDL_KMOD_SHIFT
|
||||
* SDLK_AUDIOFASTFORWARD => SDLK_MEDIA_FAST_FORWARD
|
||||
* SDLK_AUDIOMUTE => SDLK_MUTE
|
||||
* SDLK_AUDIONEXT => SDLK_MEDIA_NEXT_TRACK
|
||||
* SDLK_AUDIOPLAY => SDLK_MEDIA_PLAY
|
||||
* SDLK_AUDIOPREV => SDLK_MEDIA_PREVIOUS_TRACK
|
||||
* SDLK_AUDIOREWIND => SDLK_MEDIA_REWIND
|
||||
* SDLK_AUDIOSTOP => SDLK_MEDIA_STOP
|
||||
* SDLK_BACKQUOTE => SDLK_GRAVE
|
||||
* SDLK_EJECT => SDLK_MEDIA_EJECT
|
||||
* SDLK_MEDIASELECT => SDLK_MEDIA_SELECT
|
||||
* SDLK_QUOTE => SDLK_APOSTROPHE
|
||||
* SDLK_QUOTEDBL => SDLK_DBLAPOSTROPHE
|
||||
|
||||
@@ -1415,6 +1437,33 @@ The following functions have been renamed:
|
||||
The following structures have been renamed:
|
||||
* SDL_RWops => SDL_IOStream
|
||||
|
||||
## SDL_scancode.h
|
||||
|
||||
The following symbols have been removed:
|
||||
* SDL_SCANCODE_WWW
|
||||
* SDL_SCANCODE_MAIL
|
||||
* SDL_SCANCODE_CALCULATOR
|
||||
* SDL_SCANCODE_COMPUTER
|
||||
* SDL_SCANCODE_BRIGHTNESSDOWN
|
||||
* SDL_SCANCODE_BRIGHTNESSUP
|
||||
* SDL_SCANCODE_DISPLAYSWITCH
|
||||
* SDL_SCANCODE_KBDILLUMTOGGLE
|
||||
* SDL_SCANCODE_KBDILLUMDOWN
|
||||
* SDL_SCANCODE_KBDILLUMUP
|
||||
* SDL_SCANCODE_APP1
|
||||
* SDL_SCANCODE_APP2
|
||||
|
||||
The following symbols have been renamed:
|
||||
* SDL_SCANCODE_AUDIOFASTFORWARD => SDL_SCANCODE_MEDIA_FAST_FORWARD
|
||||
* SDL_SCANCODE_AUDIOMUTE => SDL_SCANCODE_MUTE
|
||||
* SDL_SCANCODE_AUDIONEXT => SDL_SCANCODE_MEDIA_NEXT_TRACK
|
||||
* SDL_SCANCODE_AUDIOPLAY => SDL_SCANCODE_MEDIA_PLAY
|
||||
* SDL_SCANCODE_AUDIOPREV => SDL_SCANCODE_MEDIA_PREVIOUS_TRACK
|
||||
* SDL_SCANCODE_AUDIOREWIND => SDL_SCANCODE_MEDIA_REWIND
|
||||
* SDL_SCANCODE_AUDIOSTOP => SDL_SCANCODE_MEDIA_STOP
|
||||
* SDL_SCANCODE_EJECT => SDL_SCANCODE_MEDIA_EJECT
|
||||
* SDL_SCANCODE_MEDIASELECT => SDL_SCANCODE_MEDIA_SELECT
|
||||
|
||||
## SDL_sensor.h
|
||||
|
||||
SDL_SensorID has changed from Sint32 to Uint32, with an invalid ID being 0.
|
||||
|
||||
Reference in New Issue
Block a user