summaryrefslogtreecommitdiff
path: root/keyboard.txt
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-05-07 14:56:15 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-05-07 14:56:15 +0200
commit878ed69e40ccab87a110b3fd7c28d4a15c812422 (patch)
treecdb25d9cae0ebd5fcdbb98754395b862a67dde09 /keyboard.txt
parent70f33c0906bdc010d2209b37ee282559f22c60d4 (diff)
downloadltunify-878ed69e40ccab87a110b3fd7c28d4a15c812422.tar.gz
keyboard: confirmed padding bytes
Diffstat (limited to 'keyboard.txt')
-rw-r--r--keyboard.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/keyboard.txt b/keyboard.txt
index 282fefb..69814ed 100644
--- a/keyboard.txt
+++ b/keyboard.txt
@@ -62,13 +62,20 @@ struct system_control_data {
char button : 2; /* two right-most bits, Big Endian */
};
+The 20 ix yy dd.. ... messages below are described as follows:
+- 20: Report ID for Logitech Vendor DJ collection (messages are not processed by
+ the hid-logitech-dj driver but are passed through to the HID layer.)
+- yy: descriptor type (system control, consumer control, keyboard, etc.)
+- dd..: data, length is dependent on descriptor type.
+- Remaining bytes is garbage/padding and can be ignored (confirmed by Nestor
+ from Logitech).
The following describes what events are generated when a certain flag is toggled
in the notification register 00.
flag 1, bit 1 - controls "System Control" events?
Format:
- (disabled bit) 20 ix 04 XX ... (other 11 bytes seems to be noise)
+ (disabled bit) 20 ix 04 XX ... (other 11 bytes is padding)
(enabled bit) 10 ix 04 XX 00 00 00
Values for XX:
- 01: Sleep Button (Fn + F8)
@@ -76,7 +83,7 @@ Values for XX:
flag 1, bit 0 - controls "Consumer Control" events?
Format:
- (disabled bit) 20 ix 03 XX xx YY yy ... (other 8 bytes seems to be noise)
+ (disabled bit) 20 ix 03 XX xx YY yy ... (other 8 bytes is padding)
(enabled bit) 10 ix 03 XX xx YY yy
XX xx and YY yy are two buttons that are pressed according to the keyboard (see
also struct consumer_control_data above).