@@ -20,6 +20,15 @@ use crate::input::KeyboardType;
2020// key events at all. (Requires setup allowing InputDevice to dynamically add/remove
2121// KeyboardInputMapper based on blocklist and KeyEvents in case a KeyboardType::None device ends
2222// up producing a key event)
23+
24+ /// This list pre-classifies a device into Alphabetic/Non-Alphabetic keyboard and tells us whether
25+ /// further re-classification should be allowed or not (using is_finalized value).
26+ /// This list DOES NOT change the source of the device or change the input mappers associated with
27+ /// the device. It only changes the "KeyboardType" classification. This list should be primarily
28+ /// used to pre-classify devices that are NOT keyboards(like mice, game pads, etc.) but generate
29+ /// evdev nodes that say that they are alphabetic keyboards.
30+ ///
31+ /// NOTE: Pls keep the list sorted by vendor id and product id for easy searching.
2332pub static CLASSIFIED_DEVICES : & [ (
2433 /* vendorId */ u16 ,
2534 /* productId */ u16 ,
@@ -96,6 +105,8 @@ pub static CLASSIFIED_DEVICES: &[(
96105 ( 0x056e , 0x0159 , KeyboardType :: NonAlphabetic , true ) ,
97106 // Zebra LS2208 barcode scanner
98107 ( 0x05e0 , 0x1200 , KeyboardType :: NonAlphabetic , true ) ,
108+ // Glorious O2 Wireless
109+ ( 0x093a , 0x822d , KeyboardType :: NonAlphabetic , true ) ,
99110 // RDing FootSwitch1F1
100111 ( 0x0c45 , 0x7403 , KeyboardType :: NonAlphabetic , true ) ,
101112 // SteelSeries Sensei RAW Frost Blue
@@ -108,6 +119,8 @@ pub static CLASSIFIED_DEVICES: &[(
108119 ( 0x1050 , 0x0010 , KeyboardType :: NonAlphabetic , true ) ,
109120 // Yubico.com Yubikey 4 OTP+U2F+CCID
110121 ( 0x1050 , 0x0407 , KeyboardType :: NonAlphabetic , true ) ,
122+ // Razer DeathAdder Essential
123+ ( 0x1532 , 0x0098 , KeyboardType :: NonAlphabetic , true ) ,
111124 // Lenovo USB-C Wired Compact Mouse
112125 ( 0x17ef , 0x6123 , KeyboardType :: NonAlphabetic , true ) ,
113126 // Corsair Katar Pro Wireless (USB dongle)
0 commit comments