Added header for platform specific key codes (wip)
This commit is contained in:
parent
bc4e97cd0c
commit
df70cc1b6a
1 changed files with 19 additions and 0 deletions
19
base/keycodes.hpp
Normal file
19
base/keycodes.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Key codes for multiple platforms
|
||||
*
|
||||
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
|
||||
*
|
||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#if defined(_WIN32)
|
||||
#elif defined(__ANDROID__)
|
||||
#elif defined(__linux__)
|
||||
#define KEY_ESCAPE 0x9
|
||||
#define KEY_W 0x19
|
||||
#define KEY_A 0x26
|
||||
#define KEY_S 0x27
|
||||
#define KEY_D 0x28
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue