1 #include "core/joystickapi.hpp"
2 #include "core/keymapper.hpp"
6 void dummy_init() throw() {}
7 void dummy_quit() throw() {}
8 void dummy_thread_fn() throw() {}
9 void dummy_signal() throw() {}
10 const char* dummy_name() { return "Dummy joystick plugin"; }
12 _joystick_driver driver
= {
15 .thread_fn
= dummy_thread_fn
,
16 .signal
= dummy_signal
,
21 joystick_driver::joystick_driver(_joystick_driver drv
)
26 void joystick_driver_init() throw()
28 lsnes_gamepads_init();
32 void joystick_driver_quit() throw()
35 lsnes_gamepads_deinit();
38 void joystick_driver_thread_fn() throw()
43 void joystick_driver_signal() throw()
48 const char* joystick_driver_name()