Implemented Linux mouse button handling