NAME
SDL2::keycode - Defines Constants Which Identify Keyboard Keys and Modifiers
SYNOPSIS
use SDL2 qw[:keycode];
DESCRIPTION
The SDL virtual key representation.
Defines and Enumerations
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 an SDLK_*
constant for those keys that do not generate characters.
A special exception is the number keys at the top of the keyboard which always map to SDLK_0
...SDLK_9
, regardless of layout.
SDL_KeyCode
These may be imported with the :keyCode
tag.
SDLK_UNKNOWN
SDLK_RETURN
SDLK_ESCAPE
SDLK_BACKSPACE
SDLK_TAB
SDLK_SPACE
SDLK_EXCLAIM
SDLK_QUOTEDBL
SDLK_HASH
SDLK_PERCENT
SDLK_DOLLAR
SDLK_AMPERSAND
SDLK_QUOTE
SDLK_LEFTPAREN
SDLK_RIGHTPAREN
SDLK_ASTERISK
SDLK_PLUS
SDLK_COMMA
SDLK_MINUS
SDLK_PERIOD
SDLK_SLASH
SDLK_0
SDLK_1
SDLK_2
SDLK_3
SDLK_4
SDLK_5
SDLK_6
SDLK_7
SDLK_8
SDLK_9
SDLK_COLON
SDLK_SEMICOLON
SDLK_LESS
SDLK_EQUALS
SDLK_GREATER
SDLK_QUESTION
SDLK_AT
SDLK_LEFTBRACKET
SDLK_BACKSLASH
SDLK_RIGHTBRACKET
SDLK_CARET
SDLK_UNDERSCORE
SDLK_BACKQUOTE
SDLK_a
SDLK_b
SDLK_c
SDLK_d
SDLK_e
SDLK_f
SDLK_g
SDLK_h
SDLK_i
SDLK_j
SDLK_k
SDLK_l
SDLK_m
SDLK_n
SDLK_o
SDLK_p
SDLK_q
SDLK_r
SDLK_s
SDLK_t
SDLK_u
SDLK_v
SDLK_w
SDLK_x
SDLK_y
SDLK_z
SDLK_CAPSLOCK
SDLK_F1
SDLK_F2
SDLK_F3
SDLK_F4
SDLK_F5
SDLK_F6
SDLK_F7
SDLK_F8
SDLK_F9
SDLK_F10
SDLK_F11
SDLK_F12
SDLK_PRINTSCREEN
SDLK_S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P_XOR
SDLK_KP_POWER
SDLK_KP_PERCENT
SDLK_KP_LESS
SDLK_KP_GREATER
SDLK_KP_AMPERSAND
SDLK_KP_DBLAMPERSAND
SDLK_KP_VERTICALBAR
SDLK_KP_DBLVERTICALBAR
SDLK_KP_COLON
SDLK_KP_HASH
SDLK_KP_SPACE
SDLK_KP_AT
SDLK_KP_EXCLAM
SDLK_KP_MEMSTORE
SDLK_KP_MEMRECALL
SDLK_KP_MEMCLEAR
SDLK_KP_MEMADD
SDLK_KP_MEMSUBTRACT
SDLK_KP_MEMMULTIPLY
SDLK_KP_MEMDIVIDE
SDLK_KP_PLUSMINUS
SDLK_KP_CLEAR
SDLK_KP_CLEARENTRY
SDLK_KP_BINARY
SDLK_KP_OCTAL
SDLK_KP_DECIMAL
SDLK_KP_HEXADECIMAL
SDLK_LCTRL
SDLK_LSHIFT
SDLK_LALT
SDLK_LGUI
SDLK_RCTRL
SDLK_RSHIFT
SDLK_RALT
SDLK_RGUI
SDLK_MODE
SDLK_AUDIONEXT
SDLK_AUDIOPREV
SDLK_AUDIOSTOP
SDLK_AUDIOPLAY
SDLK_AUDIOMUTE
SDLK_MEDIASELECT
SDLK_WWW
SDLK_MAIL
SDLK_CALCULATOR
SDLK_COMPUTER
SDLK_AC_SEARCH
SDLK_AC_HOME
SDLK_AC_BACK
SDLK_AC_FORWARD
SDLK_AC_STOP
SDLK_AC_REFRESH
SDLK_AC_BOOKMARKS
SDLK_BRIGHTNESSDOWN
SDLK_BRIGHTNESSUP
SDLK_DISPLAYSWITCH
SDLK_KBDILLUMTOGGLE
SDLK_KBDILLUMDOWN
SDLK_KBDILLUMUP
SDLK_EJECT
SDLK_SLEEP
SDLK_APP1
SDLK_APP2
SDLK_AUDIOREWIND
SDLK_AUDIOFASTFORWARD
SDL_Keymod
Enumeration of valid key mods (possibly OR'd together). These may be imported with the :keymod
tag.
KMOD_NONE
KMOD_LSHIFT
KMOD_RSHIFT
KMOD_LCTRL
KMOD_RCTRL
KMOD_LALT
KMOD_RALT
KMOD_LGUI
KMOD_RGUI
KMOD_NUM
KMOD_CAPS
KMOD_MODE
KMOD_RESERVED
KMOD_CTRL
KMOD_SHIFT
KMOD_ALT
KMOD_GUI
LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
AUTHOR
Sanko Robinson <sanko@cpan.org>