Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
KeyCodes.h File Reference

Defines key codes for keyboard input. These key codes are based on the GLFW library's key codes and are used for input handling within the Muto engine. More...

Go to the source code of this file.

Namespaces

namespace  Muto
 The main namespace for the Muto engine.
 
namespace  Muto::Key
 Namespace for keyboard key codes.
 

Typedefs

using Muto::KeyCode = uint16_t
 Alias for keyboard key code type.
 

Enumerations

enum  : KeyCode {
  Muto::Key::Space = 32 , Muto::Key::Apostrophe = 39 , Muto::Key::Comma = 44 , Muto::Key::Minus = 45 ,
  Muto::Key::Period = 46 , Muto::Key::Slash = 47 , Muto::Key::D0 = 48 , Muto::Key::D1 = 49 ,
  Muto::Key::D2 = 50 , Muto::Key::D3 = 51 , Muto::Key::D4 = 52 , Muto::Key::D5 = 53 ,
  Muto::Key::D6 = 54 , Muto::Key::D7 = 55 , Muto::Key::D8 = 56 , Muto::Key::D9 = 57 ,
  Muto::Key::Semicolon = 59 , Muto::Key::Equal = 61 , Muto::Key::A = 65 , Muto::Key::B = 66 ,
  Muto::Key::C = 67 , Muto::Key::D = 68 , Muto::Key::E = 69 , Muto::Key::F = 70 ,
  Muto::Key::G = 71 , Muto::Key::H = 72 , Muto::Key::I = 73 , Muto::Key::J = 74 ,
  Muto::Key::K = 75 , Muto::Key::L = 76 , Muto::Key::M = 77 , Muto::Key::N = 78 ,
  Muto::Key::O = 79 , Muto::Key::P = 80 , Muto::Key::Q = 81 , Muto::Key::R = 82 ,
  Muto::Key::S = 83 , Muto::Key::T = 84 , Muto::Key::U = 85 , Muto::Key::V = 86 ,
  Muto::Key::W = 87 , Muto::Key::X = 88 , Muto::Key::Y = 89 , Muto::Key::Z = 90 ,
  Muto::Key::LeftBracket = 91 , Muto::Key::Backslash = 92 , Muto::Key::RightBracket = 93 , Muto::Key::GraveAccent = 96 ,
  Muto::Key::World1 = 161 , Muto::Key::World2 = 162 , Muto::Key::Escape = 256 , Muto::Key::Enter = 257 ,
  Muto::Key::Tab = 258 , Muto::Key::Backspace = 259 , Muto::Key::Insert = 260 , Muto::Key::Delete = 261 ,
  Muto::Key::Right = 262 , Muto::Key::Left = 263 , Muto::Key::Down = 264 , Muto::Key::Up = 265 ,
  Muto::Key::PageUp = 266 , Muto::Key::PageDown = 267 , Muto::Key::Home = 268 , Muto::Key::End = 269 ,
  Muto::Key::CapsLock = 280 , Muto::Key::ScrollLock = 281 , Muto::Key::NumLock = 282 , Muto::Key::PrintScreen = 283 ,
  Muto::Key::Pause = 284 , Muto::Key::F1 = 290 , Muto::Key::F2 = 291 , Muto::Key::F3 = 292 ,
  Muto::Key::F4 = 293 , Muto::Key::F5 = 294 , Muto::Key::F6 = 295 , Muto::Key::F7 = 296 ,
  Muto::Key::F8 = 297 , Muto::Key::F9 = 298 , Muto::Key::F10 = 299 , Muto::Key::F11 = 300 ,
  Muto::Key::F12 = 301 , Muto::Key::F13 = 302 , Muto::Key::F14 = 303 , Muto::Key::F15 = 304 ,
  Muto::Key::F16 = 305 , Muto::Key::F17 = 306 , Muto::Key::F18 = 307 , Muto::Key::F19 = 308 ,
  Muto::Key::F20 = 309 , Muto::Key::F21 = 310 , Muto::Key::F22 = 311 , Muto::Key::F23 = 312 ,
  Muto::Key::F24 = 313 , Muto::Key::F25 = 314 , Muto::Key::KP_0 = 320 , Muto::Key::KP_1 = 321 ,
  Muto::Key::KP_2 = 322 , Muto::Key::KP_3 = 323 , Muto::Key::KP_4 = 324 , Muto::Key::KP_5 = 325 ,
  Muto::Key::KP_6 = 326 , Muto::Key::KP_7 = 327 , Muto::Key::KP_8 = 328 , Muto::Key::KP_9 = 329 ,
  Muto::Key::KP_DECIMAL = 330 , Muto::Key::KP_DIVIDE = 331 , Muto::Key::KP_MULTIPLY = 332 , Muto::Key::KP_SUBTRACT = 333 ,
  Muto::Key::KP_ADD = 334 , Muto::Key::KP_ENTER = 335 , Muto::Key::KP_EQUAL = 336 , Muto::Key::LeftShift = 340 ,
  Muto::Key::LeftControl = 341 , Muto::Key::LeftAlt = 342 , Muto::Key::LeftSuper = 343 , Muto::Key::RightShift = 344 ,
  Muto::Key::RightControl = 345 , Muto::Key::RightAlt = 346 , Muto::Key::RightSuper = 347 , Muto::Key::Menu = 348
}
 Enumeration of keyboard key codes. More...
 

Detailed Description

Defines key codes for keyboard input. These key codes are based on the GLFW library's key codes and are used for input handling within the Muto engine.

Author
Damon S. Green II