~ruther/qmk_firmware

4322c7177168c6622a891bfb14ad4c969e3f8be9 — kit-bto 6 years ago 9c98fef
[Keyboard] Add a new keyboard ADKB96 (#5685)

* New Keyboard ADKB96 http://bit-trade-one.co.jp/selfmadekb/adkb96/

* New Keyboard ADKB96 http://bit-trade-one.co.jp/selfmadekb/adkb96/

* Update Readme.md

* Update Readme.md

* Update Readme.md

* Update Readme.md

* Update Readme.md

* Update Readme.md

* Update Readme.md

* Rename Readme.md to readme.md

* Update keyboards/adkb96/adkb96.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update readme.md

* Update readme.md

* Update keyboards/adkb96/adkb96.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/adkb96.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keymap.c

* Update keyboards/adkb96/rev1/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rev1/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update config.h

* Update keyboards/adkb96/rev1/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rev1/rev1.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rev1/rev1.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rev1/rev1.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update rules.mk

* Delete rules.mk

* Update rules.mk

* Update keyboards/adkb96/rules.mk

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rules.mk

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rev1/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update config.h

* Update rules.mk

* Update config.h

* Delete i2c.c

* Delete i2c.h

* Delete matrix.c

* Delete serial.c

* Delete serial.h

* Delete split_util.c

* Delete split_util.h

* Update keymap.c

* Update keymap.c

* Update keymap.c

* Update keymap.c

* Update rev1.c

* Update keyboards/adkb96/rev1/config.h

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update keyboards/adkb96/rules.mk

Co-Authored-By: kit-bto <42862131+kit-bto@users.noreply.github.com>

* Update rev1.h
A keyboards/adkb96/adkb96.c => keyboards/adkb96/adkb96.c +19 -0
@@ 0,0 1,19 @@
#include "adkb96.h"

#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
  {{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}, {6, 6}, {7, 6}},
  {{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}, {7, 7}},
  {{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}, {7, 8}},
  {{0, 9}, {1, 9}, {2, 9}, {3, 9}, {4, 9}, {5, 9}, {6, 9}, {7, 9}},
  {{0,10}, {1,10}, {2,10}, {3,10}, {4,10}, {5,10}, {6,10}, {7,10}},
  {{0,11}, {1,11}, {2,11}, {3,11}, {4,11}, {5,11}, {6,11}, {7,11}},
  {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}, {7, 0}},
  {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}, {7, 1}},
  {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}, {7, 2}},
  {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}, {7, 3}},
  {{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}, {6, 4}, {7, 4}},
  {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}, {6, 5}, {7, 5}}
};
#endif

A keyboards/adkb96/adkb96.h => keyboards/adkb96/adkb96.h +28 -0
@@ 0,0 1,28 @@
#pragma once

#include "quantum.h"

#ifdef KEYBOARD_adkb96_rev1
    #include "rev1.h"
#endif


// Used to create a keymap using only KC_ prefixed keys
#define LAYOUT_kc_ortho_6x16( \
    L00, L01, L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, \
    L10, L11, L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, \
    L20, L21, L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R26, R27, \
    L30, L31, L32, L33, L34, L35, L36, L37, R30, R31, R32, R33, R34, R35, R36, R37, \
    L40, L41, L42, L43, L44, L45, L46, L47, R40, R41, R42, R43, R44, R45, R46, R47, \
    L50, L51, L52, L53, L54, L55, L56, L57, R50, R51, R52, R53, R54, R55, R56, R57 \
    ) \
    LAYOUT( \
        KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##L06, KC_##L07, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, KC_##R06, KC_##R07, \
        KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##L16, KC_##L17, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, KC_##R16, KC_##R17, \
        KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##L26, KC_##L27, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, KC_##R26, KC_##R27, \
        KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##L36, KC_##L37, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35, KC_##R36, KC_##R37, \
        KC_##L40, KC_##L41, KC_##L42, KC_##L43, KC_##L44, KC_##L45, KC_##L46, KC_##L47, KC_##R40, KC_##R41, KC_##R42, KC_##R43, KC_##R44, KC_##R45, KC_##R46, KC_##R47, \
        KC_##L50, KC_##L51, KC_##L52, KC_##L53, KC_##L54, KC_##L55, KC_##L56, KC_##L57, KC_##R50, KC_##R51, KC_##R52, KC_##R53, KC_##R54, KC_##R55, KC_##R56 ,KC_##R57 \
    )

#define LAYOUT_kc LAYOUT_kc_ortho_6x16

A keyboards/adkb96/config.h => keyboards/adkb96/config.h +22 -0
@@ 0,0 1,22 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert

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/>.
*/

#pragma once

#include "config_common.h"


