Lines Matching refs:mouse
39 static struct rtgui_event_mouse mouse; variable
118 mouse.parent.type = RTGUI_EVENT_MOUSE_MOTION; in efm32_keys_isr()
119 mouse.x = joy.x; in efm32_keys_isr()
120 mouse.y = joy.y; in efm32_keys_isr()
121 rtgui_server_post_event((&mouse.parent), sizeof(mouse)); in efm32_keys_isr()
127 mouse.parent.type = RTGUI_EVENT_MOUSE_BUTTON; in efm32_keys_isr()
128 mouse.button = RTGUI_MOUSE_BUTTON_LEFT | RTGUI_MOUSE_BUTTON_DOWN; in efm32_keys_isr()
129 rtgui_server_post_event((&mouse.parent), sizeof(mouse)); in efm32_keys_isr()
137 mouse.parent.type = RTGUI_EVENT_MOUSE_BUTTON; in efm32_keys_isr()
138 mouse.button = RTGUI_MOUSE_BUTTON_LEFT | RTGUI_MOUSE_BUTTON_UP; in efm32_keys_isr()
139 rtgui_server_post_event((&mouse.parent), sizeof(mouse)); in efm32_keys_isr()
205 mouse.parent.type = RTGUI_EVENT_MOUSE_MOTION; in efm32_keys_timer_isr()
206 mouse.x = joy.x; in efm32_keys_timer_isr()
207 mouse.y = joy.y; in efm32_keys_timer_isr()
208 rtgui_server_post_event((&mouse.parent), sizeof(mouse)); in efm32_keys_timer_isr()
249 mouse.parent.sender = RT_NULL; in efm32_keys_init()
250 mouse.wid = RT_NULL; in efm32_keys_init()
251 mouse.button = 0; in efm32_keys_init()