aboutsummaryrefslogtreecommitdiff
path: root/keyboards/phantom
diff options
context:
space:
mode:
authorjshuf <44121348+jshuf@users.noreply.github.com>2018-10-16 20:13:53 -0400
committerDrashna Jaelre <drashna@live.com>2018-10-16 17:13:53 -0700
commit9de4ace6f274c5bebfcfd8d31fa793f8d9060cb5 (patch)
tree7ebe57782800576edaa37aacf887c897544d0a7c /keyboards/phantom
parent1f13254460db4ad4cb3c4868b69fbb35cca9c764 (diff)
downloadqmk_firmware-9de4ace6f274c5bebfcfd8d31fa793f8d9060cb5.tar.gz
qmk_firmware-9de4ace6f274c5bebfcfd8d31fa793f8d9060cb5.zip
Keyboard: Add tkl_ansi_plus_five layout for Phantom (#4145)
* 60_ansi keymap for DZ60 * 60_ansi keymap for DZ60 Amend author * 60_ansi keymap for DZ60 * Merge new phantom layout from dev branch
Diffstat (limited to 'keyboards/phantom')
-rw-r--r--keyboards/phantom/info.json474
-rw-r--r--keyboards/phantom/phantom.h18
2 files changed, 492 insertions, 0 deletions
diff --git a/keyboards/phantom/info.json b/keyboards/phantom/info.json
index cf7b16180..6a1e4f72f 100644
--- a/keyboards/phantom/info.json
+++ b/keyboards/phantom/info.json
@@ -459,6 +459,480 @@
459 } 459 }
460 ] 460 ]
461 }, 461 },
462 "LAYOUT_tkl_ansi_plus_five": {
463 "key_count": 92,
464 "layout": [
465 {
466 "label": "Esc",
467 "x": 0,
468 "y": 0
469 },
470 {
471 "label": "F1",
472 "x": 2,
473 "y": 0
474 },
475 {
476 "label": "F2",
477 "x": 3,
478 "y": 0
479 },
480 {
481 "label": "F3",
482 "x": 4,
483 "y": 0
484 },
485 {
486 "label": "F4",
487 "x": 5,
488 "y": 0
489 },
490 {
491 "label": "F5",
492 "x": 6.5,
493 "y": 0
494 },
495 {
496 "label": "F6",
497 "x": 7.5,
498 "y": 0
499 },
500 {
501 "label": "F7",
502 "x": 8.5,
503 "y": 0
504 },
505 {
506 "label": "F8",
507 "x": 9.5,
508 "y": 0
509 },
510 {
511 "label": "F9",
512 "x": 11,
513 "y": 0
514 },
515 {
516 "label": "F10",
517 "x": 12,
518 "y": 0
519 },
520 {
521 "label": "F11",
522 "x": 13,
523 "y": 0
524 },
525 {
526 "label": "F12",
527 "x": 14,
528 "y": 0
529 },
530 {
531 "label": "PrtSc",
532 "x": 15.25,
533 "y": 0
534 },
535 {
536 "label": "Scroll Lock",
537 "x": 16.25,
538 "y": 0
539 },
540 {
541 "label": "Pause",
542 "x": 17.25,
543 "y": 0
544 },
545 {
546 "label": "~",
547 "x": 0,
548 "y": 1.5
549 },
550 {
551 "label": "!",
552 "x": 1,
553 "y": 1.5
554 },
555 {
556 "label": "@",
557 "x": 2,
558 "y": 1.5
559 },
560 {
561 "label": "#",
562 "x": 3,
563 "y": 1.5
564 },
565 {
566 "label": "$",
567 "x": 4,
568 "y": 1.5
569 },
570 {
571 "label": "%",
572 "x": 5,
573 "y": 1.5
574 },
575 {
576 "label": "^",
577 "x": 6,
578 "y": 1.5
579 },
580 {
581 "label": "&",
582 "x": 7,
583 "y": 1.5
584 },
585 {
586 "label": "*",
587 "x": 8,
588 "y": 1.5
589 },
590 {
591 "label": "(",
592 "x": 9,
593 "y": 1.5
594 },
595 {
596 "label": ")",
597 "x": 10,
598 "y": 1.5
599 },
600 {
601 "label": "_",
602 "x": 11,
603 "y": 1.5
604 },
605 {
606 "label": "+",
607 "x": 12,
608 "y": 1.5
609 },
610 {
611 "label": "Backspace",
612 "x": 13,
613 "y": 1.5,
614 "w": 2
615 },
616 {
617 "label": "Insert",
618 "x": 15.25,
619 "y": 1.5
620 },
621 {
622 "label": "Home",
623 "x": 16.25,
624 "y": 1.5
625 },
626 {
627 "label": "PgUp",
628 "x": 17.25,
629 "y": 1.5
630 },
631 {
632 "label": "Tab",
633 "x": 0,
634 "y": 2.5,
635 "w": 1.5
636 },
637 {
638 "label": "Q",
639 "x": 1.5,
640 "y": 2.5
641 },
642 {
643 "label": "W",
644 "x": 2.5,
645 "y": 2.5
646 },
647 {
648 "label": "E",
649 "x": 3.5,
650 "y": 2.5
651 },
652 {
653 "label": "R",
654 "x": 4.5,
655 "y": 2.5
656 },
657 {
658 "label": "T",
659 "x": 5.5,
660 "y": 2.5
661 },
662 {
663 "label": "Y",
664 "x": 6.5,
665 "y": 2.5
666 },
667 {
668 "label": "U",
669 "x": 7.5,
670 "y": 2.5
671 },
672 {
673 "label": "I",
674 "x": 8.5,
675 "y": 2.5
676 },
677 {
678 "label": "O",
679 "x": 9.5,
680 "y": 2.5
681 },
682 {
683 "label": "P",
684 "x": 10.5,
685 "y": 2.5
686 },
687 {
688 "label": "{",
689 "x": 11.5,
690 "y": 2.5
691 },
692 {
693 "label": "}",
694 "x": 12.5,
695 "y": 2.5
696 },
697 {
698 "label": "|",
699 "x": 13.5,
700 "y": 2.5,
701 "w": 1.5
702 },
703 {
704 "label": "Delete",
705 "x": 15.25,
706 "y": 2.5
707 },
708 {
709 "label": "End",
710 "x": 16.25,
711 "y": 2.5
712 },
713 {
714 "label": "PgDn",
715 "x": 17.25,
716 "y": 2.5
717 },
718 {
719 "label": "Caps Lock",
720 "x": 0,
721 "y": 3.5,
722 "w": 1.75
723 },
724 {
725 "label": "A",
726 "x": 1.75,
727 "y": 3.5
728 },
729 {
730 "label": "S",
731 "x": 2.75,
732 "y": 3.5
733 },
734 {
735 "label": "D",
736 "x": 3.75,
737 "y": 3.5
738 },
739 {
740 "label": "F",
741 "x": 4.75,
742 "y": 3.5
743 },
744 {
745 "label": "G",
746 "x": 5.75,
747 "y": 3.5
748 },
749 {
750 "label": "H",
751 "x": 6.75,
752 "y": 3.5
753 },
754 {
755 "label": "J",
756 "x": 7.75,
757 "y": 3.5
758 },
759 {
760 "label": "K",
761 "x": 8.75,
762 "y": 3.5
763 },
764 {
765 "label": "L",
766 "x": 9.75,
767 "y": 3.5
768 },
769 {
770 "label": ":",
771 "x": 10.75,
772 "y": 3.5
773 },
774 {
775 "label": "\"",
776 "x": 11.75,
777 "y": 3.5
778 },
779 {
780 "label": "Enter",
781 "x": 12.75,
782 "y": 3.5,
783 "w": 2.25
784 },
785 {
786 "x": 15.25,
787 "y": 3.5
788 },
789 {
790 "x": 16.25,
791 "y": 3.5
792 },
793 {
794 "x": 17.25,
795 "y": 3.5
796 },
797 {
798 "label": "Shift",
799 "x": 0,
800 "y": 4.5,
801 "w": 2.25
802 },
803 {
804 "label": "Z",
805 "x": 2.25,
806 "y": 4.5
807 },
808 {
809 "label": "X",
810 "x": 3.25,
811 "y": 4.5
812 },
813 {
814 "label": "C",
815 "x": 4.25,
816 "y": 4.5
817 },
818 {
819 "label": "V",
820 "x": 5.25,
821 "y": 4.5
822 },
823 {
824 "label": "B",
825 "x": 6.25,
826 "y": 4.5
827 },
828 {
829 "label": "N",
830 "x": 7.25,
831 "y": 4.5
832 },
833 {
834 "label": "M",
835 "x": 8.25,
836 "y": 4.5
837 },
838 {
839 "label": "<",
840 "x": 9.25,
841 "y": 4.5
842 },
843 {
844 "label": ">",
845 "x": 10.25,
846 "y": 4.5
847 },
848 {
849 "label": "?",
850 "x": 11.25,
851 "y": 4.5
852 },
853 {
854 "label": "Shift",
855 "x": 12.25,
856 "y": 4.5,
857 "w": 2.75
858 },
859 {
860 "x": 15.25,
861 "y": 4.5
862 },
863 {
864 "label": "\\u2191",
865 "x": 16.25,
866 "y": 4.5
867 },
868 {
869 "x": 17.25,
870 "y": 4.5
871 },
872 {
873 "label": "Ctrl",
874 "x": 0,
875 "y": 5.5,
876 "w": 1.25
877 },
878 {
879 "label": "Win",
880 "x": 1.25,
881 "y": 5.5,
882 "w": 1.25
883 },
884 {
885 "label": "Alt",
886 "x": 2.5,
887 "y": 5.5,
888 "w": 1.25
889 },
890 {
891 "x": 3.75,
892 "y": 5.5,
893 "w": 6.25
894 },
895 {
896 "label": "Alt",
897 "x": 10,
898 "y": 5.5,
899 "w": 1.25
900 },
901 {
902 "label": "Win",
903 "x": 11.25,
904 "y": 5.5,
905 "w": 1.25
906 },
907 {
908 "label": "FN",
909 "x": 12.5,
910 "y": 5.5,
911 "w": 1.25
912 },
913 {
914 "label": "Ctrl",
915 "x": 13.75,
916 "y": 5.5,
917 "w": 1.25
918 },
919 {
920 "label": "\\u2190",
921 "x": 15.25,
922 "y": 5.5
923 },
924 {
925 "label": "\\u2193",
926 "x": 16.25,
927 "y": 5.5
928 },
929 {
930 "label": "\\u2192",
931 "x": 17.25,
932 "y": 5.5
933 }
934 ]
935 },
462 "LAYOUT_tkl_ansi_wkl": { 936 "LAYOUT_tkl_ansi_wkl": {
463 "key_count": 86, 937 "key_count": 86,
464 "layout": [ 938 "layout": [
diff --git a/keyboards/phantom/phantom.h b/keyboards/phantom/phantom.h
index bed840f19..fa77634d3 100644
--- a/keyboards/phantom/phantom.h
+++ b/keyboards/phantom/phantom.h
@@ -54,6 +54,24 @@
54 K50, K51, K52, KC_NO, KC_NO, K57, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F, K5G \ 54 K50, K51, K52, KC_NO, KC_NO, K57, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F, K5G \
55) 55)
56 56
57// Keymap for a standard ANSI layout plus the five extra keys
58// above the arrow block.
59#define LAYOUT_tkl_ansi_plus_five( \
60 K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \
61 K01, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1D, K1E, K1F, K1G, \
62 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \
63 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, K3G, \
64 K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4E, K4F, K4G, \
65 K50, K51, K52, K57, K5A, K5B, K5C, K5D, K5E, K5F, K5G \
66) LAYOUT_7bit( \
67 K00, KC_NO, K02, K03, K04, K05, KC_NO, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \
68 K01, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, KC_NO, K1D, K1E, K1F, K1G, \
69 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \
70 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F, K3G, \
71 K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, KC_NO, K4D, K4E, K4F, K4G, \
72 K50, K51, K52, KC_NO, KC_NO, K57, KC_NO, K5A, K5B, K5C, K5D, K5E, K5F, K5G \
73)
74
57#define LAYOUT_tkl_ansi_wkl( \ 75#define LAYOUT_tkl_ansi_wkl( \
58 K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \ 76 K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \
59 K01, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1D, K1E, K1F, K1G, \ 77 K01, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1D, K1E, K1F, K1G, \