A keyboards/adkb96/info.json => keyboards/adkb96/info.json +494 -0
@@ 0,0 1,494 @@
{
	"keyboard_name": "adkb96",
	"url": "",
	"maintainer": "qmk",
	"width": 16,
	"height": 6,
	"layouts": {
		"LAYOUT_ortho_6x16": {
			"key_count": 96,
			"layout": [
				{
					"label": "L00",
					"x": 0,
					"y": 0
				},
				{
					"label": "L01",
					"x": 1,
					"y": 0
				},
				{
					"label": "L02",
					"x": 2,
					"y": 0
				},
				{
					"label": "L03",
					"x": 3,
					"y": 0
				},
				{
					"label": "L04",
					"x": 4,
					"y": 0
				},
				{
					"label": "L05",
					"x": 5,
					"y": 0
				},
				{
					"label": "L06",
					"x": 6,
					"y": 0
				},
				{
					"label": "L07",
					"x": 7,
					"y": 0
				},
				{
					"label": "R00",
					"x": 8,
					"y": 0
				},
				{
					"label": "R01",
					"x": 9,
					"y": 0
				},
				{
					"label": "R02",
					"x": 10,
					"y": 0
				},
				{
					"label": "R03",
					"x": 11,
					"y": 0
				},
				{
					"label": "R04",
					"x": 12,
					"y": 0
				},
				{
					"label": "R05",
					"x": 13,
					"y": 0
				},
				{
					"label": "R06",
					"x": 14,
					"y": 0
				},
				{
					"label": "R07",
					"x": 15,
					"y": 0
				},
				{
					"label": "L10",
					"x": 0,
					"y": 1
				},
				{
					"label": "L11",
					"x": 1,
					"y": 1
				},
				{
					"label": "L12",
					"x": 2,
					"y": 1
				},
				{
					"label": "L13",
					"x": 3,
					"y": 1
				},
				{
					"label": "L14",
					"x": 4,
					"y": 1
				},
				{
					"label": "L15",
					"x": 5,
					"y": 1
				},
				{
					"label": "L16",
					"x": 6,
					"y": 1
				},
				{
					"label": "L17",
					"x": 7,
					"y": 1
				},
				{
					"label": "R10",
					"x": 8,
					"y": 1
				},
				{
					"label": "R11",
					"x": 9,
					"y": 1
				},
				{
					"label": "R12",
					"x": 10,
					"y": 1
				},
				{
					"label": "R13",
					"x": 11,
					"y": 1
				},
				{
					"label": "R14",
					"x": 12,
					"y": 1
				},
				{
					"label": "R15",
					"x": 13,
					"y": 1
				},
				{
					"label": "R16",
					"x": 14,
					"y": 1
				},
				{
					"label": "R17",
					"x": 15,
					"y": 1
				},
				{
					"label": "L20",
					"x": 0,
					"y": 2
				},
				{
					"label": "L21",
					"x": 1,
					"y": 2
				},
				{
					"label": "L22",
					"x": 2,
					"y": 2
				},
				{
					"label": "L23",
					"x": 3,
					"y": 2
				},
				{
					"label": "L24",
					"x": 4,
					"y": 2
				},
				{
					"label": "L25",
					"x": 5,
					"y": 2
				},
				{
					"label": "L26",
					"x": 6,
					"y": 2
				},
				{
					"label": "L27",
					"x": 7,
					"y": 2
				},
				{
					"label": "R20",
					"x": 8,
					"y": 2
				},
				{
					"label": "R21",
					"x": 9,
					"y": 2
				},
				{
					"label": "R22",
					"x": 10,
					"y": 2
				},
				{
					"label": "R23",
					"x": 11,
					"y": 2
				},
				{
					"label": "R24",
					"x": 12,
					"y": 2
				},
				{
					"label": "R25",
					"x": 13,
					"y": 2
				},
				{
					"label": "R26",
					"x": 14,
					"y": 2
				},
				{
					"label": "R27",
					"x": 15,
					"y": 2
				},
				{
					"label": "L30",
					"x": 0,
					"y": 3
				},
				{
					"label": "L31",
					"x": 1,
					"y": 3
				},
				{
					"label": "L32",
					"x": 2,
					"y": 3
				},
				{
					"label": "L33",
					"x": 3,
					"y": 3
				},
				{
					"label": "L34",
					"x": 4,
					"y": 3
				},
				{
					"label": "L35",
					"x": 5,
					"y": 3
				},
				{
					"label": "L36",
					"x": 6,
					"y": 3
				},
				{
					"label": "L37",
					"x": 7,
					"y": 3
				},
				{
					"label": "R30",
					"x": 8,
					"y": 3
				},
				{
					"label": "R31",
					"x": 9,
					"y": 3
				},
				{
					"label": "R32",
					"x": 10,
					"y": 3
				},
				{
					"label": "R33",
					"x": 11,
					"y": 3
				},
				{
					"label": "R34",
					"x": 12,
					"y": 3
				},
				{
					"label": "R35",
					"x": 13,
					"y": 3
				},
				{
					"label": "R36",
					"x": 14,
					"y": 3
				},
				{
					"label": "R37",
					"x": 15,
					"y": 3
				},
				{
					"label": "L40",
					"x": 0,
					"y": 4
				},
				{
					"label": "L41",
					"x": 1,
					"y": 4
				},
				{
					"label": "L42",
					"x": 2,
					"y": 4
				},
				{
					"label": "L43",
					"x": 3,
					"y": 4
				},
				{
					"label": "L44",
					"x": 4,
					"y": 4
				},
				{
					"label": "L45",
					"x": 5,
					"y": 4
				},
				{
					"label": "L46",
					"x": 6,
					"y": 4
				},
				{
					"label": "L47",
					"x": 7,
					"y": 4
				},
				{
					"label": "R40",
					"x": 8,
					"y": 4
				},
				{
					"label": "R41",
					"x": 9,
					"y": 4
				},
				{
					"label": "R42",
					"x": 10,
					"y": 4
				},
				{
					"label": "R43",
					"x": 11,
					"y": 4
				},
				{
					"label": "R44",
					"x": 12,
					"y": 4
				},
				{
					"label": "R45",
					"x": 13,
					"y": 4
				},
				{
					"label": "R46",
					"x": 14,
					"y": 4
				},
				{
					"label": "R47",
					"x": 15,
					"y": 4
				},
				{
					"label": "L50",
					"x": 0,
					"y": 5
				},
				{
					"label": "L51",
					"x": 1,
					"y": 5
				},
				{
					"label": "L52",
					"x": 2,
					"y": 5
				},
				{
					"label": "L53",
					"x": 3,
					"y": 5
				},
				{
					"label": "L54",
					"x": 4,
					"y": 5
				},
				{
					"label": "L55",
					"x": 5,
					"y": 5
				},
				{
					"label": "L56",
					"x": 6,
					"y": 5
				},
				{
					"label": "L57",
					"x": 7,
					"y": 5
				},
				{
					"label": "R50",
					"x": 8,
					"y": 5
				},
				{
					"label": "R51",
					"x": 9,
					"y": 5
				},
				{
					"label": "R52",
					"x": 10,
					"y": 5
				},
				{
					"label": "R53",
					"x": 11,
					"y": 5
				},
				{
					"label": "R54",
					"x": 12,
					"y": 5
				},
				{
					"label": "R55",
					"x": 13,
					"y": 5
				},
				{
					"label": "R56",
					"x": 14,
					"y": 5
				},
				{
					"label": "R57",
					"x": 15,
					"y": 5
				}
			]
		}
	}
}
\ No newline at end of file

