Defines

# Macro to fill mouse report array

## Defines
#define | Hid_mouse_report_up() (g_hid_mouse_report[2]-=MOUSE_SPEED)
#define | Hid_mouse_report_down() (g_hid_mouse_report[2]+=MOUSE_SPEED)
#define | Hid_mouse_report_left() (g_hid_mouse_report[1]-=MOUSE_SPEED)
#define | Hid_mouse_report_right() (g_hid_mouse_report[1]+=MOUSE_SPEED)
#define | Hid_mouse_report_scroll_up() (g_hid_mouse_report[3]+=MOUSE_SPEED)
#define | Hid_mouse_report_scroll_down() (g_hid_mouse_report[3]-=MOUSE_SPEED)
#define | Hid_mouse_report_click_left() (g_hid_mouse_report[0] |= 0x01)
#define | Hid_mouse_report_click_right() (g_hid_mouse_report[0] |= 0x02)
#define | Hid_mouse_report_click_middle() (g_hid_mouse_report[0] |= 0x04)
#define | Hid_mouse_report_reset() (g_hid_mouse_report[0]=0,g_hid_mouse_report[1]=0,g_hid_mouse_report[2]=0,g_hid_mouse_report[3]=0)

## Define Documentation

#define Hid_mouse_report_up | ( | ) | (g_hid_mouse_report[2]-=MOUSE_SPEED)

Definition at line 66 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_down | ( | ) | (g_hid_mouse_report[2]+=MOUSE_SPEED)

Definition at line 67 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_left | ( | ) | (g_hid_mouse_report[1]-=MOUSE_SPEED)

Definition at line 68 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_right | ( | ) | (g_hid_mouse_report[1]+=MOUSE_SPEED)

Definition at line 69 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_scroll_up | ( | ) | (g_hid_mouse_report[3]+=MOUSE_SPEED)

Definition at line 71 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_scroll_down | ( | ) | (g_hid_mouse_report[3]-=MOUSE_SPEED)

Definition at line 72 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_click_left | ( | ) | (g_hid_mouse_report[0] |= 0x01)

Definition at line 74 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_click_right | ( | ) | (g_hid_mouse_report[0] |= 0x02)

Definition at line 75 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_click_middle | ( | ) | (g_hid_mouse_report[0] |= 0x04)

Definition at line 76 of file mouse_task.c.

Referenced by is_mouse_event().

#define Hid_mouse_report_reset | ( | ) | (g_hid_mouse_report[0]=0,g_hid_mouse_report[1]=0,g_hid_mouse_report[2]=0,g_hid_mouse_report[3]=0)

Definition at line 79 of file mouse_task.c.

Referenced by is_mouse_event(), and mouse_task().