Files
u-boot/drivers/input
Simon Glass 90964bf740 mouse: Replace mouse_press_state_t enum with bool
Replace the mouse_press_state_t enum with a simpler bool left_pressed
field in mouse_uc_priv. Convert BUTTON_PRESSED/BUTTON_RELEASED to defines
since they're still used in the mouse_event button structure.

This simplifies the code by directly tracking whether the left button
is pressed rather than using an enum to represent a binary state.

Clarify the comment to struct mouse_uc_priv while here.

Series-changes: 2
- Add new patch to replace mouse_press_state_t enum with bool

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-07 09:54:26 -06:00
..
2025-09-25 09:47:09 -06:00
2025-09-25 09:47:09 -06:00
2025-09-25 09:47:09 -06:00
2025-09-15 03:26:57 -06:00