![]() |
M480 BSP
V3.05.001
The Board Support Package for M480 Series
|
#include <usbh_hid.h>
Data Fields | |
| uint8_t | axis_relative |
| uint8_t | wheel_relative |
| uint8_t | button_cnt |
| uint32_t | button_map |
| signed int | axis_min |
| signed int | axis_max |
| signed int | X |
| signed int | Y |
| signed int | wheel_min |
| signed int | wheel_max |
| signed int | wheel |
| int | X_bits |
| int | Y_bits |
| int | wheel_bits |
| uint32_t | X_raw |
| uint32_t | Y_raw |
| uint32_t | wheel_raw |
HID mouse information structure
Definition at line 298 of file usbh_hid.h.
| signed int usbhid_mouse_event::axis_max |
Logical maxmum of mouse X,Y axis value
Definition at line 305 of file usbh_hid.h.
| signed int usbhid_mouse_event::axis_min |
Logical minimum of mouse X,Y axis value
Definition at line 304 of file usbh_hid.h.
| uint8_t usbhid_mouse_event::axis_relative |
X,Y axis vlaue is relative(1) or absolute(0)
Definition at line 300 of file usbh_hid.h.
| uint8_t usbhid_mouse_event::button_cnt |
Number of buttons
Definition at line 302 of file usbh_hid.h.
| uint32_t usbhid_mouse_event::button_map |
bit0 for button 0, bit1 for button 1, ...
Definition at line 303 of file usbh_hid.h.
| signed int usbhid_mouse_event::wheel |
mouse wheel value
Definition at line 310 of file usbh_hid.h.
| int usbhid_mouse_event::wheel_bits |
wheel bit resolution
Definition at line 313 of file usbh_hid.h.
| signed int usbhid_mouse_event::wheel_max |
Logical maxmum of mouse wheel value
Definition at line 309 of file usbh_hid.h.
| signed int usbhid_mouse_event::wheel_min |
Logical minimum of mouse wheel value
Definition at line 308 of file usbh_hid.h.
| uint32_t usbhid_mouse_event::wheel_raw |
mouse report wheel raw data
Definition at line 316 of file usbh_hid.h.
| uint8_t usbhid_mouse_event::wheel_relative |
Wheel vlaue is relative(1) or absolute(0)
Definition at line 301 of file usbh_hid.h.
| signed int usbhid_mouse_event::X |
mouse X axis value
Definition at line 306 of file usbh_hid.h.
| int usbhid_mouse_event::X_bits |
X axis bit resolution
Definition at line 311 of file usbh_hid.h.
| uint32_t usbhid_mouse_event::X_raw |
mouse report X axis raw data
Definition at line 314 of file usbh_hid.h.
| signed int usbhid_mouse_event::Y |
mouse Y axis value
Definition at line 307 of file usbh_hid.h.
| int usbhid_mouse_event::Y_bits |
Y axis bit resolution
Definition at line 312 of file usbh_hid.h.
| uint32_t usbhid_mouse_event::Y_raw |
mouse report Y axis raw data
Definition at line 315 of file usbh_hid.h.
1.8.15