An extension for the NITH framework to provide some emulation capabilities.
It can be used to easily add Mouse and Keyboard emulation capabilities to your accessible application.
It provides the following functionalities:
-
Keyboard Emulation:
- Utilizes the RawInputProcessor NuGet package for handling raw keyboard input.
- Supports key up and key down events, as well as multiple keyboard handling.
- Primary classes include:
KeyboardModuleWPF
: For WPF applications.KeyboardModuleForms
: For Windows Forms applications.
- Additional enums:
LKeyPressStates
: Lists logical key press states (e.g., key down/up).LVKeyNames
: Contains all virtual key codes.VKeyCodes
: Lists all keys that can be pressed.
-
Mouse Emulation:
- Comprises a
MouseSender
and aMouseReceiverModule
. MouseSender
: Static class for sending mouse events (e.g., clicking, moving the cursor).MouseReceiverModule
: StoresIMouseBehavior
objects to receive and process mouse input.- Supports adjustable polling rates and two modes: Normal and FPS.
- Normal mode returns a
MouseModuleSample
with velocity, position, and direction. - FPS mode emulates behavior in first-person shooter games, focusing on velocity and direction while keeping the cursor stationary.
- Includes
NithSensorBehavior_GazeToMouse
to convert gaze coordinates into mouse movements.
- Comprises a
-
Console Functionality:
- The
Console
namespace includes theConsoleTextToTextBox
class, which redirects console output to a WPFTextBlock
control, useful for displaying sensor debug data and other information in the application interface.
- The