@@ -115,12 +115,14 @@ static const razer_key blackwidow_chroma_keymap[] =
115115 { 0 , 3 , 10 , " Key: L" },
116116 { 0 , 3 , 11 , " Key: ;" },
117117 { 0 , 3 , 12 , " Key: '" },
118+ { 0 , 3 , 13 , " Key: #" },
118119 { 0 , 3 , 14 , " Key: Enter" },
119120 { 0 , 3 , 18 , " Key: Number Pad 4" },
120121 { 0 , 3 , 19 , " Key: Number Pad 5" },
121122 { 0 , 3 , 20 , " Key: Number Pad 6" },
122123 { 0 , 4 , 0 , " Key: M4" },
123124 { 0 , 4 , 1 , " Key: Left Shift" },
125+ { 0 , 4 , 2 , " Key: \\ (ISO)" },
124126 { 0 , 4 , 3 , " Key: Z" },
125127 { 0 , 4 , 4 , " Key: X" },
126128 { 0 , 4 , 5 , " Key: C" },
@@ -221,8 +223,10 @@ static const razer_key blackwidow_chroma_te_keymap[] =
221223 { 0 , 3 , 10 , " Key: L" },
222224 { 0 , 3 , 11 , " Key: ;" },
223225 { 0 , 3 , 12 , " Key: '" },
226+ { 0 , 3 , 13 , " Key: #" },
224227 { 0 , 3 , 14 , " Key: Enter" },
225228 { 0 , 4 , 1 , " Key: Left Shift" },
229+ { 0 , 4 , 2 , " Key: \\ (ISO)" },
226230 { 0 , 4 , 3 , " Key: Z" },
227231 { 0 , 4 , 4 , " Key: X" },
228232 { 0 , 4 , 5 , " Key: C" },
@@ -436,6 +440,122 @@ static const razer_key blade_stealth_keymap[] =
436440 { 0 , 5 , 15 , " Key: Down Arrow" },
437441};
438442
443+ #define CYNOSA_CHROMA_KEYMAP_SIZE (sizeof (cynosa_chroma_keymap) / sizeof (cynosa_chroma_keymap[0 ]))
444+
445+ static const razer_key cynosa_chroma_keymap[] =
446+ {
447+ /* ---------------------------------------------------------------------*\
448+ | Zone, Row, Column, Key |
449+ \*---------------------------------------------------------------------*/
450+ { 0 , 0 , 1 , " Key: Escape" },
451+ { 0 , 0 , 3 , " Key: F1" },
452+ { 0 , 0 , 4 , " Key: F2" },
453+ { 0 , 0 , 5 , " Key: F3" },
454+ { 0 , 0 , 6 , " Key: F4" },
455+ { 0 , 0 , 7 , " Key: F5" },
456+ { 0 , 0 , 8 , " Key: F6" },
457+ { 0 , 0 , 9 , " Key: F7" },
458+ { 0 , 0 , 10 , " Key: F8" },
459+ { 0 , 0 , 11 , " Key: F9" },
460+ { 0 , 0 , 12 , " Key: F10" },
461+ { 0 , 0 , 13 , " Key: F11" },
462+ { 0 , 0 , 14 , " Key: F12" },
463+ { 0 , 0 , 15 , " Key: Print Screen" },
464+ { 0 , 0 , 16 , " Key: Scroll Lock" },
465+ { 0 , 0 , 17 , " Key: Pause/Break" },
466+ { 0 , 0 , 20 , " Logo" },
467+ { 0 , 1 , 1 , " Key: `" },
468+ { 0 , 1 , 2 , " Key: 1" },
469+ { 0 , 1 , 3 , " Key: 2" },
470+ { 0 , 1 , 4 , " Key: 3" },
471+ { 0 , 1 , 5 , " Key: 4" },
472+ { 0 , 1 , 6 , " Key: 5" },
473+ { 0 , 1 , 7 , " Key: 6" },
474+ { 0 , 1 , 8 , " Key: 7" },
475+ { 0 , 1 , 9 , " Key: 8" },
476+ { 0 , 1 , 10 , " Key: 9" },
477+ { 0 , 1 , 11 , " Key: 0" },
478+ { 0 , 1 , 12 , " Key: -" },
479+ { 0 , 1 , 13 , " Key: =" },
480+ { 0 , 1 , 14 , " Key: Backspace" },
481+ { 0 , 1 , 15 , " Key: Insert" },
482+ { 0 , 1 , 16 , " Key: Home" },
483+ { 0 , 1 , 17 , " Key: Page Up" },
484+ { 0 , 1 , 18 , " Key: Num Lock" },
485+ { 0 , 1 , 19 , " Key: Number Pad /" },
486+ { 0 , 1 , 20 , " Key: Number Pad *" },
487+ { 0 , 1 , 21 , " Key: Number Pad -" },
488+ { 0 , 2 , 1 , " Key: Tab" },
489+ { 0 , 2 , 2 , " Key: Q" },
490+ { 0 , 2 , 3 , " Key: W" },
491+ { 0 , 2 , 4 , " Key: E" },
492+ { 0 , 2 , 5 , " Key: R" },
493+ { 0 , 2 , 6 , " Key: T" },
494+ { 0 , 2 , 7 , " Key: Y" },
495+ { 0 , 2 , 8 , " Key: U" },
496+ { 0 , 2 , 9 , " Key: I" },
497+ { 0 , 2 , 10 , " Key: O" },
498+ { 0 , 2 , 11 , " Key: P" },
499+ { 0 , 2 , 12 , " Key: [" },
500+ { 0 , 2 , 13 , " Key: ]" },
501+ { 0 , 2 , 14 , " Key: \\ (ANSI)" },
502+ { 0 , 2 , 15 , " Key: Delete" },
503+ { 0 , 2 , 16 , " Key: End" },
504+ { 0 , 2 , 17 , " Key: Page Down" },
505+ { 0 , 2 , 18 , " Key: Number Pad 7" },
506+ { 0 , 2 , 19 , " Key: Number Pad 8" },
507+ { 0 , 2 , 20 , " Key: Number Pad 9" },
508+ { 0 , 2 , 21 , " Key: Number Pad +" },
509+ { 0 , 3 , 1 , " Key: Caps Lock" },
510+ { 0 , 3 , 2 , " Key: A" },
511+ { 0 , 3 , 3 , " Key: S" },
512+ { 0 , 3 , 4 , " Key: D" },
513+ { 0 , 3 , 5 , " Key: F" },
514+ { 0 , 3 , 6 , " Key: G" },
515+ { 0 , 3 , 7 , " Key: H" },
516+ { 0 , 3 , 8 , " Key: J" },
517+ { 0 , 3 , 9 , " Key: K" },
518+ { 0 , 3 , 10 , " Key: L" },
519+ { 0 , 3 , 11 , " Key: ;" },
520+ { 0 , 3 , 12 , " Key: '" },
521+ { 0 , 3 , 13 , " Key: #" },
522+ { 0 , 3 , 14 , " Key: Enter" },
523+ { 0 , 3 , 18 , " Key: Number Pad 4" },
524+ { 0 , 3 , 19 , " Key: Number Pad 5" },
525+ { 0 , 3 , 20 , " Key: Number Pad 6" },
526+ { 0 , 4 , 1 , " Key: Left Shift" },
527+ { 0 , 4 , 2 , " Key: \\ (ISO)" },
528+ { 0 , 4 , 3 , " Key: Z" },
529+ { 0 , 4 , 4 , " Key: X" },
530+ { 0 , 4 , 5 , " Key: C" },
531+ { 0 , 4 , 6 , " Key: V" },
532+ { 0 , 4 , 7 , " Key: B" },
533+ { 0 , 4 , 8 , " Key: N" },
534+ { 0 , 4 , 9 , " Key: M" },
535+ { 0 , 4 , 10 , " Key: ," },
536+ { 0 , 4 , 11 , " Key: ." },
537+ { 0 , 4 , 12 , " Key: /" },
538+ { 0 , 4 , 14 , " Key: Right Shift" },
539+ { 0 , 4 , 16 , " Key: Up Arrow" },
540+ { 0 , 4 , 18 , " Key: Number Pad 1" },
541+ { 0 , 4 , 19 , " Key: Number Pad 2" },
542+ { 0 , 4 , 20 , " Key: Number Pad 3" },
543+ { 0 , 4 , 21 , " Key: Number Pad Enter" },
544+ { 0 , 5 , 1 , " Key: Left Control" },
545+ { 0 , 5 , 2 , " Key: Left Windows" },
546+ { 0 , 5 , 3 , " Key: Left Alt" },
547+ { 0 , 5 , 7 , " Key: Space" },
548+ { 0 , 5 , 11 , " Key: Right Alt" },
549+ { 0 , 5 , 12 , " Key: Right Fn" },
550+ { 0 , 5 , 13 , " Key: Menu" },
551+ { 0 , 5 , 14 , " Key: Right Control" },
552+ { 0 , 5 , 15 , " Key: Left Arrow" },
553+ { 0 , 5 , 16 , " Key: Down Arrow" },
554+ { 0 , 5 , 17 , " Key: Right Arrow" },
555+ { 0 , 5 , 19 , " Key: Number Pad 0" },
556+ { 0 , 5 , 20 , " Key: Number Pad ." },
557+ };
558+
439559#define HUNTSMAN_ELITE_KEYMAP_SIZE (sizeof (huntsman_elite_keymap) / sizeof (huntsman_elite_keymap[0 ]))
440560
441561static const razer_key huntsman_elite_keymap[] =
@@ -517,11 +637,13 @@ static const razer_key huntsman_elite_keymap[] =
517637 { 0 , 3 , 10 , " Key: L" },
518638 { 0 , 3 , 11 , " Key: ;" },
519639 { 0 , 3 , 12 , " Key: '" },
640+ { 0 , 3 , 13 , " Key: #" },
520641 { 0 , 3 , 14 , " Key: Enter" },
521642 { 0 , 3 , 18 , " Key: Number Pad 4" },
522643 { 0 , 3 , 19 , " Key: Number Pad 5" },
523644 { 0 , 3 , 20 , " Key: Number Pad 6" },
524645 { 0 , 4 , 1 , " Key: Left Shift" },
646+ { 0 , 4 , 2 , " Key: \\ (ISO)" },
525647 { 0 , 4 , 3 , " Key: Z" },
526648 { 0 , 4 , 4 , " Key: X" },
527649 { 0 , 4 , 5 , " Key: C" },
@@ -634,11 +756,13 @@ static const razer_key blackwidow_elite_keymap[] =
634756 { 0 , 3 , 10 , " Key: L" },
635757 { 0 , 3 , 11 , " Key: ;" },
636758 { 0 , 3 , 12 , " Key: '" },
759+ { 0 , 3 , 13 , " Key: #" },
637760 { 0 , 3 , 14 , " Key: Enter" },
638761 { 0 , 3 , 18 , " Key: Number Pad 4" },
639762 { 0 , 3 , 19 , " Key: Number Pad 5" },
640763 { 0 , 3 , 20 , " Key: Number Pad 6" },
641764 { 0 , 4 , 1 , " Key: Left Shift" },
765+ { 0 , 4 , 2 , " Key: \\ (ISO)" },
642766 { 0 , 4 , 3 , " Key: Z" },
643767 { 0 , 4 , 4 , " Key: X" },
644768 { 0 , 4 , 5 , " Key: C" },
@@ -1093,8 +1217,8 @@ static const razer_device cynosa_chroma_device =
10931217 NULL ,
10941218 NULL
10951219 },
1096- NULL ,
1097- 0
1220+ cynosa_chroma_keymap ,
1221+ CYNOSA_CHROMA_KEYMAP_SIZE
10981222};
10991223
11001224/* -------------------------------------------------------------*\
0 commit comments