nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
hid_report_mouse.h File Reference

Go to the source code of this file.

Macros

#define REPORT_SIZE_MOUSE   5 /* Bytes */
 
#define REPORT_SIZE_MOUSE_BOOT   3 /* Bytes */
 
#define REPORT_MASK_MOUSE   {0x01}
 
#define USAGE_PAGE_MOUSE_XY   0x01
 
#define USAGE_PAGE_MOUSE_WHEEL   0x01
 
#define USAGE_PAGE_KEYBOARD   0x07
 
#define USAGE_PAGE_LEDS   0x08
 
#define USAGE_PAGE_MOUSE_BUTTONS   0x09
 
#define MOUSE_REPORT_WHEEL_MIN   (-0x7F)
 
#define MOUSE_REPORT_WHEEL_MAX   (0x7F)
 
#define MOUSE_REPORT_XY_MIN   (-0x07ff)
 
#define MOUSE_REPORT_XY_MAX   (0x07ff)
 
#define MOUSE_REPORT_XY_MIN_BOOT   (-0x80)
 
#define MOUSE_REPORT_XY_MAX_BOOT   (0x7f)
 
#define MOUSE_REPORT_BUTTON_COUNT_MAX   8
 
#define REPORT_MAP_MOUSE(report_id)
 

Enumerations

enum  { MOUSE_REPORT_AXIS_X , MOUSE_REPORT_AXIS_Y , MOUSE_REPORT_AXIS_WHEEL , MOUSE_REPORT_AXIS_COUNT }