(Apple) Remove apple_keycode_hidusage_to_name - seems to be unused right now

This commit is contained in:
twinaphex 2014-10-03 16:03:44 +02:00
parent f4733cf1d0
commit 0983689b60
2 changed files with 0 additions and 11 deletions

View File

@ -123,15 +123,6 @@ const struct apple_key_name_map_entry apple_key_name_map[] =
{ "nul", 0x00},
};
const char* apple_keycode_hidusage_to_name(uint32_t hid_usage)
{
for (int i = 0; apple_key_name_map[i].hid_id; i ++)
if (apple_key_name_map[i].hid_id == hid_usage)
return apple_key_name_map[i].keyname;
return "nul";
}
#if defined(IOS)
extern void apple_gamecontroller_poll_all(void);

View File

@ -166,6 +166,4 @@ struct apple_key_name_map_entry
extern const struct apple_key_name_map_entry apple_key_name_map[];
const char* apple_keycode_hidusage_to_name(uint32_t hid_usage);
#endif