receiver: add remote device type
This commit is contained in:
parent
7d0402a97f
commit
52049af8e1
|
|
@ -37,7 +37,7 @@ del getLogger
|
||||||
# documentation, some of them guessed.
|
# documentation, some of them guessed.
|
||||||
#
|
#
|
||||||
|
|
||||||
DEVICE_KIND = _NamedInts(keyboard=0x01, mouse=0x02, numpad=0x03, presenter=0x04, trackball=0x08, touchpad=0x09)
|
DEVICE_KIND = _NamedInts(keyboard=0x01, mouse=0x02, numpad=0x03, presenter=0x04, remote=0x07, trackball=0x08, touchpad=0x09)
|
||||||
|
|
||||||
POWER_SWITCH_LOCATION = _NamedInts(
|
POWER_SWITCH_LOCATION = _NamedInts(
|
||||||
base=0x01,
|
base=0x01,
|
||||||
|
|
|
||||||
|
|
@ -169,6 +169,8 @@ def device_icon_set(name='_', kind=None):
|
||||||
names += ('input-mouse', 'input-tablet')
|
names += ('input-mouse', 'input-tablet')
|
||||||
elif str(kind) == 'trackball':
|
elif str(kind) == 'trackball':
|
||||||
names += ('input-mouse', )
|
names += ('input-mouse', )
|
||||||
|
elif str(kind) == 'headset':
|
||||||
|
names += ('audio-headphones', 'audio-headset')
|
||||||
names += ('input-' + str(kind), )
|
names += ('input-' + str(kind), )
|
||||||
# names += (name.replace(' ', '-'),)
|
# names += (name.replace(' ', '-'),)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue