Defines common status codes
Returns the battery percentage of the device, or ubyte.max if it doesn't have a battery.
Returns the device number.
Returns true if device has analog capabilities.
Returns true if the device is connected.
Returns true if device got invalidated (disconnected, etc).
Returns true if device is virtual, emulated, etc.
Polls the device for events.
Returns the type of the device.
Current percentage of the battery
Defines the number of the input device within the group of same types
Defines the type of the input device
Status flags of the device. Bits 0-7 are common, 8-15 are special to each device/interface type. Note: flags related to indicators/etc should be kept separately.
Contains basic info about the input device. Child classes might also contain references to OS variables and pointers.