notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow the platform code to override the key names
[libpicofe.git]
/
input.c
diff --git
a/input.c
b/input.c
index
dc8bedd
..
ca9dac2
100644
(file)
--- a/
input.c
+++ b/
input.c
@@
-808,7
+808,8
@@
int in_config_parse_dev(const char *name)
if (in_devices[i].name == NULL)
return -1;
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)
in_devices[i].drv_id = drv_id;
if (i + 1 > in_dev_count)