Scancode
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Scancode.type
Members list
Value members
Concrete fields
< AC Bookmarks
< AC Bookmarks
Attributes
< AC Properties
< AC Properties
Attributes
< Channel Decrement
< Channel Decrement
Attributes
< Channel Increment
< Channel Increment
Attributes
< Used for accepting phone calls.
< Used for accepting phone calls.
Attributes
Located in the top left corner (on both ANSI and ISO keyboards). Produces GRAVE ACCENT and TILDE in a US Windows layout and in US and UK Mac layouts on ANSI keyboards, GRAVE ACCENT and NOT SIGN in a UK Windows layout, SECTION SIGN and PLUS-MINUS SIGN in US and UK Mac layouts on ISO keyboards, SECTION SIGN and DEGREE SIGN in a Swiss German layout (Mac: only on ISO keyboards), CIRCUMFLEX ACCENT and DEGREE SIGN in a German layout (Mac: only on ISO keyboards), SUPERSCRIPT TWO and TILDE in a French Windows layout, COMMERCIAL AT and NUMBER SIGN in a French Mac layout on ISO keyboards, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French Mac layout on ANSI keyboards.
Located in the top left corner (on both ANSI and ISO keyboards). Produces GRAVE ACCENT and TILDE in a US Windows layout and in US and UK Mac layouts on ANSI keyboards, GRAVE ACCENT and NOT SIGN in a UK Windows layout, SECTION SIGN and PLUS-MINUS SIGN in US and UK Mac layouts on ISO keyboards, SECTION SIGN and DEGREE SIGN in a Swiss German layout (Mac: only on ISO keyboards), CIRCUMFLEX ACCENT and DEGREE SIGN in a German layout (Mac: only on ISO keyboards), SUPERSCRIPT TWO and TILDE in a French Windows layout, COMMERCIAL AT and NUMBER SIGN in a French Mac layout on ISO keyboards, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French Mac layout on ANSI keyboards.
Attributes
insert on PC, help on some Mac keyboards (but does send code 73, not 117)
insert on PC, help on some Mac keyboards (but does send code 73, not 117)
Attributes
< used on Asian keyboards, see footnotes in USB doc
< used on Asian keyboards, see footnotes in USB doc
Attributes
< Yen
< Yen
Attributes
< num lock on PC, clear on Mac keyboards
< num lock on PC, clear on Mac keyboards
Attributes
< The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.
< The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.
Attributes
< Eject
< Eject
Attributes
< Fast Forward
< Fast Forward
Attributes
< Next Track
< Next Track
Attributes
< Pause
< Pause
Attributes
< Play / Pause
< Play / Pause
Attributes
< Previous Track
< Previous Track
Attributes
< Record
< Record
Attributes
< Rewind
< Rewind
Attributes
< I'm not sure if this is really not covered by any of the above, but since there's a special SDL_KMOD_MODE for it I'm adding it here
< I'm not sure if this is really not covered by any of the above, but since there's a special SDL_KMOD_MODE for it I'm adding it here
Attributes
This is the additional key that ISO keyboards have over ANSI ones, located between left shift and Y. Produces GRAVE ACCENT and TILDE in a US or UK Mac layout, REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US or UK Windows layout, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French layout.
This is the additional key that ISO keyboards have over ANSI ones, located between left shift and Y. Produces GRAVE ACCENT and TILDE in a US or UK Mac layout, REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US or UK Windows layout, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French layout.
Attributes
ISO USB keyboards actually use this code instead of 49 for the same key, but all OSes I've seen treat the two codes identically. So, as an implementor, unless your keyboard generates both of those codes and your OS treats them differently, you should generate case BACKSLASH extends Scancode(instead)of this code. As a user, you should not rely on this code because SDL will never generate it with most (all?) keyboards.
ISO USB keyboards actually use this code instead of 49 for the same key, but all OSes I've seen treat the two codes identically. So, as an implementor, unless your keyboard generates both of those codes and your OS treats them differently, you should generate case BACKSLASH extends Scancode(instead)of this code. As a user, you should not rely on this code because SDL will never generate it with most (all?) keyboards.
Attributes
< windows contextual menu, compose
< windows contextual menu, compose
Attributes
Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row on ANSI keyboards. Produces REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US layout, REVERSE SOLIDUS and VERTICAL LINE in a UK Mac layout, NUMBER SIGN and TILDE in a UK Windows layout, DOLLAR SIGN and POUND SIGN in a Swiss German layout, NUMBER SIGN and APOSTROPHE in a German layout, GRAVE ACCENT and POUND SIGN in a French Mac layout, and ASTERISK and MICRO SIGN in a French Windows layout.
Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row on ANSI keyboards. Produces REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US layout, REVERSE SOLIDUS and VERTICAL LINE in a UK Mac layout, NUMBER SIGN and TILDE in a UK Windows layout, DOLLAR SIGN and POUND SIGN in a Swiss German layout, NUMBER SIGN and APOSTROPHE in a German layout, GRAVE ACCENT and POUND SIGN in a French Mac layout, and ASTERISK and MICRO SIGN in a French Windows layout.
Attributes
< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom left of the display.
< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom left of the display.
Attributes
< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom right of the display.
< Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom right of the display.