#include <stdio.h>
#include <tslib.h>
-#include "common/input.h"
+#include "libpicofe/input.h"
#include "pl_gun_ts.h"
#include "in_tsbutton.h"
"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) {
}
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;
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);
}