[Keyboard] Added XW60 PCB (#6011)
* Added XW60 PCB * Update keyboards/xw60/config.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/xw60/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/xw60/rules.mk Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/xw60/xw60.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/xw60/xw60.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update keyboards/xw60/xw60.h Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update rules.mk * Removed redundant line * Update keyboards/xw60/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/xw60/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						Drashna Jaelre
					
				
			
			
				
	
			
			
			
						parent
						
							a1a7a84831
						
					
				
				
					commit
					2ca840d0b8
				
			
							
								
								
									
										36
									
								
								keyboards/xw60/config.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								keyboards/xw60/config.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "config_common.h"
 | 
			
		||||
 | 
			
		||||
/* USB Device descriptor parameter */
 | 
			
		||||
#define VENDOR_ID       0xFEED
 | 
			
		||||
#define PRODUCT_ID      0x6060
 | 
			
		||||
#define DEVICE_VER      0x0001
 | 
			
		||||
#define MANUFACTURER    Drclick
 | 
			
		||||
#define PRODUCT         XW60
 | 
			
		||||
#define DESCRIPTION     qmk keyboard firmware for XW60
 | 
			
		||||
 | 
			
		||||
/* key matrix size */
 | 
			
		||||
#define MATRIX_ROWS 5
 | 
			
		||||
#define MATRIX_COLS 14
 | 
			
		||||
 | 
			
		||||
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
 | 
			
		||||
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
 | 
			
		||||
#define UNUSED_PINS
 | 
			
		||||
 | 
			
		||||
/* COL2ROW or ROW2COL */
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 | 
			
		||||
#define DEBOUNCE 5
 | 
			
		||||
 | 
			
		||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
 | 
			
		||||
//#define MATRIX_HAS_GHOST
 | 
			
		||||
 | 
			
		||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 | 
			
		||||
#define LOCKING_SUPPORT_ENABLE
 | 
			
		||||
/* Locking resynchronize hack */
 | 
			
		||||
 | 
			
		||||
#define SOLENOID_PIN F6
 | 
			
		||||
#define SOLENOID_ACTIVE true
 | 
			
		||||
#define SOLENOID_DEFAULT_DWELL 75
 | 
			
		||||
							
								
								
									
										18
									
								
								keyboards/xw60/info.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								keyboards/xw60/info.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{
 | 
			
		||||
    "keyboard_name": "XW60",
 | 
			
		||||
    "url": "",
 | 
			
		||||
    "maintainer": "qmk",
 | 
			
		||||
    "width": 15,
 | 
			
		||||
    "height": 5,
 | 
			
		||||
    "layouts": {
 | 
			
		||||
      "LAYOUT": {
 | 
			
		||||
        "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":3, "y":0}, {"label":"K04", "x":4, "y":0}, {"label":"K05", "x":5, "y":0}, {"label":"K06", "x":6, "y":0}, {"label":"K07", "x":7, "y":0}, {"label":"K08", "x":8, "y":0}, {"label":"K09", "x":9, "y":0}, {"label":"K0A", "x":10, "y":0}, {"label":"K0B", "x":11, "y":0}, {"label":"K0C", "x":12, "y":0}, {"label":"K0D", "x":13, "y":0}, {"label":"K49", "x":14, "y":0}, {"label":"K10", "x":0, "y":1, "w":1.5}, {"label":"K11", "x":1.5, "y":1}, {"label":"K12", "x":2.5, "y":1}, {"label":"K13", "x":3.5, "y":1}, {"label":"K14", "x":4.5, "y":1}, {"label":"K15", "x":5.5, "y":1}, {"label":"K16", "x":6.5, "y":1}, {"label":"K17", "x":7.5, "y":1}, {"label":"K18", "x":8.5, "y":1}, {"label":"K19", "x":9.5, "y":1}, {"label":"K1A", "x":10.5, "y":1}, {"label":"K1B", "x":11.5, "y":1}, {"label":"K1C", "x":12.5, "y":1}, {"label":"K1D", "x":13.5, "y":1, "w":1.5}, {"label":"K20", "x":0, "y":2, "w":1.75}, {"label":"K21", "x":1.75, "y":2}, {"label":"K22", "x":2.75, "y":2}, {"label":"K23", "x":3.75, "y":2}, {"label":"K24", "x":4.75, "y":2}, {"label":"K25", "x":5.75, "y":2}, {"label":"K26", "x":6.75, "y":2}, {"label":"K27", "x":7.75, "y":2}, {"label":"K28", "x":8.75, "y":2}, {"label":"K29", "x":9.75, "y":2}, {"label":"K2A", "x":10.75, "y":2}, {"label":"K2B", "x":11.75, "y":2}, {"label":"K2C", "x":12.75, "y":2}, {"label":"K2D", "x":13.75, "y":2, "w":1.25}, {"label":"K30", "x":0, "y":3, "w":1.25}, {"label":"K31", "x":1.25, "y":3}, {"label":"K32", "x":2.25, "y":3}, {"label":"K33", "x":3.25, "y":3}, {"label":"K34", "x":4.25, "y":3}, {"label":"K35", "x":5.25, "y":3}, {"label":"K36", "x":6.25, "y":3}, {"label":"K37", "x":7.25, "y":3}, {"label":"K38", "x":8.25, "y":3}, {"label":"K39", "x":9.25, "y":3}, {"label":"K3A", "x":10.25, "y":3}, {"label":"K3B", "x":11.25, "y":3}, {"label":"K3D", "x":12.25, "y":3, "w":1.75}, {"label":"K3C", "x":14, "y":3}, {"label":"K40", "x":0, "y":4, "w":1.25}, {"label":"K41", "x":1.25, "y":4, "w":1.25}, {"label":"K42", "x":2.5, "y":4, "w":1.25}, {"label":"K44", "x":3.75, "y":4, "w":2}, {"label":"K45", "x":5.75, "y":4, "w":2.25}, {"label":"K46", "x":8, "y":4, "w":2}, {"label":"K4A", "x":10, "y":4, "w":1.25}, {"label":"K4B", "x":11.25, "y":4, "w":1.25}, {"label":"K4C", "x":12.5, "y":4, "w":1.25}, {"label":"K4D", "x":13.75, "y":4, "w":1.25}]
 | 
			
		||||
      },
 | 
			
		||||
      "LAYOUT_pingjunior": {
 | 
			
		||||
        "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":3, "y":0}, {"label":"K04", "x":4, "y":0}, {"label":"K05", "x":5, "y":0}, {"label":"K06", "x":6, "y":0}, {"label":"K07", "x":7, "y":0}, {"label":"K08", "x":8, "y":0}, {"label":"K09", "x":9, "y":0}, {"label":"K0A", "x":10, "y":0}, {"label":"K0B", "x":11, "y":0}, {"label":"K0C", "x":12, "y":0}, {"label":"K0D", "x":13, "y":0}, {"label":"K49", "x":14, "y":0}, {"label":"K10", "x":0, "y":1, "w":1.5}, {"label":"K11", "x":1.5, "y":1}, {"label":"K12", "x":2.5, "y":1}, {"label":"K13", "x":3.5, "y":1}, {"label":"K14", "x":4.5, "y":1}, {"label":"K15", "x":5.5, "y":1}, {"label":"K16", "x":6.5, "y":1}, {"label":"K17", "x":7.5, "y":1}, {"label":"K18", "x":8.5, "y":1}, {"label":"K19", "x":9.5, "y":1}, {"label":"K1A", "x":10.5, "y":1}, {"label":"K1B", "x":11.5, "y":1}, {"label":"K1C", "x":12.5, "y":1}, {"label":"K1D", "x":13.5, "y":1, "w":1.5}, {"label":"K20", "x":0, "y":2, "w":1.75}, {"label":"K21", "x":1.75, "y":2}, {"label":"K22", "x":2.75, "y":2}, {"label":"K23", "x":3.75, "y":2}, {"label":"K24", "x":4.75, "y":2}, {"label":"K25", "x":5.75, "y":2}, {"label":"K26", "x":6.75, "y":2}, {"label":"K27", "x":7.75, "y":2}, {"label":"K28", "x":8.75, "y":2}, {"label":"K29", "x":9.75, "y":2}, {"label":"K2A", "x":10.75, "y":2}, {"label":"K2B", "x":11.75, "y":2}, {"label":"K2C", "x":12.75, "y":2}, {"label":"K2D", "x":13.75, "y":2, "w":1.25}, {"label":"K31", "x":0, "y":3, "w":2.25}, {"label":"K32", "x":2.25, "y":3}, {"label":"K33", "x":3.25, "y":3}, {"label":"K34", "x":4.25, "y":3}, {"label":"K35", "x":5.25, "y":3}, {"label":"K36", "x":6.25, "y":3}, {"label":"K37", "x":7.25, "y":3}, {"label":"K38", "x":8.25, "y":3}, {"label":"K39", "x":9.25, "y":3}, {"label":"K3A", "x":10.25, "y":3}, {"label":"K3B", "x":11.25, "y":3}, {"label":"K3D", "x":12.25, "y":3, "w":1.75}, {"label":"K3C", "x":14, "y":3}, {"label":"K40", "x":0, "y":4, "w":1.5}, {"label":"K41", "x":1.5, "y":4}, {"label":"K42", "x":2.5, "y":4, "w":1.5}, {"label":"K45", "x":4, "y":4, "w":7}, {"label":"K4B", "x":11, "y":4, "w":1.5}, {"label":"K4C", "x":12.5, "y":4}, {"label":"K4D", "x":13.5, "y":4, "w":1.5}]
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										38
									
								
								keyboards/xw60/keymaps/default/keymap.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								keyboards/xw60/keymaps/default/keymap.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  /* 0: defuault */
 | 
			
		||||
  LAYOUT(
 | 
			
		||||
    KC_ESC,  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_NO,
 | 
			
		||||
    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_BSLS,
 | 
			
		||||
    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_BSLS, KC_ENT,
 | 
			
		||||
    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, MO(3),    
 | 
			
		||||
    KC_LCTL, KC_LGUI, KC_LALT,                   KC_SPC,  KC_SPC,  KC_SPC,                    KC_RALT, KC_RGUI, KC_APP,  KC_RCTL
 | 
			
		||||
  ),
 | 
			
		||||
  /* 1: winkeyless */
 | 
			
		||||
  LAYOUT(
 | 
			
		||||
    KC_ESC,  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_NO,
 | 
			
		||||
    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_BSLS,
 | 
			
		||||
    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_BSLS, KC_ENT,
 | 
			
		||||
    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, MO(3),    
 | 
			
		||||
    KC_LCTL, KC_LGUI, KC_LALT,                   KC_SPC,  KC_SPC,  KC_SPC,                    KC_NO,   KC_RALT, KC_RGUI,  KC_RCTL
 | 
			
		||||
  ),
 | 
			
		||||
  /* 2: hhkb */
 | 
			
		||||
  LAYOUT(
 | 
			
		||||
    KC_ESC,  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_BSLS, KC_GRV,
 | 
			
		||||
    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_BSPC,
 | 
			
		||||
    KC_LCTL, KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT,
 | 
			
		||||
    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, MO(3),    
 | 
			
		||||
    KC_NO,   KC_LGUI, KC_LALT,                   KC_SPC,  KC_SPC,  KC_SPC,                    KC_NO,   KC_RALT, KC_RGUI,  KC_NO
 | 
			
		||||
  ),
 | 
			
		||||
  /* 3: fn */
 | 
			
		||||
  LAYOUT(
 | 
			
		||||
    _______, 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_INS,  KC_DEL,
 | 
			
		||||
    KC_CAPS, _______, KC_UP,   _______, _______, _______, _______, _______, _______, _______, _______, KC_UP,   _______, KC_DEL,
 | 
			
		||||
    _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, HPT_TOG,HPT_DWLI,HPT_DWLD, _______, _______, KC_DOWN, _______, _______,
 | 
			
		||||
    _______, _______, _______,                   _______, _______, _______,                   _______, _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										58
									
								
								keyboards/xw60/keymaps/default/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								keyboards/xw60/keymaps/default/readme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
# The default keymap for xw60
 | 
			
		||||
 | 
			
		||||
 ### layer 0 - default
 | 
			
		||||
  ```
 | 
			
		||||
  .--------------------------------------------------------------------------.
 | 
			
		||||
  | esc|  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  0 |  - |  = |   bksp  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | tab   |  Q |  W |  E |  R |  T |  Y |  U |  I |  O |  P |  [ |  ] |   \  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | caps   |  A |  S |  D |  F |  G |  H |  J |  K |  L |  ; |  ' |  \ |enter|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | sft | nubs|  Z |  X |  C |  V |  B |  N |  M |  , |  . |  / | shift | fn |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | ctrl| gui | alt |   space  /   space  /   space  | alt | gui | app | ctrl|
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
  ```
 | 
			
		||||
 ### layer 1 - winkeyless
 | 
			
		||||
  ```
 | 
			
		||||
  .--------------------------------------------------------------------------.
 | 
			
		||||
  | esc|  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  0 |  - |  = |   bksp  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | tab   |  Q |  W |  E |  R |  T |  Y |  U |  I |  O |  P |  [ |  ] |   \  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | caps   |  A |  S |  D |  F |  G |  H |  J |  K |  L |  ; |  ' |  \ |enter|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | sft | nubs|  Z |  X |  C |  V |  B |  N |  M |  , |  . |  / | shift | fn |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | ctrl | gui| alt  |               space                | alt  | gui| ctrl |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
  ```
 | 
			
		||||
 ### layer 2 - hhkb
 | 
			
		||||
  ```
 | 
			
		||||
  .--------------------------------------------------------------------------.
 | 
			
		||||
  | esc|  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  0 |  - |  = |  \ |  ` |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | tab   |  Q |  W |  E |  R |  T |  Y |  U |  I |  O |  P |  [ |  ] | bksp |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | ctrl   |  A |  S |  D |  F |  G |  H |  J |  K |  L |  ; |  ' |pent|enter|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | shift    |  Z |  X |  C |  V |  B |  N |  M |  , |  . |  / | rshift | fn |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
         | alt| gui  |               space                | gui  | alt|
 | 
			
		||||
         '------------------------------------------------------------'
 | 
			
		||||
  ```
 | 
			
		||||
 ### layer 3 - fn
 | 
			
		||||
  ```
 | 
			
		||||
  ,--------------------------------------------------------------------------.
 | 
			
		||||
  |    | f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10| f11| f12| ins| del|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | caps |    | up |    |    |    |    |    |    |    |    | up |    |  del  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |       |left|down|rght|    |    |    |    |    |    |left|rght|    |      |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |          |    |    |    |    |buzz| +  | -  |    |    |down|        |    |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |      |    |      |                                    |      |    |      |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
  ``` 
 | 
			
		||||
							
								
								
									
										30
									
								
								keyboards/xw60/keymaps/pingjunior/keymap.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								keyboards/xw60/keymaps/pingjunior/keymap.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  /* 0: default */
 | 
			
		||||
  LAYOUT_pingjunior(
 | 
			
		||||
    KC_ESC,  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_GRV,  KC_BSPC,
 | 
			
		||||
    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_BSLS,
 | 
			
		||||
    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_PENT, KC_ENT,
 | 
			
		||||
             KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, MO(2),    
 | 
			
		||||
    KC_LCTL, KC_LGUI, KC_LALT,                            KC_SPC,                                      KC_RALT, KC_RGUI, KC_RCTL
 | 
			
		||||
  ),
 | 
			
		||||
  /* 1: hhkb */
 | 
			
		||||
  LAYOUT_pingjunior(
 | 
			
		||||
    KC_ESC,  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_BSLS, KC_GRV,
 | 
			
		||||
    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_BSPC,
 | 
			
		||||
    KC_LCTL, KC_A,    KC_S,    KC_D,    KC_F,    KC_G,    KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT, KC_PENT, KC_ENT,
 | 
			
		||||
             KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, MO(2),    
 | 
			
		||||
    KC_NO,   KC_LALT, KC_LGUI,                            KC_SPC,                                      KC_RGUI, KC_RALT, KC_NO
 | 
			
		||||
  ),
 | 
			
		||||
  /* 2: fn */
 | 
			
		||||
  LAYOUT_pingjunior(
 | 
			
		||||
    _______, 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_INS, KC_DEL,
 | 
			
		||||
    KC_CAPS, _______, KC_UP,   _______, _______, _______, _______, _______, _______, _______, _______, KC_UP,   _______, KC_DEL,
 | 
			
		||||
    _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RGHT, _______, _______,
 | 
			
		||||
             _______, _______, _______, _______, _______, HPT_TOG,HPT_DWLI,HPT_DWLD, _______, _______, KC_DOWN, _______, _______,
 | 
			
		||||
    _______, _______, _______,                            _______,                                     _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										44
									
								
								keyboards/xw60/keymaps/pingjunior/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								keyboards/xw60/keymaps/pingjunior/readme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
# The default keymap for pingjunior
 | 
			
		||||
 | 
			
		||||
 ### layer 0 - default
 | 
			
		||||
  ```
 | 
			
		||||
  .--------------------------------------------------------------------------.
 | 
			
		||||
  | esc|  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  0 |  - |  = |  ` |bksp|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | tab   |  Q |  W |  E |  R |  T |  Y |  U |  I |  O |  P |  [ |  ] |   \  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | caps   |  A |  S |  D |  F |  G |  H |  J |  K |  L |  ; |  ' |pent|enter|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | shift    |  Z |  X |  C |  V |  B |  N |  M |  , |  . |  / |  shift | fn |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | ctrl | gui| alt  |               space                | alt  | gui/ ctrl |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
  ```
 | 
			
		||||
 ### layer 1 - hhkb
 | 
			
		||||
  ```
 | 
			
		||||
  .--------------------------------------------------------------------------.
 | 
			
		||||
  | esc|  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 |  0 |  - |  = |  \ |  ` |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | tab   |  Q |  W |  E |  R |  T |  Y |  U |  I |  O |  P |  [ |  ] | bksp |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | ctrl   |  A |  S |  D |  F |  G |  H |  J |  K |  L |  ; |  ' |pent|enter|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | shift    |  Z |  X |  C |  V |  B |  N |  M |  , |  . |  / |  shift | fn |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
         | alt| gui  |               space                | gui  | alt|
 | 
			
		||||
         '------------------------------------------------------------'
 | 
			
		||||
  ```
 | 
			
		||||
 ### layer 2 - fn
 | 
			
		||||
  ```
 | 
			
		||||
  ,--------------------------------------------------------------------------.
 | 
			
		||||
  |    | f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10| f11| f12| ins| del|
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  | caps |    | up |    |    |    |    |    |    |    |    | up |    |  del  |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |       |left|down|rght|    |    |    |    |    |    |left|rght|    |      |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |          |    |    |    |    |buzz| +  | -  |    |    |down|        |    |
 | 
			
		||||
  |--------------------------------------------------------------------------|
 | 
			
		||||
  |      |    |      |                                    |      |    |      |
 | 
			
		||||
  '--------------------------------------------------------------------------'
 | 
			
		||||
  ``` 
 | 
			
		||||
							
								
								
									
										29
									
								
								keyboards/xw60/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								keyboards/xw60/readme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
# XW60
 | 
			
		||||
 | 
			
		||||
A 60% custom PCB for non-MX switches.
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
### Supported Switches:
 | 
			
		||||
 | 
			
		||||
##### XW60 V1
 | 
			
		||||
 | 
			
		||||
 - ALPS SKCM/SKCL
 | 
			
		||||
 - ALPS SKCP (IBM 5576 version)
 | 
			
		||||
 - SMK SECOND GENERATION
 | 
			
		||||
 | 
			
		||||
##### XW60 V2
 | 
			
		||||
 | 
			
		||||
 - ALPS SKCM/SKCL
 | 
			
		||||
 - ALPS SKCC
 | 
			
		||||
 - Omron B3G-S
 | 
			
		||||
 
 | 
			
		||||
Keyboard Maintainer: [Drclick](https://github.com/itsdrdick)  
 | 
			
		||||
Hardware Supported: XW60 V1 & V2  
 | 
			
		||||
Hardware Availability: https://shop159471890.taobao.com
 | 
			
		||||
 | 
			
		||||
Make example for this keyboard (after setting up your build environment):
 | 
			
		||||
 | 
			
		||||
    make xw60:default
 | 
			
		||||
 | 
			
		||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
 | 
			
		||||
							
								
								
									
										67
									
								
								keyboards/xw60/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								keyboards/xw60/rules.mk
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,67 @@
 | 
			
		||||
# MCU name
 | 
			
		||||
MCU = atmega32u4
 | 
			
		||||
 | 
			
		||||
# Processor frequency.
 | 
			
		||||
#     This will define a symbol, F_CPU, in all source code files equal to the
 | 
			
		||||
#     processor frequency in Hz. You can then use this symbol in your source code to
 | 
			
		||||
#     calculate timings. Do NOT tack on a 'UL' at the end, this will be done
 | 
			
		||||
#     automatically to create a 32-bit value in your source code.
 | 
			
		||||
#
 | 
			
		||||
#     This will be an integer division of F_USB below, as it is sourced by
 | 
			
		||||
#     F_USB after it has run through any CPU prescalers. Note that this value
 | 
			
		||||
#     does not *change* the processor frequency - it should merely be updated to
 | 
			
		||||
#     reflect the processor speed set externally so that the code can use accurate
 | 
			
		||||
#     software delays.
 | 
			
		||||
F_CPU = 16000000
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# LUFA specific
 | 
			
		||||
#
 | 
			
		||||
# Target architecture (see library "Board Types" documentation).
 | 
			
		||||
ARCH = AVR8
 | 
			
		||||
 | 
			
		||||
# Input clock frequency.
 | 
			
		||||
#     This will define a symbol, F_USB, in all source code files equal to the
 | 
			
		||||
#     input clock frequency (before any prescaling is performed) in Hz. This value may
 | 
			
		||||
#     differ from F_CPU if prescaling is used on the latter, and is required as the
 | 
			
		||||
#     raw input clock is fed directly to the PLL sections of the AVR for high speed
 | 
			
		||||
#     clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
 | 
			
		||||
#     at the end, this will be done automatically to create a 32-bit value in your
 | 
			
		||||
#     source code.
 | 
			
		||||
#
 | 
			
		||||
#     If no clock division is performed on the input clock inside the AVR (via the
 | 
			
		||||
#     CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
 | 
			
		||||
F_USB = $(F_CPU)
 | 
			
		||||
 | 
			
		||||
# Interrupt driven control endpoint task(+60)
 | 
			
		||||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 | 
			
		||||
 | 
			
		||||
# Bootloader selection
 | 
			
		||||
#   Teensy       halfkay
 | 
			
		||||
#   Pro Micro    caterina
 | 
			
		||||
#   Atmel DFU    atmel-dfu
 | 
			
		||||
#   LUFA DFU     lufa-dfu
 | 
			
		||||
#   QMK DFU      qmk-dfu
 | 
			
		||||
#   atmega32a    bootloadHID
 | 
			
		||||
BOOTLOADER = atmel-dfu
 | 
			
		||||
 | 
			
		||||
# Build Options
 | 
			
		||||
#   change to "no" to disable the options, or define them in the Makefile in 
 | 
			
		||||
#   the appropriate keymap folder that will get included automatically
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = full     # Virtual DIP switch configuration(+1000)
 | 
			
		||||
MOUSEKEY_ENABLE = no        # Mouse keys(+4700)
 | 
			
		||||
EXTRAKEY_ENABLE = no        # Audio control and System control(+450)
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug(+400)
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
MIDI_ENABLE = no            # MIDI controls
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output on port C6
 | 
			
		||||
UNICODE_ENABLE = no         # Unicode
 | 
			
		||||
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
			
		||||
RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 | 
			
		||||
API_SYSEX_ENABLE = no
 | 
			
		||||
HAPTIC_ENABLE += SOLENOID
 | 
			
		||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | 
			
		||||
SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
 | 
			
		||||
							
								
								
									
										1
									
								
								keyboards/xw60/xw60.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/xw60/xw60.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
#include "xw60.h"
 | 
			
		||||
							
								
								
									
										60
									
								
								keyboards/xw60/xw60.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								keyboards/xw60/xw60.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
 | 
			
		||||
#define XXX KC_NO
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * ,-----------------------------------------------------------------------------------------.
 | 
			
		||||
 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D | K49 |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |  K10   | K11 | K12 | K13 | K14 | K15 | K16 | K17 | K18 | K19 | K1A | K1B | K1C |  K1D   |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |   K20   | K21 | K22 | K23 | K24 | K25 | K26 | K17 | K28 | K29 | K2A | K2B | K2C |  K2D  |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * | K30 | K31 | K32 | K33 | K34 | K35 | K36 | K37 | K38 | K39 | K3A | K3B |    K3D    | K3C |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |  K40  |  K41  |  K42  | |   K44   |   K45   |   K46   | |  K4A  |  K4B  |  K4C  |  K4D  |
 | 
			
		||||
 * `-----------------------------------------------------------------------------------------'
 | 
			
		||||
 */
 | 
			
		||||
#define LAYOUT( \
 | 
			
		||||
    K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49, \
 | 
			
		||||
    K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
 | 
			
		||||
    K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
 | 
			
		||||
    K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3C, \
 | 
			
		||||
    K40, K41, K42,           K44, K45, K46,           K4A, K4B, K4C, K4D  \
 | 
			
		||||
) { \
 | 
			
		||||
    { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
 | 
			
		||||
    { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
 | 
			
		||||
    { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \
 | 
			
		||||
    { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
 | 
			
		||||
    { K40, K41, K42, XXX, K44, K45, K46, XXX, XXX, K49, K4A, K4B, K4C, K4D }  \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * ,-----------------------------------------------------------------------------------------.
 | 
			
		||||
 * | K00 | K01 | K02 | K03 | K04 | K05 | K06 | K07 | K08 | K09 | K0A | K0B | K0C | K0D | K49 |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |  K10   | K11 | K12 | K13 | K14 | K15 | K16 | K17 | K18 | K19 | K1A | K1B | K1C |  K1D   |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |   K20   | K21 | K22 | K23 | K24 | K25 | K26 | K17 | K28 | K29 | K2A | K2B | K2C |  K2D  |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |    K31    | K32 | K33 | K34 | K35 | K36 | K37 | K38 | K39 | K3A | K3B |    K3D    | K3C |
 | 
			
		||||
 * |-----------------------------------------------------------------------------------------+
 | 
			
		||||
 * |  K40  |  K41  |  K42  |                   K45                   |  K4B  |  K4C  |  K4D  |
 | 
			
		||||
 * `-----------------------------------------------------------------------------------------'
 | 
			
		||||
 */
 | 
			
		||||
#define LAYOUT_pingjunior( \
 | 
			
		||||
    K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49, \
 | 
			
		||||
    K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
 | 
			
		||||
    K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
 | 
			
		||||
         K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3C, \
 | 
			
		||||
    K40, K41, K42,                K45,                     K4B, K4C, K4D  \
 | 
			
		||||
) { \
 | 
			
		||||
    { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
 | 
			
		||||
    { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
 | 
			
		||||
    { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D }, \
 | 
			
		||||
    { XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
 | 
			
		||||
    { K40, K41, K42, XXX, XXX, K45, XXX, XXX, XXX, K49, XXX, K4B, K4C, K4D }  \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user