summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/techspecs/luareference.rst
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-26 13:38:14 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-26 13:39:34 -0500
commitc04e2cbe0b88d67fed6b0316633cb9cbed4c76aa (patch)
tree2d845a3297d90e110ee4364510ae982b1b0a098f /docs/source/techspecs/luareference.rst
parent43f569e58f26d23032b950ebcbd02f352532ba95 (diff)
natkeyboard: Remove from ioport_manager
Diffstat (limited to 'docs/source/techspecs/luareference.rst')
-rw-r--r--docs/source/techspecs/luareference.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/techspecs/luareference.rst b/docs/source/techspecs/luareference.rst
index d15c74efe0b..8589950a0f1 100644
--- a/docs/source/techspecs/luareference.rst
+++ b/docs/source/techspecs/luareference.rst
@@ -183,6 +183,9 @@ machine.render (read-only)
machine.debugger (read-only)
The :ref:`debugger manager <luareference-debug-manager>` for the current
emulation session, or ``nil`` if the debugger is not enabled.
+machine.natkeyboard (read-only)
+ Gets the :ref:`natural keyboard manager <luareference-input-natkbd>`, used
+ for controlling keyboard and keypad input to the emulated system.
machine.options (read-only)
The user-specified :ref:`options <luareference-core-emuopts>` for the
current emulation session.
@@ -1596,9 +1599,6 @@ ioport.ports[]
Gets the emulated :ref:`I/O ports <luareference-input-ioport>` in the
system. Keys are absolute tags. The ``at`` and ``index_of`` methods have
O(n) complexity; all other supported operations have O(1) complexity.
-ioport.natkeyboard
- Gets the :ref:`natural keyboard manager <luareference-input-natkbd>`, used
- for controlling keyboard and keypad input to the emulated system.
.. _luareference-input-natkbd:
@@ -1611,7 +1611,7 @@ keypad inputs.
Instantiation
^^^^^^^^^^^^^
-manager.machine.ioport.natkeyboard
+manager.machine.natkeyboard
Gets the global natural keyboard manager instance for the emulated machine.
Methods
@@ -1675,7 +1675,7 @@ Represents a keyboard or keypad input device managed by the
Instantiation
^^^^^^^^^^^^^
-manager.machine.ioport.natkeyboard.keyboards[tag]
+manager.machine.natkeyboard.keyboards[tag]
Gets the keyboard input device with the specified tag, or ``nil`` if the tag
does not correspond to a keyboard input device.