Skip to main content

SimHID Device Specification

The SimHID Devices are input/output devices that support the SimHID protocol. The SimHID protocol is adopted by controllers like SimHID G1000.
This is the specification for the built-in device driver for SimHID devices.

Parameters for mapper.device()

type Parameter

simhid

identifier Parameter

The mapper.device() function takes an associative array type table with the following keys specified as the identifier parameter.

KeyTypeDescription
pathstringThe virtual COM port name where the SimHID device is connected, for instance: COM2

options Parameter

There are currently no options available for specification.

Device Units

The SimHID protocol can support various input and output operations, making the provided Device Units significantly different for each device.
Here, I'll focus on explaining the Device Unit offered by the SimHID G1000 as a representative example.

Buttons

AttributeDescription
NameThe SimHID devices use predefined names directly, meaning they are device-dependent.
DirectionInput
Value TypeAbsolute
Precision32-bit integer
Value Range1 for ON, 0 for OFF

Rorary Encoders

AttributeDescription
NameThe SimHID devices use predefined names directly, meaning they are device-dependent.
DirectionInput
Value TypeAbsolute
Precision32-bit integer
Value RangeWhen rotating clockwise, the number of clicks is represented by positive integers, when rotating counterclockwise, it's represented by negative integers.