blob: db5ea9f2e7a7cca474e92490f53de802a0c38ee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- @meta
--- The `controls` module contains Properties relating to the device's physical
--- controls. These controls include the touchwheel, the lock switch, and the
--- side buttons.
--- @class controls
--- @field scheme Property The currently configured control scheme
--- @field scroll_sensitivity Property How much rotational motion is required on the touchwheel per scroll tick.
--- @field lock_switch Property The current state of the device's lock switch.
--- @field hooks funtion Returns a table containing the inputs and actions associated with the current control scheme.
local controls = {}
return controls
|