diff options
author | QMK Bot <hello@qmk.fm> | 2021-02-13 17:06:25 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-02-13 17:06:25 +0000 |
commit | 57d2409c081c2fd546036a6b15dfbd9481fddc1d (patch) | |
tree | 31271ba17a3aa071cef44164aeed19d25dbda9a2 | |
parent | afa88a4616295c87c59cda39ae88dc3f90b3f226 (diff) | |
parent | 8af7e5ea81f6120b5ce13212b8acbb58ee66c0a5 (diff) | |
download | qmk_firmware-57d2409c081c2fd546036a6b15dfbd9481fddc1d.tar.gz qmk_firmware-57d2409c081c2fd546036a6b15dfbd9481fddc1d.zip |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | keyboards/durgod/k320/info.json | 458 | ||||
-rw-r--r-- | keyboards/durgod/k320/k320.h | 18 | ||||
-rw-r--r-- | keyboards/durgod/k320/keymaps/default_iso/keymap.c | 72 | ||||
-rw-r--r-- | keyboards/durgod/k320/keymaps/default_iso/readme.md | 7 | ||||
-rw-r--r-- | keyboards/durgod/k320/keymaps/default_iso_mac/keymap.c | 71 | ||||
-rw-r--r-- | keyboards/durgod/k320/keymaps/default_iso_mac/readme.md | 6 | ||||
-rw-r--r-- | keyboards/durgod/k320/rules.mk | 2 |
7 files changed, 633 insertions, 1 deletions
diff --git a/keyboards/durgod/k320/info.json b/keyboards/durgod/k320/info.json index 0f0c584e6..5e33d8fcd 100644 --- a/keyboards/durgod/k320/info.json +++ b/keyboards/durgod/k320/info.json | |||
@@ -457,6 +457,464 @@ | |||
457 | "y": 5.5 | 457 | "y": 5.5 |
458 | } | 458 | } |
459 | ] | 459 | ] |
460 | }, | ||
461 | "LAYOUT_tkl_iso": { | ||
462 | "layout": [ | ||
463 | { | ||
464 | "label": "Esc", | ||
465 | "x": 0, | ||
466 | "y": 0 | ||
467 | }, | ||
468 | { | ||
469 | "label": "F1", | ||
470 | "x": 2, | ||
471 | "y": 0 | ||
472 | }, | ||
473 | { | ||
474 | "label": "F2", | ||
475 | "x": 3, | ||
476 | "y": 0 | ||
477 | }, | ||
478 | { | ||
479 | "label": "F3", | ||
480 | "x": 4, | ||
481 | "y": 0 | ||
482 | }, | ||
483 | { | ||
484 | "label": "F4", | ||
485 | "x": 5, | ||
486 | "y": 0 | ||
487 | }, | ||
488 | { | ||
489 | "label": "F5", | ||
490 | "x": 6.5, | ||
491 | "y": 0 | ||
492 | }, | ||
493 | { | ||
494 | "label": "F6", | ||
495 | "x": 7.5, | ||
496 | "y": 0 | ||
497 | }, | ||
498 | { | ||
499 | "label": "F7", | ||
500 | "x": 8.5, | ||
501 | "y": 0 | ||
502 | }, | ||
503 | { | ||
504 | "label": "F8", | ||
505 | "x": 9.5, | ||
506 | "y": 0 | ||
507 | }, | ||
508 | { | ||
509 | "label": "F9", | ||
510 | "x": 11, | ||
511 | "y": 0 | ||
512 | }, | ||
513 | { | ||
514 | "label": "F10", | ||
515 | "x": 12, | ||
516 | "y": 0 | ||
517 | }, | ||
518 | { | ||
519 | "label": "F11", | ||
520 | "x": 13, | ||
521 | "y": 0 | ||
522 | }, | ||
523 | { | ||
524 | "label": "F12", | ||
525 | "x": 14, | ||
526 | "y": 0 | ||
527 | }, | ||
528 | { | ||
529 | "label": "PrtSc", | ||
530 | "x": 15.25, | ||
531 | "y": 0 | ||
532 | }, | ||
533 | { | ||
534 | "label": "Scroll Lock", | ||
535 | "x": 16.25, | ||
536 | "y": 0 | ||
537 | }, | ||
538 | { | ||
539 | "label": "Pause", | ||
540 | "x": 17.25, | ||
541 | "y": 0 | ||
542 | }, | ||
543 | { | ||
544 | "label": "~", | ||
545 | "x": 0, | ||
546 | "y": 1.5 | ||
547 | }, | ||
548 | { | ||
549 | "label": "!", | ||
550 | "x": 1, | ||
551 | "y": 1.5 | ||
552 | }, | ||
553 | { | ||
554 | "label": "@", | ||
555 | "x": 2, | ||
556 | "y": 1.5 | ||
557 | }, | ||
558 | { | ||
559 | "label": "#", | ||
560 | "x": 3, | ||
561 | "y": 1.5 | ||
562 | }, | ||
563 | { | ||
564 | "label": "$", | ||
565 | "x": 4, | ||
566 | "y": 1.5 | ||
567 | }, | ||
568 | { | ||
569 | "label": "%", | ||
570 | "x": 5, | ||
571 | "y": 1.5 | ||
572 | }, | ||
573 | { | ||
574 | "label": "^", | ||
575 | "x": 6, | ||
576 | "y": 1.5 | ||
577 | }, | ||
578 | { | ||
579 | "label": "&", | ||
580 | "x": 7, | ||
581 | "y": 1.5 | ||
582 | }, | ||
583 | { | ||
584 | "label": "*", | ||
585 | "x": 8, | ||
586 | "y": 1.5 | ||
587 | }, | ||
588 | { | ||
589 | "label": "(", | ||
590 | "x": 9, | ||
591 | "y": 1.5 | ||
592 | }, | ||
593 | { | ||
594 | "label": ")", | ||
595 | "x": 10, | ||
596 | "y": 1.5 | ||
597 | }, | ||
598 | { | ||
599 | "label": "_", | ||
600 | "x": 11, | ||
601 | "y": 1.5 | ||
602 | }, | ||
603 | { | ||
604 | "label": "+", | ||
605 | "x": 12, | ||
606 | "y": 1.5 | ||
607 | }, | ||
608 | { | ||
609 | "label": "Backspace", | ||
610 | "x": 13, | ||
611 | "y": 1.5, | ||
612 | "w": 2 | ||
613 | }, | ||
614 | { | ||
615 | "label": "Insert", | ||
616 | "x": 15.25, | ||
617 | "y": 1.5 | ||
618 | }, | ||
619 | { | ||
620 | "label": "Home", | ||
621 | "x": 16.25, | ||
622 | "y": 1.5 | ||
623 | }, | ||
624 | { | ||
625 | "label": "PgUp", | ||
626 | "x": 17.25, | ||
627 | "y": 1.5 | ||
628 | }, | ||
629 | { | ||
630 | "label": "Tab", | ||
631 | "x": 0, | ||
632 | "y": 2.5, | ||
633 | "w": 1.5 | ||
634 | }, | ||
635 | { | ||
636 | "label": "Q", | ||
637 | "x": 1.5, | ||
638 | "y": 2.5 | ||
639 | }, | ||
640 | { | ||
641 | "label": "W", | ||
642 | "x": 2.5, | ||
643 | "y": 2.5 | ||
644 | }, | ||
645 | { | ||
646 | "label": "E", | ||
647 | "x": 3.5, | ||
648 | "y": 2.5 | ||
649 | }, | ||
650 | { | ||
651 | "label": "R", | ||
652 | "x": 4.5, | ||
653 | "y": 2.5 | ||
654 | }, | ||
655 | { | ||
656 | "label": "T", | ||
657 | "x": 5.5, | ||
658 | "y": 2.5 | ||
659 | }, | ||
660 | { | ||
661 | "label": "Y", | ||
662 | "x": 6.5, | ||
663 | "y": 2.5 | ||
664 | }, | ||
665 | { | ||
666 | "label": "U", | ||
667 | "x": 7.5, | ||
668 | "y": 2.5 | ||
669 | }, | ||
670 | { | ||
671 | "label": "I", | ||
672 | "x": 8.5, | ||
673 | "y": 2.5 | ||
674 | }, | ||
675 | { | ||
676 | "label": "O", | ||
677 | "x": 9.5, | ||
678 | "y": 2.5 | ||
679 | }, | ||
680 | { | ||
681 | "label": "P", | ||
682 | "x": 10.5, | ||
683 | "y": 2.5 | ||
684 | }, | ||
685 | { | ||
686 | "label": "{", | ||
687 | "x": 11.5, | ||
688 | "y": 2.5 | ||
689 | }, | ||
690 | { | ||
691 | "label": "}", | ||
692 | "x": 12.5, | ||
693 | "y": 2.5 | ||
694 | }, | ||
695 | { | ||
696 | "label": "Enter", | ||
697 | "x": 13.75, | ||
698 | "y": 2.5, | ||
699 | "w": 1.25, | ||
700 | "h": 2 | ||
701 | }, | ||
702 | { | ||
703 | "label": "Delete", | ||
704 | "x": 15.25, | ||
705 | "y": 2.5 | ||
706 | }, | ||
707 | { | ||
708 | "label": "End", | ||
709 | "x": 16.25, | ||
710 | "y": 2.5 | ||
711 | }, | ||
712 | { | ||
713 | "label": "PgDn", | ||
714 | "x": 17.25, | ||
715 | "y": 2.5 | ||
716 | }, | ||
717 | { | ||
718 | "label": "Caps Lock", | ||
719 | "x": 0, | ||
720 | "y": 3.5, | ||
721 | "w": 1.75 | ||
722 | }, | ||
723 | { | ||
724 | "label": "A", | ||
725 | "x": 1.75, | ||
726 | "y": 3.5 | ||
727 | }, | ||
728 | { | ||
729 | "label": "S", | ||
730 | "x": 2.75, | ||
731 | "y": 3.5 | ||
732 | }, | ||
733 | { | ||
734 | "label": "D", | ||
735 | "x": 3.75, | ||
736 | "y": 3.5 | ||
737 | }, | ||
738 | { | ||
739 | "label": "F", | ||
740 | "x": 4.75, | ||
741 | "y": 3.5 | ||
742 | }, | ||
743 | { | ||
744 | "label": "G", | ||
745 | "x": 5.75, | ||
746 | "y": 3.5 | ||
747 | }, | ||
748 | { | ||
749 | "label": "H", | ||
750 | "x": 6.75, | ||
751 | "y": 3.5 | ||
752 | }, | ||
753 | { | ||
754 | "label": "J", | ||
755 | "x": 7.75, | ||
756 | "y": 3.5 | ||
757 | }, | ||
758 | { | ||
759 | "label": "K", | ||
760 | "x": 8.75, | ||
761 | "y": 3.5 | ||
762 | }, | ||
763 | { | ||
764 | "label": "L", | ||
765 | "x": 9.75, | ||
766 | "y": 3.5 | ||
767 | }, | ||
768 | { | ||
769 | "label": ":", | ||
770 | "x": 10.75, | ||
771 | "y": 3.5 | ||
772 | }, | ||
773 | { | ||
774 | "label": "\"", | ||
775 | "x": 11.75, | ||
776 | "y": 3.5 | ||
777 | }, | ||
778 | { | ||
779 | "label": "#", | ||
780 | "x": 12.75, | ||
781 | "y": 3.5 | ||
782 | }, | ||
783 | { | ||
784 | "label": "Shift", | ||
785 | "x": 0, | ||
786 | "y": 4.5, | ||
787 | "w": 1.25 | ||
788 | }, | ||
789 | { | ||
790 | "label": "\\", | ||
791 | "x": 1.25, | ||
792 | "y": 4.5 | ||
793 | }, | ||
794 | { | ||
795 | "label": "Z", | ||
796 | "x": 2.25, | ||
797 | "y": 4.5 | ||
798 | }, | ||
799 | { | ||
800 | "label": "X", | ||
801 | "x": 3.25, | ||
802 | "y": 4.5 | ||
803 | }, | ||
804 | { | ||
805 | "label": "C", | ||
806 | "x": 4.25, | ||
807 | "y": 4.5 | ||
808 | }, | ||
809 | { | ||
810 | "label": "V", | ||
811 | "x": 5.25, | ||
812 | "y": 4.5 | ||
813 | }, | ||
814 | { | ||
815 | "label": "B", | ||
816 | "x": 6.25, | ||
817 | "y": 4.5 | ||
818 | }, | ||
819 | { | ||
820 | "label": "N", | ||
821 | "x": 7.25, | ||
822 | "y": 4.5 | ||
823 | }, | ||
824 | { | ||
825 | "label": "M", | ||
826 | "x": 8.25, | ||
827 | "y": 4.5 | ||
828 | }, | ||
829 | { | ||
830 | "label": "<", | ||
831 | "x": 9.25, | ||
832 | "y": 4.5 | ||
833 | }, | ||
834 | { | ||
835 | "label": ">", | ||
836 | "x": 10.25, | ||
837 | "y": 4.5 | ||
838 | }, | ||
839 | { | ||
840 | "label": "?", | ||
841 | "x": 11.25, | ||
842 | "y": 4.5 | ||
843 | }, | ||
844 | { | ||
845 | "label": "Shift", | ||
846 | "x": 12.25, | ||
847 | "y": 4.5, | ||
848 | "w": 2.75 | ||
849 | }, | ||
850 | { | ||
851 | "label": "\u2191", | ||
852 | "x": 16.25, | ||
853 | "y": 4.5 | ||
854 | }, | ||
855 | { | ||
856 | "label": "Ctrl", | ||
857 | "x": 0, | ||
858 | "y": 5.5, | ||
859 | "w": 1.25 | ||
860 | }, | ||
861 | { | ||
862 | "label": "Win", | ||
863 | "x": 1.25, | ||
864 | "y": 5.5, | ||
865 | "w": 1.25 | ||
866 | }, | ||
867 | { | ||
868 | "label": "Alt", | ||
869 | "x": 2.5, | ||
870 | "y": 5.5, | ||
871 | "w": 1.25 | ||
872 | }, | ||
873 | { | ||
874 | "x": 3.75, | ||
875 | "y": 5.5, | ||
876 | "w": 6.25 | ||
877 | }, | ||
878 | { | ||
879 | "label": "Alt", | ||
880 | "x": 10, | ||
881 | "y": 5.5, | ||
882 | "w": 1.25 | ||
883 | }, | ||
884 | { | ||
885 | "label": "Fn", | ||
886 | "x": 11.25, | ||
887 | "y": 5.5, | ||
888 | "w": 1.25 | ||
889 | }, | ||
890 | { | ||
891 | "label": "Menu", | ||
892 | "x": 12.5, | ||
893 | "y": 5.5, | ||
894 | "w": 1.25 | ||
895 | }, | ||
896 | { | ||
897 | "label": "Ctrl", | ||
898 | "x": 13.75, | ||
899 | "y": 5.5, | ||
900 | "w": 1.25 | ||
901 | }, | ||
902 | { | ||
903 | "label": "\u2190", | ||
904 | "x": 15.25, | ||
905 | "y": 5.5 | ||
906 | }, | ||
907 | { | ||
908 | "label": "\u2193", | ||
909 | "x": 16.25, | ||
910 | "y": 5.5 | ||
911 | }, | ||
912 | { | ||
913 | "label": "\u2192", | ||
914 | "x": 17.25, | ||
915 | "y": 5.5 | ||
916 | } | ||
917 | ] | ||
460 | } | 918 | } |
461 | } | 919 | } |
462 | } | 920 | } |
diff --git a/keyboards/durgod/k320/k320.h b/keyboards/durgod/k320/k320.h index 1f5b884a7..956cc0dcd 100644 --- a/keyboards/durgod/k320/k320.h +++ b/keyboards/durgod/k320/k320.h | |||
@@ -42,3 +42,21 @@ void on_all_leds(void); | |||
42 | { K50, K51, K52, XXX, XXX, XXX, K56, XXX, XXX, XXX, K5A, K5B, K5C, K5D, K5E, K5F }, \ | 42 | { K50, K51, K52, XXX, XXX, XXX, K56, XXX, XXX, XXX, K5A, K5B, K5C, K5D, K5E, K5F }, \ |
43 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, K6F } \ | 43 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, K6F } \ |
44 | } | 44 | } |
45 | |||
46 | // This a shortcut to help you visually see your layout. | ||
47 | #define LAYOUT_tkl_iso( \ | ||
48 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ | ||
49 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K2E, K2F, K1F, \ | ||
50 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K4E, K3D, K3E, K3F, \ | ||
51 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, \ | ||
52 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4F, \ | ||
53 | K50, K51, K52, K56, K5A, K5B, K5C, K5D, K5E, K5F, K6F \ | ||
54 | ) { \ | ||
55 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ | ||
56 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, XXX, K1E, K1F }, \ | ||
57 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, XXX, K2E, K2F }, \ | ||
58 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \ | ||
59 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, XXX, K4D, K4E, K4F }, \ | ||
60 | { K50, K51, K52, XXX, XXX, XXX, K56, XXX, XXX, XXX, K5A, K5B, K5C, K5D, K5E, K5F }, \ | ||
61 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, K6F } \ | ||
62 | } | ||
diff --git a/keyboards/durgod/k320/keymaps/default_iso/keymap.c b/keyboards/durgod/k320/keymaps/default_iso/keymap.c new file mode 100644 index 000000000..559b6fe71 --- /dev/null +++ b/keyboards/durgod/k320/keymaps/default_iso/keymap.c | |||
@@ -0,0 +1,72 @@ | |||
1 | /* Copyright 2021 kuenhlee and Don Kjer | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | // Layer shorthand | ||
19 | enum _layer { | ||
20 | _BASE, | ||
21 | _FUNC | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | /* Keymap _BASE: Base Layer (Default Layer) | ||
26 | * ,-----------------------------------------------------------. ,--------------. | ||
27 | * |Esc |f1| f2| f3| f4| | f5| f6| f7| f8| | f9|f10|f11|f12| |Prnt|ScLk|Paus| | ||
28 | * |-----------------------------------------------------------| |--------------| | ||
29 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0| - | = |Backsp | | Ins|Home|PgUp| | ||
30 | * |-----------------------------------------------------------| |--------------| | ||
31 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | | Del| End|PgDn| | ||
32 | * |------------------------------------------------------ Ret | `--------------' | ||
33 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| #| | | ||
34 | * |-----------------------------------------------------------| ,----. | ||
35 | * |Shift| \| Z| X| C| V| B| N| M| ,| .| /|Shift | | Up | | ||
36 | * |-----------------------------------------------------------| ,-------------. | ||
37 | * |Ctrl|Gui |Alt | Space |Alt | Fn |App |Ctrl| |Lft| Dn |Rig | | ||
38 | * `-----------------------------------------------------------' `-------------' | ||
39 | */ | ||
40 | [_BASE] = LAYOUT_tkl_iso( /* Base Layer */ | ||
41 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
43 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, KC_DEL, KC_END, KC_PGDN, | ||
44 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, | ||
45 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
46 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FUNC),KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
47 | ), | ||
48 | /* Keymap _FUNC: Function Layer | ||
49 | * ,-----------------------------------------------------------. ,--------------. | ||
50 | * | |Play|Stop|Prev|Next| |Mute|Vol+|Vol-| | | | | | | | | | | | ||
51 | * |-----------------------------------------------------------| |--------------| | ||
52 | * | | | | | | | | | | | | | | | | | | | | ||
53 | * |-----------------------------------------------------------| |--------------| | ||
54 | * | | | | | | | | | | | | | | | | | | | | ||
55 | * |------------------------------------------------------- | `--------------' | ||
56 | * | | | | | | | | | | | | | | | | ||
57 | * |-----------------------------------------------------------| ,----. | ||
58 | * | | | | | | | | | | | | | | | | | ||
59 | * |-----------------------------------------------------------| ,-------------. | ||
60 | * | | | | | |Func | | | | | | | | ||
61 | * `-----------------------------------------------------------' `-------------' | ||
62 | */ | ||
63 | [_FUNC] = LAYOUT_tkl_iso( /* Function Layer */ | ||
64 | _______, KC_MPLY, KC_MSTP, KC_MRWD, KC_MFFD, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
70 | ) | ||
71 | }; | ||
72 | |||
diff --git a/keyboards/durgod/k320/keymaps/default_iso/readme.md b/keyboards/durgod/k320/keymaps/default_iso/readme.md new file mode 100644 index 000000000..a7d1d5f1d --- /dev/null +++ b/keyboards/durgod/k320/keymaps/default_iso/readme.md | |||
@@ -0,0 +1,7 @@ | |||
1 | # The ISO keymap for Durgod Taurus K320. | ||
2 | |||
3 | Layer 0 : Standard ISO 88 Keys TKL layout (Windows) | ||
4 | |||
5 | Layer 1 : Media control and Windows lock key | ||
6 | - Reusing Durgod's Original Media Control for Fn + F1 ~ Fn + F7 | ||
7 | |||
diff --git a/keyboards/durgod/k320/keymaps/default_iso_mac/keymap.c b/keyboards/durgod/k320/keymaps/default_iso_mac/keymap.c new file mode 100644 index 000000000..783fc45f1 --- /dev/null +++ b/keyboards/durgod/k320/keymaps/default_iso_mac/keymap.c | |||
@@ -0,0 +1,71 @@ | |||
1 | /* Copyright 2021 kuenhlee and Don Kjer | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | // Layer shorthand | ||
19 | enum _layer { | ||
20 | _BASE, | ||
21 | _FUNC | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | /* Keymap _BASE: Base Layer (Default Layer) | ||
26 | * ,-----------------------------------------------------------. ,--------------. | ||
27 | * |Esc |f1| f2| f3| f4| | f5| f6| f7| f8| | f9|f10|f11|f12| |Prnt|ScLk|Paus| | ||
28 | * |-----------------------------------------------------------| |--------------| | ||
29 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0| - | = |Backsp | | Ins|Home|PgUp| | ||
30 | * |-----------------------------------------------------------| |--------------| | ||
31 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | | Del| End|PgDn| | ||
32 | * |------------------------------------------------------ Ret | `--------------' | ||
33 | * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| #| | | ||
34 | * |-----------------------------------------------------------| ,----. | ||
35 | * |Shift| \| Z| X| C| V| B| N| M| ,| .| /|Shift | | Up | | ||
36 | * |-----------------------------------------------------------| ,-------------. | ||
37 | * |Ctrl|Alt |Gui | Space |Alt | Fn |App |Ctrl| |Lft| Dn |Rig | | ||
38 | * `-----------------------------------------------------------' `-------------' | ||
39 | */ | ||
40 | [_BASE] = LAYOUT_tkl_iso( /* Base Layer */ | ||
41 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
42 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
43 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, KC_DEL, KC_END, KC_PGDN, | ||
44 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, | ||
45 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
46 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(_FUNC),KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
47 | ), | ||
48 | /* Keymap _FUNC: Function Layer | ||
49 | * ,-----------------------------------------------------------. ,--------------. | ||
50 | * | |Play|Stop|Prev|Next| |Mute|Vol+|Vol-| | | | | | | | | | | | ||
51 | * |-----------------------------------------------------------| |--------------| | ||
52 | * | | | | | | | | | | | | | | | | | | | | ||
53 | * |-----------------------------------------------------------| |--------------| | ||
54 | * | | | | | | | | | | | | | | | | | | | | ||
55 | * |------------------------------------------------------- | `--------------' | ||
56 | * | | | | | | | | | | | | | | | | ||
57 | * |-----------------------------------------------------------| ,----. | ||
58 | * | | | | | | | | | | | | | | | | | ||
59 | * |-----------------------------------------------------------| ,-------------. | ||
60 | * | | | | | |Func | | | | | | | | ||
61 | * `-----------------------------------------------------------' `-------------' | ||
62 | */ | ||
63 | [_FUNC] = LAYOUT_tkl_iso( /* Function Layer */ | ||
64 | _______, KC_MPLY, KC_MSTP, KC_MRWD, KC_MFFD, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, | ||
65 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
66 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
68 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
70 | ) | ||
71 | }; | ||
diff --git a/keyboards/durgod/k320/keymaps/default_iso_mac/readme.md b/keyboards/durgod/k320/keymaps/default_iso_mac/readme.md new file mode 100644 index 000000000..354f7b4cb --- /dev/null +++ b/keyboards/durgod/k320/keymaps/default_iso_mac/readme.md | |||
@@ -0,0 +1,6 @@ | |||
1 | # The ISO (Mac) keymap for Durgod Taurus K320. | ||
2 | |||
3 | Layer 0 : Standard ISO 88 Keys TKL layout (Mac) | ||
4 | |||
5 | Layer 1 : Media control | ||
6 | - Reusing Durgod's Original Media Control for Fn + F1 ~ Fn + F7 | ||
diff --git a/keyboards/durgod/k320/rules.mk b/keyboards/durgod/k320/rules.mk index 3fb50bb8a..040ea2dc8 100644 --- a/keyboards/durgod/k320/rules.mk +++ b/keyboards/durgod/k320/rules.mk | |||
@@ -24,4 +24,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
24 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 24 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
25 | AUDIO_ENABLE = no # Audio output | 25 | AUDIO_ENABLE = no # Audio output |
26 | 26 | ||
27 | LAYOUTS = tkl_ansi | 27 | LAYOUTS = tkl_ansi tkl_iso |