mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
drivers/input: Rename MOUSE configs to INPUT_MOUSE
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
00e68bb38d
commit
5719dab8ec
@@ -63,7 +63,7 @@ struct mouse_report_s
|
||||
/* Possibly padded with 1 byte here */
|
||||
int16_t x; /* X coordinate of the mouse position */
|
||||
int16_t y; /* Y coordinate of the mouse position */
|
||||
#ifdef CONFIG_MOUSE_WHEEL
|
||||
#ifdef CONFIG_INPUT_MOUSE_WHEEL
|
||||
int16_t wheel; /* Mouse wheel position */
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -656,7 +656,7 @@ struct usbhid_mousereport_s
|
||||
uint8_t xdisp; /* X displacement */
|
||||
uint8_t ydisp; /* y displacement */
|
||||
/* Device specific additional bytes may follow */
|
||||
#ifdef CONFIG_MOUSE_WHEEL
|
||||
#ifdef CONFIG_INPUT_MOUSE_WHEEL
|
||||
uint8_t wdisp; /* Wheel displacement */
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user