mirror of
https://github.com/brl/mutter.git
synced 2025-02-25 17:24:09 +00:00

An array is used to translate the button to its mask. Clutter defines the masks for button 1 to 5 but we report BTN_LEFT..BTN_TASK ie 0x110..0x117. We need to pad the array for the translation not to access random data for buttons between 0x115 and 0x117.