THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
The SDL virtual key representation.
<<Include(SDL_ScancodeAndKeycode, , , from="##Start include here.", to="##End include here.")>>
//checks if a key is being remapped and prints what the remapping is if(event->key.keysym.scancode != SDL_GetScancodeFromKey(event->key.keysym.sym)) "Physical %s key acting as %s key", printf( SDL_GetScancodeName(event->key.keysym.scancode), SDL_GetKeyName(event->key.keysym.sym));
Values of this type (also known as keycodes or keysyms) are mapped to the current layout of the keyboard and correlate to an SDL_Scancode. The scancode identifies the location of a key press and the corresponding SDL_Keycode gives that key press meaning in the context of the current keyboard layout.
Values of this type are used to represent keyboard keys using the current layout of the keyboard. These values include Unicode values representing the unmodified character that would be generated by pressing the key, or other constants for those keys that do not generate characters.
To look up a scancode or keycode by decimal or hexadecimal value you can use the following tables:
CategoryEnum, CategoryKeyboard, CategoryDraft