|
22 | 22 | #define RAZER_BLACKWIDOW_LITE_PID 0x0235 |
23 | 23 | #define RAZER_BLACKWIDOW_OVERWATCH_PID 0x0211 |
24 | 24 | #define RAZER_BLACKWIDOW_V3_PID 0x024E |
| 25 | +#define RAZER_BLACKWIDOW_V3_MINI_WIRED_PID 0x0258 |
| 26 | +#define RAZER_BLACKWIDOW_V3_MINI_WIRELESS_PID 0x0271 |
25 | 27 | #define RAZER_BLACKWIDOW_V3_PRO_WIRED_PID 0x025A |
26 | 28 | #define RAZER_BLACKWIDOW_V3_PRO_BLUETOOTH_PID 0x025B |
27 | 29 | #define RAZER_BLACKWIDOW_V3_PRO_WIRELESS_PID 0x025C |
@@ -525,6 +527,86 @@ static const razer_key blackwidow_v3_tkl_keymap[] = |
525 | 527 | { 0, 5, 17, "Key: Right Arrow" }, |
526 | 528 | }; |
527 | 529 |
|
| 530 | +#define BLACKWIDOW_V3_MINI_KEYMAP_SIZE (sizeof(blackwidow_v3_mini_keymap) / sizeof(blackwidow_v3_mini_keymap[0])) |
| 531 | + |
| 532 | +static const razer_key blackwidow_v3_mini_keymap[] = |
| 533 | +{ |
| 534 | + /*---------------------------------------------------------------------*\ |
| 535 | + | Zone, Row, Column, Key | |
| 536 | + \*---------------------------------------------------------------------*/ |
| 537 | + { 0, 0, 0, "Key: Escape" }, |
| 538 | + { 0, 0, 1, "Key: 1" }, |
| 539 | + { 0, 0, 2, "Key: 2" }, |
| 540 | + { 0, 0, 3, "Key: 3" }, |
| 541 | + { 0, 0, 4, "Key: 4" }, |
| 542 | + { 0, 0, 5, "Key: 5" }, |
| 543 | + { 0, 0, 6, "Key: 6" }, |
| 544 | + { 0, 0, 7, "Key: 7" }, |
| 545 | + { 0, 0, 8, "Key: 8" }, |
| 546 | + { 0, 0, 9, "Key: 9" }, |
| 547 | + { 0, 0, 10, "Key: 0" }, |
| 548 | + { 0, 0, 11, "Key: -" }, |
| 549 | + { 0, 0, 12, "Key: =" }, |
| 550 | + { 0, 0, 14, "Key: Backspace" }, |
| 551 | + { 0, 0, 15, "Key: Delete" }, |
| 552 | + { 0, 1, 0, "Key: Tab" }, |
| 553 | + { 0, 1, 1, "Key: Q" }, |
| 554 | + { 0, 1, 2, "Key: W" }, |
| 555 | + { 0, 1, 3, "Key: E" }, |
| 556 | + { 0, 1, 4, "Key: R" }, |
| 557 | + { 0, 1, 5, "Key: T" }, |
| 558 | + { 0, 1, 6, "Key: Y" }, |
| 559 | + { 0, 1, 7, "Key: U" }, |
| 560 | + { 0, 1, 8, "Key: I" }, |
| 561 | + { 0, 1, 9, "Key: O" }, |
| 562 | + { 0, 1, 10, "Key: P" }, |
| 563 | + { 0, 1, 11, "Key: [" }, |
| 564 | + { 0, 1, 12, "Key: ]" }, |
| 565 | + { 0, 1, 13, "Key: \\ (ANSI)" }, |
| 566 | + { 0, 1, 15, "Key: Page Up" }, |
| 567 | + { 0, 2, 0, "Key: Caps Lock" }, |
| 568 | + { 0, 2, 1, "Key: A" }, |
| 569 | + { 0, 2, 2, "Key: S" }, |
| 570 | + { 0, 2, 3, "Key: D" }, |
| 571 | + { 0, 2, 4, "Key: F" }, |
| 572 | + { 0, 2, 5, "Key: G" }, |
| 573 | + { 0, 2, 6, "Key: H" }, |
| 574 | + { 0, 2, 7, "Key: J" }, |
| 575 | + { 0, 2, 8, "Key: K" }, |
| 576 | + { 0, 2, 9, "Key: L" }, |
| 577 | + { 0, 2, 10, "Key: ;" }, |
| 578 | + { 0, 2, 11, "Key: '" }, |
| 579 | + { 0, 2, 12, "Key: #" }, |
| 580 | + { 0, 2, 13, "Key: Enter" }, |
| 581 | + { 0, 2, 15, "Key: Page Down" }, |
| 582 | + { 0, 3, 0, "Key: Left Shift" }, |
| 583 | + { 0, 3, 1, "Key: \\ (ISO)" }, |
| 584 | + { 0, 3, 2, "Key: Z" }, |
| 585 | + { 0, 3, 3, "Key: X" }, |
| 586 | + { 0, 3, 4, "Key: C" }, |
| 587 | + { 0, 3, 5, "Key: V" }, |
| 588 | + { 0, 3, 6, "Key: B" }, |
| 589 | + { 0, 3, 7, "Key: N" }, |
| 590 | + { 0, 3, 8, "Key: M" }, |
| 591 | + { 0, 3, 9, "Key: ," }, |
| 592 | + { 0, 3, 10, "Key: ." }, |
| 593 | + { 0, 3, 11, "Key: /" }, |
| 594 | + { 0, 3, 13, "Key: Right Shift" }, |
| 595 | + { 0, 3, 14, "Key: Up Arrow" }, |
| 596 | + { 0, 3, 15, "Key: Insert" }, |
| 597 | + { 0, 4, 0, "Key: Left Control" }, |
| 598 | + { 0, 4, 1, "Key: Left Windows" }, |
| 599 | + { 0, 4, 2, "Key: Left Alt" }, |
| 600 | + { 0, 4, 6, "Key: Space" }, |
| 601 | + { 0, 4, 7, "Logo" }, |
| 602 | + { 0, 4, 10, "Key: Right Alt" }, |
| 603 | + { 0, 4, 11, "Key: Right Fn" }, |
| 604 | + { 0, 4, 12, "Key: Right Control" }, |
| 605 | + { 0, 4, 13, "Key: Left Arrow" }, |
| 606 | + { 0, 4, 14, "Key: Down Arrow" }, |
| 607 | + { 0, 4, 15, "Key: Right Arrow" }, |
| 608 | +}; |
| 609 | + |
528 | 610 | #define BOOK_13_2020_KEYMAP_SIZE (sizeof(book_13_2020_keymap) / sizeof(book_13_2020_keymap[0])) |
529 | 611 |
|
530 | 612 | static const razer_key book_13_2020_keymap[] = |
@@ -2630,6 +2712,68 @@ static const razer_device blackwidow_v3_tkl_device = |
2630 | 2712 | BLACKWIDOW_V3_TKL_KEYMAP_SIZE |
2631 | 2713 | }; |
2632 | 2714 |
|
| 2715 | +/*-------------------------------------------------------------*\ |
| 2716 | +| Razer Blackwidow V3 Mini (Wired) 1532:0258 | |
| 2717 | +| | |
| 2718 | +| Zone "Keyboard" | |
| 2719 | +| Matrix | |
| 2720 | +| 5 Rows, 16 Columns | |
| 2721 | +\*-------------------------------------------------------------*/ |
| 2722 | +static const razer_zone blackwidow_v3_mini_zone = |
| 2723 | +{ |
| 2724 | + "Keyboard", |
| 2725 | + ZONE_TYPE_MATRIX, |
| 2726 | + 5, |
| 2727 | + 16 |
| 2728 | +}; |
| 2729 | + |
| 2730 | +static const razer_device blackwidow_v3_mini_wired_device = |
| 2731 | +{ |
| 2732 | + "Razer BlackWidow V3 Mini (Wired)", |
| 2733 | + RAZER_BLACKWIDOW_V3_MINI_WIRED_PID, |
| 2734 | + DEVICE_TYPE_KEYBOARD, |
| 2735 | + true, |
| 2736 | + 5, |
| 2737 | + 16, |
| 2738 | + { |
| 2739 | + &blackwidow_v3_mini_zone, |
| 2740 | + NULL, |
| 2741 | + NULL, |
| 2742 | + NULL, |
| 2743 | + NULL, |
| 2744 | + NULL |
| 2745 | + }, |
| 2746 | + blackwidow_v3_mini_keymap, |
| 2747 | + BLACKWIDOW_V3_MINI_KEYMAP_SIZE |
| 2748 | +}; |
| 2749 | + |
| 2750 | +/*-------------------------------------------------------------*\ |
| 2751 | +| Razer Blackwidow V3 Mini (Wireless) 1532:0271 | |
| 2752 | +| | |
| 2753 | +| Zone "Keyboard" | |
| 2754 | +| Matrix | |
| 2755 | +| 5 Rows, 16 Columns | |
| 2756 | +\*-------------------------------------------------------------*/ |
| 2757 | +static const razer_device blackwidow_v3_mini_wireless_device = |
| 2758 | +{ |
| 2759 | + "Razer BlackWidow V3 Mini (Wireless)", |
| 2760 | + RAZER_BLACKWIDOW_V3_MINI_WIRELESS_PID, |
| 2761 | + DEVICE_TYPE_KEYBOARD, |
| 2762 | + true, |
| 2763 | + 5, |
| 2764 | + 16, |
| 2765 | + { |
| 2766 | + &blackwidow_v3_mini_zone, |
| 2767 | + NULL, |
| 2768 | + NULL, |
| 2769 | + NULL, |
| 2770 | + NULL, |
| 2771 | + NULL |
| 2772 | + }, |
| 2773 | + blackwidow_v3_mini_keymap, |
| 2774 | + BLACKWIDOW_V3_MINI_KEYMAP_SIZE |
| 2775 | +}; |
| 2776 | + |
2633 | 2777 | /*-------------------------------------------------------------*\ |
2634 | 2778 | | Razer Blackwidow X Chroma 1532:0216 | |
2635 | 2779 | | | |
@@ -7267,6 +7411,8 @@ static const razer_device* device_list[] = |
7267 | 7411 | &blackwidow_v3_pro_wireless_device, |
7268 | 7412 | &blackwidow_v3_pro_bluetooth_device, |
7269 | 7413 | &blackwidow_v3_tkl_device, |
| 7414 | + &blackwidow_v3_mini_wired_device, |
| 7415 | + &blackwidow_v3_mini_wireless_device, |
7270 | 7416 | &blackwidow_x_chroma_device, |
7271 | 7417 | &blackwidow_x_chroma_te_device, |
7272 | 7418 | &cynosa_chroma_device, |
|
0 commit comments