X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fin_tsbutton.c;h=b3e415831855f35d58272cd6fa20bf230689b2b3;hp=84d6895c7cb4d4fc87702904d2352cd2ededde27;hb=215ff9e69c0b845f24e7a3aa9faeef06d9276145;hpb=50306d8d6e20ede70c2dea274ae1099082aea88f diff --git a/frontend/in_tsbutton.c b/frontend/in_tsbutton.c index 84d6895c..b3e41583 100644 --- a/frontend/in_tsbutton.c +++ b/frontend/in_tsbutton.c @@ -11,7 +11,7 @@ #include #include -#include "common/input.h" +#include "libpicofe/input.h" #include "pl_gun_ts.h" #include "in_tsbutton.h" @@ -30,7 +30,7 @@ static const char * const in_tsbutton_keys[IN_TSBUTTON_COUNT] = { "TS1", "TS2", "TS3", "TS4", }; -static void in_tsbutton_probe(void) +static void in_tsbutton_probe(const in_drv_t *drv) { struct tsdev *dev = tsdev; if (dev == NULL) { @@ -43,7 +43,7 @@ static void in_tsbutton_probe(void) } static const char * const * -in_tsbutton_get_key_names(int *count) +in_tsbutton_get_key_names(const in_drv_t *drv, int *count) { *count = IN_TSBUTTON_COUNT; return in_tsbutton_keys; @@ -133,6 +133,6 @@ static const in_drv_t in_tsbutton_drv = { void in_tsbutton_init(void) { tsbutton_down_id = last_tsbutton_id = -1; - in_register_driver(&in_tsbutton_drv); + in_register_driver(&in_tsbutton_drv, NULL, NULL); }