summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-02-28 07:10:42 +1100
committer Vas Crabb <vas@vastheman.com>2022-02-28 07:10:42 +1100
commit05f681d36fd7e4484466f3897580656d4adecf8e (patch)
treecd2ee9968358ed521d3cd875628ea4851bf12a0b /docs/source/techspecs
parent6bf61cea8ca852e2e87162a1c602076af7028401 (diff)
emu/devcb.h: Cleaned up a little using C++17 type traits helpers.
Also made Lua I/O port field sensitivity nil for digital fields and put in some more const.
Diffstat (limited to 'docs/source/techspecs')
-rw-r--r--docs/source/techspecs/luareference.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/techspecs/luareference.rst b/docs/source/techspecs/luareference.rst
index bc896c34ebc..0ffbe310157 100644
--- a/docs/source/techspecs/luareference.rst
+++ b/docs/source/techspecs/luareference.rst
@@ -2023,11 +2023,11 @@ field.mask (read-only)
field.defvalue (read-only)
The field’s default value.
field.minvalue (read-only)
- The minimum allowed value for analog fields, or nil for digital fields.
+ The minimum allowed value for analog fields, or ``nil`` for digital fields.
field.maxvalue (read-only)
- The maximum allowed value for analog fields, or nil for digital fields.
+ The maximum allowed value for analog fields, or ``nil`` for digital fields.
field.sensitivity (read-only)
- The sensitivity or gain for analog fields.
+ The sensitivity or gain for analog fields, or ``nil`` for digital fields.
field.way (read-only)
The number of directions allowed by the restrictor plate/gate for a digital
joystick, or zero (0) for other inputs.