You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							65 lines
						
					
					
						
							3.3 KiB
						
					
					
				
			
		
		
	
	
							65 lines
						
					
					
						
							3.3 KiB
						
					
					
				/*
 | 
						|
Copyright 2014 Jun Wako <wakojun@gmail.com>
 | 
						|
 | 
						|
This program is free software: you can redistribute it and/or modify
 | 
						|
it under the terms of the GNU General Public License as published by
 | 
						|
the Free Software Foundation, either version 2 of the License, or
 | 
						|
(at your option) any later version.
 | 
						|
 | 
						|
This program is distributed in the hope that it will be useful,
 | 
						|
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
						|
GNU General Public License for more details.
 | 
						|
 | 
						|
You should have received a copy of the GNU General Public License
 | 
						|
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
						|
*/
 | 
						|
#include <stdint.h>
 | 
						|
#include "keycode.h"
 | 
						|
#include "keymap_common.h"
 | 
						|
 | 
						|
 | 
						|
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
						|
    /* Default:
 | 
						|
     * M0110                                                       M0120
 | 
						|
     * ,---------------------------------------------------------. ,---------------.
 | 
						|
     * |  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Backs| |Nlk|  -|  +|  *|
 | 
						|
     * |---------------------------------------------------------| |---------------|
 | 
						|
     * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|  \| |  7|  8|  9|  /|
 | 
						|
     * |---------------------------------------------------------| |---------------|
 | 
						|
     * |Caps  |  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return| |  4|  5|  6|  ,|
 | 
						|
     * |---------------------------------------------------------| |---------------|
 | 
						|
     * |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|Shift   | |  1|  2|  3|   |
 | 
						|
     * `---------------------------------------------------------' |-----------|Ent|
 | 
						|
     *      |Opt|Mac |         Space               |Mac |Opt|      |      0|  .|   |
 | 
						|
     *      `-----------------------------------------------'      `---------------'
 | 
						|
     *  M0110A
 | 
						|
     * ,---------------------------------------------------------. ,---------------.
 | 
						|
     * |  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Bcksp| |Nlk|  =|  /|  *|
 | 
						|
     * |---------------------------------------------------------| |---------------|
 | 
						|
     * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|   | |  7|  8|  9|  -|
 | 
						|
     * |-----------------------------------------------------'   | |---------------|
 | 
						|
     * |Caps  |  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Return| |  4|  5|  6|  +|
 | 
						|
     * |---------------------------------------------------------| |---------------|
 | 
						|
     * |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|Shft|Up | |  1|  2|  3|   |
 | 
						|
     * |---------------------------------------------------------' |-----------|Ent|
 | 
						|
     * |Opt  |Mac    |           Space           |  \|Lft|Rgt|Dn | |      0|  .|   |
 | 
						|
     * `---------------------------------------------------------' `---------------'
 | 
						|
     */
 | 
						|
    [0] = KEYMAP(
 | 
						|
    GRV, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSPC,    NLCK,PEQL,PSLS,PAST,
 | 
						|
    TAB, Q,   W,   E,   R,   T,   Y,   U,   I,   O,   P,   LBRC,RBRC,         P7,  P8,  P9,  PMNS,
 | 
						|
    LCAP,A,   S,   D,   F,   G,   H,   J,   K,   L,   SCLN,QUOT,     ENT,     P4,  P5,  P6,  PPLS,
 | 
						|
    LSFT,Z,   X,   C,   V,   B,   N,   M,   COMM,DOT, SLSH,          UP,      P1,  P2,  P3,  PENT,
 | 
						|
    LALT,LGUI,               SPC,                RGUI,BSLS,LEFT,RGHT,DOWN,    P0,       PDOT
 | 
						|
    ),
 | 
						|
};
 | 
						|
 | 
						|
/*
 | 
						|
 * Fn action definition
 | 
						|
 */
 | 
						|
const uint16_t fn_actions[] PROGMEM = {
 | 
						|
};
 | 
						|
 | 
						|
 |