21 lines
561 B
Go
21 lines
561 B
Go
package configparser
|
|
|
|
type DeviceType string
|
|
|
|
const (
|
|
DeviceTypePhysical DeviceType = "physical"
|
|
DeviceTypeVirtual DeviceType = "virtual"
|
|
)
|
|
|
|
type RuleType string
|
|
|
|
const (
|
|
RuleTypeButton RuleType = "button"
|
|
RuleTypeButtonCombo RuleType = "button-combo"
|
|
RuleTypeButtonLatched RuleType = "button-latched"
|
|
RuleTypeAxis RuleType = "axis"
|
|
RuleTypeAxisCombined RuleType = "axis-combined"
|
|
RuleTypeAxisToButton RuleType = "axis-to-button"
|
|
RuleTypeAxisToRelaxis RuleType = "axis-to-relaxis"
|
|
RuleTypeModeSelect RuleType = "mode-select"
|
|
)
|