aboutsummaryrefslogtreecommitdiff
path: root/frontend/in_tsbutton.c
diff options
context:
space:
mode:
authornotaz2014-12-09 23:06:47 +0200
committernotaz2014-12-20 02:57:25 +0200
commitbcfc48e326fd502e77654330ce4b902e7db8c2dc (patch)
treef5712e1f0a4d422ef9026a91f00aaba06c9c93f2 /frontend/in_tsbutton.c
parent55e5626b063b3fbfc29576c2ee6b826d4f22d3d2 (diff)
downloadpcsx_rearmed-bcfc48e326fd502e77654330ce4b902e7db8c2dc.tar.gz
pcsx_rearmed-bcfc48e326fd502e77654330ce4b902e7db8c2dc.tar.bz2
pcsx_rearmed-bcfc48e326fd502e77654330ce4b902e7db8c2dc.zip
frontend: update libpicofe
Diffstat (limited to 'frontend/in_tsbutton.c')
-rw-r--r--frontend/in_tsbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/in_tsbutton.c b/frontend/in_tsbutton.c
index aee6852..b3e4158 100644
--- a/frontend/in_tsbutton.c
+++ b/frontend/in_tsbutton.c
@@ -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, NULL);
+ in_register_driver(&in_tsbutton_drv, NULL, NULL);
}