Implement MappingRuleAxisToButton.
This commit is contained in:
parent
a6ad1b609a
commit
47fac539da
3 changed files with 81 additions and 27 deletions
|
@ -33,3 +33,8 @@ type RuleTarget interface {
|
|||
type RuleTargetDevice interface {
|
||||
AbsInfos() (map[evdev.EvCode]evdev.AbsInfo, error)
|
||||
}
|
||||
|
||||
const (
|
||||
AxisValueMin = int32(-32768)
|
||||
AxisValueMax = int32(32767)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue