- Added support for additional mouse buttons (ButtonQuaternary to ButtonNonary) in the X11 event handler.
- Updated the button state handling to accommodate new button events.
- Changed the Buttons type from uint8 to uint16 to support the expanded button range.
This change improves the application's ability to handle various mouse inputs, particularly for devices with more than three buttons.