Crate wooting_analog_common

Source

Structs§

DeviceInfo
The core DeviceInfo struct which contains all the interesting information for a particular device. This is for use internally and should be ignored if you’re trying to use it when trying to interact with the SDK using the wrapper
DeviceInfo_FFI
The core DeviceInfo struct which contains all the interesting information for a particular device. This is the version which the consumer of the SDK will receive through the wrapper. This is not for use in the Internal workings of the SDK, that is what DeviceInfo is for
SDKResult

Enums§

DeviceEventType
DeviceType
HIDCodes
KeycodeType
WootingAnalogResult

Constants§

DEFAULT_PLUGIN_DIR

Traits§

FromPrimitive
A generic trait for converting a number to a value.
ToPrimitive
A generic trait for converting a value to a number.

Functions§

drop_device_info
Drops the given DeviceInfo
new_device_info
Create a new device info struct. This is only for use in Plugins that are written in C Rust plugins should use the native constructor The memory for the struct has been allocated in Rust. So drop_device_info must be called for the memory to be properly released

Type Aliases§

DeviceID