mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
plugins: Add touch API to plugin API and revamp touchscreen test
Change-Id: Iefb658693b03e0cda43e2a9fc93086485e790b4e
This commit is contained in:
parent
8aae723853
commit
e2363b0e2c
3 changed files with 304 additions and 96 deletions
|
|
@ -852,6 +852,20 @@ static const struct plugin_api rockbox_api = {
|
|||
#ifdef USB_ENABLE_AUDIO
|
||||
usb_audio_get_playing,
|
||||
#endif
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
action_get_touch_event,
|
||||
action_gesture_reset,
|
||||
action_gesture_get_event_in_vp,
|
||||
action_gesture_get_event,
|
||||
action_gesture_is_valid,
|
||||
action_gesture_is_pressed,
|
||||
gesture_reset,
|
||||
gesture_process,
|
||||
gesture_get_event_in_vp,
|
||||
gesture_vel_reset,
|
||||
gesture_vel_process,
|
||||
gesture_vel_get,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int plugin_buffer_handle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue