2016-02-25 23:52:11 +00:00
|
|
|
/*
|
|
|
|
* Mr. 4th Dimention - Allen Webster
|
|
|
|
*
|
|
|
|
* 12.17.2014
|
|
|
|
*
|
|
|
|
* Win32-US Keyboard layer for 4coder
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
|
|
|
#include "4ed_keyboard.cpp"
|
|
|
|
|
|
|
|
internal void
|
|
|
|
keycode_init(){
|
|
|
|
keycode_lookup_table[VK_BACK] = key_back;
|
|
|
|
keycode_lookup_table[VK_DELETE] = key_del;
|
|
|
|
keycode_lookup_table[VK_UP] = key_up;
|
|
|
|
keycode_lookup_table[VK_DOWN] = key_down;
|
|
|
|
keycode_lookup_table[VK_LEFT] = key_left;
|
|
|
|
keycode_lookup_table[VK_RIGHT] = key_right;
|
|
|
|
keycode_lookup_table[VK_INSERT] = key_insert;
|
|
|
|
keycode_lookup_table[VK_HOME] = key_home;
|
|
|
|
keycode_lookup_table[VK_END] = key_end;
|
|
|
|
keycode_lookup_table[VK_PRIOR] = key_page_up;
|
|
|
|
keycode_lookup_table[VK_NEXT] = key_page_down;
|
|
|
|
keycode_lookup_table[VK_ESCAPE] = key_esc;
|
|
|
|
}
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|