Rearrange some code

This commit is contained in:
twinaphex 2015-11-14 22:13:47 +01:00
parent 8005585853
commit 57771fcf3e
2 changed files with 6 additions and 8 deletions

View File

@ -158,12 +158,4 @@ enum
#include "../input_common.h"
struct apple_key_name_map_entry
{
const char* const keyname;
const uint32_t hid_id;
};
extern const struct apple_key_name_map_entry apple_key_name_map[];
#endif

View File

@ -26,6 +26,12 @@
#include "apple_keycode.h"
struct apple_key_name_map_entry
{
const char* const keyname;
const uint32_t hid_id;
};
const struct apple_key_name_map_entry apple_key_name_map[] =
{
{ "left", KEY_Left },