-
Notifications
You must be signed in to change notification settings - Fork 1
Buttons Bit Masks
chrilith edited this page Mar 13, 2016
·
1 revision
This module defines some constants attached to the passerelle object.
local value = passerelle.BIT_RIGHTROTARY_CW;| Bit | Value | Constant | Description |
|---|---|---|---|
| 2 | 0x00000002 |
BIT_RIGHTROTARY_CW |
Right rotary dial clockwize |
| 3 | 0x00000004 |
BIT_RIGHTROTARY_CCW |
Right rotary dial anticlockwize |
| 4 | 0x00000008 |
BIT_LEFTROTARY_CW |
Left rotary dial clockwize |
| 5 | 0x00000010 |
BIT_LEFTROTARY_CCW |
Left rotary dial anticlockwize |
| 6 | 0x00000020 |
BIT_S1BUTTON |
S1 |
| 7 | 0x00000040 |
BIT_S2BUTTON |
S2 |
| 8 | 0x00000080 |
BIT_S3BUTTON |
S3 |
| 9 | 0x00000100 |
BIT_S4BUTTON |
S4 |
| 10 | 0x00000200 |
BIT_S5BUTTON |
S5 |
| 11 | 0x00000400 |
BIT_S6BUTTON |
S6 |
| Bit | Value | Constant | Description |
|---|---|---|---|
| 1 | 0x00000001 |
BIT_SCROLLWHEEL_CLICK |
Right scroll wheel click |
| 2 | 0x00000002 |
BIT_RIGHTROTARY_CW |
Right scroll wheel up |
| 3 | 0x00000004 |
BIT_RIGHTROTARY_CCW |
Right scroll wheel down |
Left scroll wheel is handled by the page callback.