This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 42ac826a4cc5805d91bfc86f2232fd79f9ef6ab6 Author: Alan Carvalho de Assis <[email protected]> AuthorDate: Wed Aug 12 10:42:37 2026 -0300 doc/sim: Add Documentation about SIM Input This commit adds basic information about SIM Input support. Signed-off-by: Alan C. Assis <[email protected]> --- Documentation/platforms/sim/index.rst | 1 + Documentation/platforms/sim/sim_input.rst | 38 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/Documentation/platforms/sim/index.rst b/Documentation/platforms/sim/index.rst index 84adbf17c8a..014d567a147 100644 --- a/Documentation/platforms/sim/index.rst +++ b/Documentation/platforms/sim/index.rst @@ -15,3 +15,4 @@ The following Simulator/Emulators are supported: network_linux network_vpnkit sim_gpiochip + sim_input diff --git a/Documentation/platforms/sim/sim_input.rst b/Documentation/platforms/sim/sim_input.rst new file mode 100644 index 00000000000..1a288a49948 --- /dev/null +++ b/Documentation/platforms/sim/sim_input.rst @@ -0,0 +1,38 @@ +==================== +Sim Input Interfaces +==================== + +Overview +======== + +The Sim can emulate buttons, keyboard, touchscreen-mouse based, mouse with 3 buttons and analog-mouse based joystick. + +These drivers are particularly useful for graphical applications emulared over X11. + +Buttons +======= + +This driver emulates a button using the user Mouse button. You can enable it using +``CONFIG_SIM_BUTTONS``. + +Joystick +======== + +This driver simulates an Analog Joystick using the user mouse. + +Keyboard +======== + +There are two types of keyboards: is native one used by default on NuttX SIM, since it is used to access the NuttShell interface and the ``CONFIG_SIM_KEYBOARD`` used with graphical applications. + +Mouse +===== + +The driver emulates a Mouse with 3 buttons support. It can be enabled using the +symbol: ``CONFIG_SIM_MOUSE``. This driver is useful with used with more advanced interfaces like Microwindow/Nano-X that require at least left and right click buttons events. + +Touchscreen +=========== + +The difference between this driver and the Mouse is because this only generates a pen-down event when the user click in the interface. It is useful to use with LVGL graphic interface. +
