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
|
SET_CONTROL = 0x40
|
||||||
CONTROL = 0x41
|
CONTROL = 0x41
|
||||||
SET_EFFECT_STATE = 0x42
|
SET_DEVICE_STATE = 0x42
|
||||||
SET_OVERALL = 0x43
|
SET_OVERALL = 0x43
|
||||||
|
|
||||||
QUERY = 0xFF
|
QUERY = 0xFF
|
||||||
|
@ -23,7 +23,7 @@ class Packet:
|
||||||
EFFECT_STATES,
|
EFFECT_STATES,
|
||||||
SET_CONTROL,
|
SET_CONTROL,
|
||||||
CONTROL,
|
CONTROL,
|
||||||
SET_EFFECT_STATE,
|
SET_DEVICE_STATE,
|
||||||
SET_OVERALL,
|
SET_OVERALL,
|
||||||
QUERY
|
QUERY
|
||||||
]
|
]
|
||||||
|
@ -41,6 +41,10 @@ class ControlType:
|
||||||
class OverallControlType:
|
class OverallControlType:
|
||||||
GAIN = 0x00
|
GAIN = 0x00
|
||||||
|
|
||||||
|
class DeviceState:
|
||||||
|
PAUSE_FFB = 0x08
|
||||||
|
ENABLE_FFB = 0x04
|
||||||
|
STOP_ALL = 0x01
|
||||||
|
|
||||||
class Query:
|
class Query:
|
||||||
# Queries
|
# Queries
|
||||||
|
|
Loading…
Reference in a new issue