mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
[Keyboard] Tokyo Keyboard alix40 initial commit (#11918)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: QuadCube <quadcube@QuadCube-Mac-mini.local>
This commit is contained in:
parent
36999494d6
commit
37e14fd02b
15
keyboards/tokyokeyboard/alix40/alix40.c
Normal file
15
keyboards/tokyokeyboard/alix40/alix40.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
Copyright 2021 quadcube <james@quadcube.xyz>
|
||||
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 "alix40.h"
|
29
keyboards/tokyokeyboard/alix40/alix40.h
Normal file
29
keyboards/tokyokeyboard/alix40/alix40.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
Copyright 2021 quadcube <james@quadcube.xyz>
|
||||
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 "quantum.h"
|
||||
|
||||
#define LAYOUT_40_alix( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
|
||||
K30, K31, K33, K34, K35, K36, K37, K38, K3A, K3B \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
|
||||
{ K30, K31, KC_NO, K33, K34, K35, K36, K37, K38, KC_NO, K3A, K3B } \
|
||||
}
|
71
keyboards/tokyokeyboard/alix40/config.h
Normal file
71
keyboards/tokyokeyboard/alix40/config.h
Normal file
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
Copyright 2021 quadcube <james@quadcube.xyz>
|
||||
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"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x5143 // QC
|
||||
#define PRODUCT_ID 0x4134 // A4
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER quadcube
|
||||
#define PRODUCT alix40
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 4
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_PIN B7
|
||||
#ifdef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_LEVELS 31
|
||||
#define BACKLIGHT_BREATHING
|
||||
#endif
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { D7, C6, C7, B5 }
|
||||
#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0, D0, D1, D2, D3, D5, D6 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* 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
|
||||
|
||||
#define RGB_DI_PIN B0
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 10
|
||||
#define RGBLIGHT_VAL_STEP 10
|
||||
#endif
|
||||
|
||||
/* For Production */
|
||||
#define QMK_ESC_OUTPUT F7 // usually COL
|
||||
#define QMK_ESC_INPUT D7 // usually ROW
|
||||
|
||||
/* Bluetooth */
|
||||
#define AdafruitBleResetPin D4
|
||||
#define AdafruitBleCSPin B4
|
||||
#define AdafruitBleIRQPin E6
|
||||
#define BATTERY_LEVEL_PIN B6
|
242
keyboards/tokyokeyboard/alix40/info.json
Normal file
242
keyboards/tokyokeyboard/alix40/info.json
Normal file
|
@ -0,0 +1,242 @@
|
|||
{
|
||||
"keyboard_name": "alix40",
|
||||
"url": "https://tokyokeyboard.com/",
|
||||
"maintainer": "qmk",
|
||||
"width": 12,
|
||||
"height": 4,
|
||||
"layouts": {
|
||||
"LAYOUT_40_alix": {
|
||||
"layout": [{
|
||||
"label": "Tab",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "Q",
|
||||
"x": 1,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "W",
|
||||
"x": 2,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "E",
|
||||
"x": 3,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "R",
|
||||
"x": 4,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "T",
|
||||
"x": 5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "Y",
|
||||
"x": 7.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "U",
|
||||
"x": 8.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "I",
|
||||
"x": 9.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "O",
|
||||
"x": 10.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "P",
|
||||
"x": 11.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "`",
|
||||
"x": 12.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "Esc",
|
||||
"x": 0.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "A",
|
||||
"x": 1.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "S",
|
||||
"x": 2.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "D",
|
||||
"x": 3.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "F",
|
||||
"x": 4.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "G",
|
||||
"x": 5.25,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "H",
|
||||
"x": 7.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "J",
|
||||
"x": 8.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K",
|
||||
"x": 9.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "L",
|
||||
"x": 10.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": ";",
|
||||
"x": 11.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "'",
|
||||
"x": 12.75,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "Shift",
|
||||
"x": 0.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "Z",
|
||||
"x": 1.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "X",
|
||||
"x": 2.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "C",
|
||||
"x": 3.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "V",
|
||||
"x": 4.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "B",
|
||||
"x": 5.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "Enter",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "N",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "M",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": ",",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": ".",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "/",
|
||||
"x": 7.25,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "Ctrl",
|
||||
"x": 0.5,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "Alt",
|
||||
"x": 1.5,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "Gui",
|
||||
"x": 3.75,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "NO",
|
||||
"x": 4.75,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "Bksp",
|
||||
"x": 5.75,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "Space",
|
||||
"x": 7.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "NO",
|
||||
"x": 8.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "Gui",
|
||||
"x": 9.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "[",
|
||||
"x": 11.5,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "]",
|
||||
"x": 12.5,
|
||||
"y": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
73
keyboards/tokyokeyboard/alix40/keymaps/default/keymap.c
Normal file
73
keyboards/tokyokeyboard/alix40/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,73 @@
|
|||
/*
|
||||
Copyright 2021 quadcube <james@quadcube.xyz>
|
||||
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 QMK_KEYBOARD_H
|
||||
|
||||
/*
|
||||
* Default Alix Layout
|
||||
*/
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ ` │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Esc │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│ Z │ X │ C │ V │ B │Enter│ N │ M │ , │ . │ / │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Alt │ │ Gui │█████│Bksp │Space│█████│ Gui │ │ [ │ ] │
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
[0] = LAYOUT_40_alix(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_GRV,
|
||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
KC_LCTL, KC_RALT, KC_LGUI,KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_LBRC, KC_RBRC
|
||||
),
|
||||
/* 1: Lower Layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ | │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ DEL | F1 | F2 | F3 | F4 | F5 │Left │Down │ Up │Right│ ; │ ' │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│ F6 │ F7 │ F8 │ F9 │ F10 │Enter|Next |Vol- |Vol+ | Play│ / │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Alt │ │ Gui │█████│Bksp │Space│█████│ Gui │ │ _ │ + │
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
[1]= LAYOUT_40_alix(
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_ENT, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, KC_SLSH,
|
||||
KC_LCTL, KC_RALT, KC_LGUI, KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_UNDS, KC_PLUS
|
||||
),
|
||||
|
||||
/* 2: Raise Layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ~ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ \ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ DEL │ F1 │ F2 │ F3 │ F4 │ F5 │Left │Down │ Up │Right│ ; │ ' │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│ F6 │ F7 │ F8 │ F9 │ F10 │Enter│Next │PgDn │PgUp │Home │ End │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Alt │ │ Gui │█████│Bksp │Space│█████│ Gui │ │ - │ = │
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
[2]= LAYOUT_40_alix(
|
||||
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_ENT, KC_MNXT, KC_PGDN, KC_PGUP, KC_HOME, KC_END,
|
||||
KC_LCTL, KC_RALT, KC_LGUI, KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_MINS, KC_EQL
|
||||
),
|
||||
};
|
47
keyboards/tokyokeyboard/alix40/keymaps/via/keymap.c
Normal file
47
keyboards/tokyokeyboard/alix40/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
Copyright 2021 quadcube <james@quadcube.xyz>
|
||||
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 QMK_KEYBOARD_H
|
||||
|
||||
#define BL 0
|
||||
#define FN 1
|
||||
/*
|
||||
* Default alix40 Layout
|
||||
*/
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[BL] = LAYOUT_40_alix(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_GRV,
|
||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
|
||||
KC_LCTL, KC_RALT, KC_LGUI,KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_LBRC, KC_RBRC),
|
||||
|
||||
[FN]= LAYOUT_40_alix(
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_ENT, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, KC_SLSH,
|
||||
KC_LCTL, KC_RALT, KC_LGUI, KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_UNDS, KC_PLUS),
|
||||
|
||||
[2]= LAYOUT_40_alix(
|
||||
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS,
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_ENT, KC_MNXT, KC_PGDN, KC_PGUP, KC_HOME, KC_END,
|
||||
KC_LCTL, KC_RALT, KC_LGUI, KC_NO, LT(1, KC_BSPC), LT(2, KC_SPC), KC_NO, KC_RGUI, KC_MINS, KC_EQL),
|
||||
|
||||
[3]= LAYOUT_40_alix(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
};
|
2
keyboards/tokyokeyboard/alix40/keymaps/via/rules.mk
Normal file
2
keyboards/tokyokeyboard/alix40/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
22
keyboards/tokyokeyboard/alix40/readme.md
Normal file
22
keyboards/tokyokeyboard/alix40/readme.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
# alix40
|
||||
|
||||
![alix40](https://i2.wp.com/tokyokeyboard.com/wp-content/uploads/2020/08/hello-alix.png)
|
||||
|
||||
Minimal hacker style mechanical keyboard designed in Tokyo. Cherry MX compatible. More Info at [Tokyo Keyboard](http://tokyokeyboard.com).
|
||||
|
||||
* Keyboard Maintainer: [quadcube](https://github.com/quadcube)
|
||||
* Hardware Supported: alix40 rev1
|
||||
* Hardware Availability: [Tokyo Keyboard](http://tokyokeyboard.com)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make tokyokeyboard/alix40:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
|
||||
|
||||
Note:
|
||||
1. Be very careful and gentle when disassembling the PCB from the bottom case
|
||||
2. alix40 battery power switch (shown in the image below) is used to toggle battery usage (on: battery will be charged when USB is connected, keyboard will be on when USB is disconnected/off:battery will not be charged when USB is connected, keyboard will be off when USB is disconnected)
|
||||
![alix40pwrtoggle](https://i.imgur.com/zr0DODl.jpg)
|
||||
3. Install the slider on the battery power switch (bundled together with the 3M feets)
|
||||
4. Underglow RGBs are switched off when alix40 is running on battery power (hardware feature to extend battery usage time)
|
26
keyboards/tokyokeyboard/alix40/rules.mk
Normal file
26
keyboards/tokyokeyboard/alix40/rules.mk
Normal file
|
@ -0,0 +1,26 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Processor frequency
|
||||
F_CPU = 8000000
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
BLUETOOTH = AdafruitBLE
|
Loading…
Reference in New Issue
Block a user