|
Study Dungeon
1.0.0
A group project for COSC345
|
mapping of character codes recieved by getch on key press to their keyboard name for easy reference. More...
Variables | |
| const int | key_enter {13} |
| const int | key_backspace {8} |
| const int | key_esc {27} |
| const int | key_space {32} |
| const int | arrow_prefix {224} |
| const int | numlock {0} |
| const int | key_up {72} |
| const int | key_down {80} |
| const int | key_left {75} |
| const int | key_right {77} |
| const std::string | ESC {"\x1b"} |
mapping of character codes recieved by getch on key press to their keyboard name for easy reference.
| const int key::arrow_prefix {224} |
key code for if an arrow has been pressed
| const std::string key::ESC {"\x1b"} |
escape sequence for virtual terminal sequences
| const int key::key_backspace {8} |
key code for backspace
| const int key::key_down {80} |
key code for down arrow
| const int key::key_enter {13} |
key code for enter
| const int key::key_esc {27} |
key code for escape
| const int key::key_left {75} |
key code for down arrow
| const int key::key_right {77} |
key code for right arrow
| const int key::key_space {32} |
key code for space
| const int key::key_up {72} |
key code for up arrow
| const int key::numlock {0} |
key code for if an arrow is pressed but numlock is on