A keyboards/adkb96/keymaps/default/config.h => keyboards/adkb96/keymaps/default/config.h +34 -0
@@ 0,0 1,34 @@
/*
This is the c configuration file for the keymap

Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert

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/>.
*/

#pragma once

/* Use I2C or Serial, not both */

#define USE_SERIAL
//#define USE_I2C

/* Select hand configuration */

#define MASTER_LEFT
// #define MASTER_RIGHT
// #define EE_HANDS

#define FORCE_NKRO

A keyboards/adkb96/keymaps/default/keymap.c => keyboards/adkb96/keymaps/default/keymap.c +15 -0
@@ 0,0 1,15 @@
#include QMK_KEYBOARD_H

extern keymap_config_t keymap_config;

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

  [0] = LAYOUT( 
	KC_ESC,	XXXXXXX,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_DELT,
	KC_ZKHK,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_JYEN,KC_BSPC,KC_BSPC,
	KC_TAB,	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_ENT,
	KC_CAPS,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_ENT,
	KC_LSFT,KC_LSFT,KC_Z,	KC_X,	KC_C,	KC_V,	KC_B,	KC_N,	KC_M,	KC_COMM,KC_DOT,	KC_SLSH,KC_RO,	KC_UP,	KC_RSFT,KC_RSFT, 
	KC_LCTL,KC_LALT,KC_LGUI,KC_MHEN,KC_SPC,	KC_SPC,	KC_SPC,	KC_SPC,	KC_HENK,KC_KANA,KC_RALT,KC_RCTL,KC_LEFT,KC_DOWN,KC_RGHT,XXXXXXX
  )
};

A keyboards/adkb96/readme.md => keyboards/adkb96/readme.md +17 -0
@@ 0,0 1,17 @@
# ADKB96

