Rename global device state field
This commit is contained in:
parent
d4412837ab
commit
e47045c47a
1 changed files with 6 additions and 2 deletions
|
@ -12,7 +12,7 @@ class Packet:
|
|||
|
||||
SET_CONTROL = 0x40
|
||||
CONTROL = 0x41
|
||||
SET_EFFECT_STATE = 0x42
|
||||
SET_DEVICE_STATE = 0x42
|
||||
SET_OVERALL = 0x43
|
||||
|
||||
QUERY = 0xFF
|
||||
|
@ -23,7 +23,7 @@ class Packet:
|
|||
EFFECT_STATES,
|
||||
SET_CONTROL,
|
||||
CONTROL,
|
||||
SET_EFFECT_STATE,
|
||||
SET_DEVICE_STATE,
|
||||
SET_OVERALL,
|
||||
QUERY
|
||||
]
|
||||
|
@ -41,6 +41,10 @@ class ControlType:
|
|||
class OverallControlType:
|
||||
GAIN = 0x00
|
||||
|
||||
class DeviceState:
|
||||
PAUSE_FFB = 0x08
|
||||
ENABLE_FFB = 0x04
|
||||
STOP_ALL = 0x01
|
||||
|
||||
class Query:
|
||||
# Queries
|
||||
|
|
Loading…
Reference in a new issue