From 05f681d36fd7e4484466f3897580656d4adecf8e Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 28 Feb 2022 07:10:42 +1100 Subject: 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. --- docs/source/techspecs/luareference.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/source/techspecs') 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. -- cgit v1.2.3-70-g09d2