Skip to content

Input Devices

Morten Hattesen edited this page Dec 19, 2022 · 1 revision

Discrete (tactile) button arrangements

5 buttons, + arrangement

From a driver/API point of view, this is identical to a digital joystick with push support.

Up
Left OK Right
Down

Event to functionality mapping via driver library Events and a software State Machine

  • OK button
    • SingleClick: Select item
    • LongClick: Edit (when selecting) / Save and Exit (when editing)
    • DoubleClick: Exit / Escape
  • Up button SingleClick: Above menu item / Increase value by 1 LongClick: / Increase value by multiple, using acceleration
  • Down button SingleClick: Below menu item / Increase value by 1 LongClick: / Decrease value by multiple, using acceleration
  • Left button SingleClick: select Digit/Character to the left
  • Right button SingleClick: select Digit/Character to the left

4 buttons, diamond pattern

Up
Exit OK
Down