Trackpad demo for mXT143E Xplained.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | main_mouse_disable (void) |
Handle HID interface disable. More... | |
bool | main_mouse_enable (void) |
Handle HID interface enable. More... | |
void | main_remotewakeup_disable (void) |
Handle disabling of remote wake-up. More... | |
void | main_remotewakeup_enable (void) |
Handle enabling of remote wake-up. More... | |
void | main_resume_action (void) |
Handle resume of bus. More... | |
void | main_sof_action (void) |
Handle start of frame. More... | |
void | main_suspend_action (void) |
Handle suspend of bus. More... | |
void main_mouse_disable | ( | void | ) |
Handle HID interface disable.
Called by the USB stack when the host disables the mouse interface.
References main_b_mouse_enable.
bool main_mouse_enable | ( | void | ) |
Handle HID interface enable.
Called by the USB stack when the host enables the mouse interface.
true | Signal that mouse started up OK |
References main_b_mouse_enable.
void main_remotewakeup_disable | ( | void | ) |
Handle disabling of remote wake-up.
This is called by the USB stack when the host requests remote wake-up to be disabled, and will request the user interface to disable wake-up.
References ui_wakeup_disable().
void main_remotewakeup_enable | ( | void | ) |
Handle enabling of remote wake-up.
This is called by the USB stack when the host requests remote wake-up to be enabled, and will request the user interface to enable wake-up.
References ui_wakeup_enable().
void main_resume_action | ( | void | ) |
Handle resume of bus.
Called by USB stack when the bus resumes from suspend.
References ui_wakeup().
void main_sof_action | ( | void | ) |
Handle start of frame.
Called by USB stack when a start of frame is received, i.e., every millisecond during normal operation. This function triggers processing of the user interface if the HID interface has been enabled.
References main_b_mouse_enable, udd_get_frame_number(), and ui_process().
void main_suspend_action | ( | void | ) |