ion.constants.pointer_buttons¶
Pointer button codes (Linux input event codes), passed as the first
argument to MatchPointer. With the conventional
aliases import ion.constants.pointer_buttons as btn and
import ion.constants.event_actions as act, a binding reads
MatchPointer(btn.LEFT, logo=True, action=act.PRESS) - the button
comes from this module while the action= value comes from
ion.constants.event_actions. The constructor takes an integer;
the alphabetic constants here exist to keep bindings readable.
Pointer button constants (Linux input event codes).
Data¶
- ion.constants.pointer_buttons.BACK¶
- Value:
278
- ion.constants.pointer_buttons.EXTRA¶
- Value:
276
- ion.constants.pointer_buttons.FORWARD¶
- Value:
277
- ion.constants.pointer_buttons.LEFT¶
- Value:
272
- ion.constants.pointer_buttons.MIDDLE¶
- Value:
274
- ion.constants.pointer_buttons.RIGHT¶
- Value:
273
- ion.constants.pointer_buttons.SIDE¶
- Value:
275
- ion.constants.pointer_buttons.TASK¶
- Value:
279