Skip to content

Extension of the NITH framework to provide some emulation capabilities. Depends on the WPF framework.

License

Notifications You must be signed in to change notification settings

LIMUNIMI/NITHemulation

Repository files navigation

NITHemulation

An extension for the NITH framework to provide some emulation capabilities.

NITH logo.

It can be used to easily add Mouse and Keyboard emulation capabilities to your accessible application.

Features

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 a MouseReceiverModule.
    • MouseSender: Static class for sending mouse events (e.g., clicking, moving the cursor).
    • MouseReceiverModule: Stores IMouseBehavior 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.
  • Console Functionality:

    • The Console namespace includes the ConsoleTextToTextBox class, which redirects console output to a WPF TextBlock control, useful for displaying sensor debug data and other information in the application interface.

About

Extension of the NITH framework to provide some emulation capabilities. Depends on the WPF framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages