mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
Allow the platform code to override the key names
This commit is contained in:
parent
c19e28f626
commit
d685ce4625
4 changed files with 27 additions and 8 deletions
3
input.c
3
input.c
|
@ -808,7 +808,8 @@ int in_config_parse_dev(const char *name)
|
|||
if (in_devices[i].name == NULL)
|
||||
return -1;
|
||||
|
||||
in_devices[i].key_names = DRV(drv_id).get_key_names(&in_devices[i].key_count);
|
||||
in_devices[i].key_names = DRV(drv_id).get_key_names(&DRV(drv_id),
|
||||
&in_devices[i].key_count);
|
||||
in_devices[i].drv_id = drv_id;
|
||||
|
||||
if (i + 1 > in_dev_count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue