X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=libpicofe.git;a=blobdiff_plain;f=input.c;h=ca9dac29ce3ef4af9bc8aee39dfb1c7addc61ff9;hp=dc8bedd3d5da8d0864b510f74d1f265fe5523ac0;hb=d685ce4625e9f3b25b0852d31960cb429da06a9d;hpb=c19e28f62660cdaed26698234cff9c084517b34c diff --git a/input.c b/input.c index dc8bedd..ca9dac2 100644 --- 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; - 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)