![ADKB96](http://btoshop.jp/wp-content/uploads/sites/3/2019/04/ADKB96_ALL.png)  

A 16x6 ortholinear keyboard kit made and sold by Bit Trade One Ltd. [More info on Web](http://bit-trade-one.co.jp/selfmadekb/adkb96/)  

Keyboard Maintainer: [Bit Trade One Ltd.](http://bit-trade-one.co.jp/)  
Hardware Supported: ADKB96 PCB, Pro Micro  
Hardware Availability: [PCB & case Data](https://github.com/bit-trade-one/ADKB96-hardware), [BTOS Shop](http://btoshop.jp/2019/04/11/4562469772424/)  

Make example for this keyboard (after setting up your build environment):  

```sh
  make adkb96/rev1: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).  

A keyboards/adkb96/rev1/config.h => keyboards/adkb96/rev1/config.h +78 -0
@@ 0,0 1,78 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert

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/>.
*/

/* USB Device descriptor parameter */
#define VENDOR_ID       0x00a5
#define PRODUCT_ID      0xad96
#define DEVICE_VER      0x0001
#define MANUFACTURER    Bit Trade One
#define PRODUCT         ADKB96
#define DESCRIPTION     

/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 12
#define MATRIX_COLS 8

// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 }

#define SOFT_SERIAL_PIN D0

/* define tapping term */
#define TAPPING_TERM 100

/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST

/* number of backlight levels */
// #define BACKLIGHT_LEVELS 3

/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

/* ws2812 RGB LED */
/*
#define RGB_DI_PIN D3

#define RGBLED_NUM 12    // Number of LEDs
*/
/*
 * Feature disable options
 *  These options are also useful to firmware size reduction.
 */

/* disable debug print */
// #define NO_DEBUG

/* disable print */
// #define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION


A keyboards/adkb96/rev1/rev1.c => keyboards/adkb96/rev1/rev1.c +15 -0
@@ 0,0 1,15 @@
#include "adkb96.h"

void matrix_init_kb(void) {

    // // green led on
    // DDRD |= (1<<5);
    // PORTD &= ~(1<<5);

    // // orange led on
    // DDRB |= (1<<0);
    // PORTB &= ~(1<<0);

	matrix_init_user();
};


A keyboards/adkb96/rev1/rev1.h => keyboards/adkb96/rev1/rev1.h +44 -0
@@ 0,0 1,44 @@
#pragma once

#include "adkb96.h"

//void promicro_bootloader_jmp(bool program);

#ifdef USE_I2C
#include <stddef.h>
#ifdef __AVR__
	#include <avr/io.h>
	#include <avr/interrupt.h>
#endif
#endif

//void promicro_bootloader_jmp(bool program);


// Keymap with right side flipped
// (TRRS jack on both halves are to the right)
#define LAYOUT_ortho_6x16( \
	L00, L01, L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, \
	L10, L11, L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, \
	L20, L21, L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R26, R27, \
	L30, L31, L32, L33, L34, L35, L36, L37, R30, R31, R32, R33, R34, R35, R36, R37, \
	L40, L41, L42, L43, L44, L45, L46, L47, R40, R41, R42, R43, R44, R45, R46, R47, \
	L50, L51, L52, L53, L54, L55, L56, L57, R50, R51, R52, R53, R54, R55, R56, R57 \
	) \
	{ \
		{ L00, L01, L02, L03, L04, L05, L06, L07 }, \
		{ L10, L11, L12, L13, L14, L15, L16, L17 }, \
		{ L20, L21, L22, L23, L24, L25, L26, L27 }, \
		{ L30, L31, L32, L33, L34, L35, L36, L37 }, \
		{ L40, L41, L42, L43, L44, L45, L46, L47 }, \
		{ L50, L51, L52, L53, L54, L55, L56, L57 }, \
		{ R00, R01, R02, R03, R04, R05, R06, R07 }, \
		{ R10, R11, R12, R13, R14, R15, R16, R17 }, \
		{ R20, R21, R22, R23, R24, R25, R26, R27 }, \
		{ R30, R31, R32, R33, R34, R35, R36, R37 }, \
		{ R40, R41, R42, R43, R44, R45, R46, R47 }, \
		{ R50, R51, R52, R53, R54, R55, R56, R57 } \
	}

#define LAYOUT LAYOUT_ortho_6x16


A keyboards/adkb96/rules.mk => keyboards/adkb96/rules.mk +78 -0
@@ 0,0 1,78 @@
# MCU name
#MCU = at90usb1287
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 = caterina

# Boot Section Size in *bytes*
#   Teensy halfKay   512
#   Teensy++ halfKay 1024
#   Atmel DFU loader 4096
#   LUFA bootloader  4096
#   USBaspLoader     2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096

# 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 = no       # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no       # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
CONSOLE_ENABLE = no         # Console for debug(+400)
COMMAND_ENABLE = yes        # 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. 
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend

SPLIT_KEYBOARD = yes

DEFAULT_FOLDER = adkb96/rev1