From 454c8c31001398dd5b8a6adbc166033b7eac446a Mon Sep 17 00:00:00 2001 From: Tom Barnes Date: Fri, 30 Sep 2022 06:24:41 +0100 Subject: [PATCH] [Keyboard] add Ask55 (#18256) Co-authored-by: Joel Challis Co-authored-by: Ryan Co-authored-by: Drashna Jaelre --- keyboards/ask55/config.h | 40 ++++++ keyboards/ask55/info.json | 123 ++++++++++++++++++ keyboards/ask55/keymaps/default/keymap.c | 34 +++++ keyboards/ask55/keymaps/default/readme.md | 1 + keyboards/ask55/keymaps/iic/keymap.c | 33 +++++ keyboards/ask55/keymaps/iic/readme.md | 1 + keyboards/ask55/keymaps/m0118/keymap.c | 33 +++++ keyboards/ask55/keymaps/m0118/readme.md | 1 + keyboards/ask55/keymaps/mac-portable/keymap.c | 33 +++++ .../ask55/keymaps/mac-portable/readme.md | 1 + keyboards/ask55/keymaps/next/keymap.c | 33 +++++ keyboards/ask55/keymaps/next/readme.md | 1 + keyboards/ask55/readme.md | 15 +++ keyboards/ask55/rules.mk | 1 + 14 files changed, 350 insertions(+) create mode 100644 keyboards/ask55/config.h create mode 100644 keyboards/ask55/info.json create mode 100644 keyboards/ask55/keymaps/default/keymap.c create mode 100644 keyboards/ask55/keymaps/default/readme.md create mode 100644 keyboards/ask55/keymaps/iic/keymap.c create mode 100644 keyboards/ask55/keymaps/iic/readme.md create mode 100644 keyboards/ask55/keymaps/m0118/keymap.c create mode 100644 keyboards/ask55/keymaps/m0118/readme.md create mode 100644 keyboards/ask55/keymaps/mac-portable/keymap.c create mode 100644 keyboards/ask55/keymaps/mac-portable/readme.md create mode 100644 keyboards/ask55/keymaps/next/keymap.c create mode 100644 keyboards/ask55/keymaps/next/readme.md create mode 100644 keyboards/ask55/readme.md create mode 100644 keyboards/ask55/rules.mk diff --git a/keyboards/ask55/config.h b/keyboards/ask55/config.h new file mode 100644 index 00000000000..0dc8301c654 --- /dev/null +++ b/keyboards/ask55/config.h @@ -0,0 +1,40 @@ +/* +Copyright 2022 Yiancar / Keyboard-Magpie + +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 . +*/ + +#pragma once + +#include "config_common.h" + +/*== customize breathing effect ==*/ + /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ + #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 + /*==== use exp() and sin() ====*/ + #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 + #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 + + +/* 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 LOCKING_RESYNC_ENABLE + +/* Bootmagic Lite key configuration */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/ask55/info.json b/keyboards/ask55/info.json new file mode 100644 index 00000000000..50804f2262c --- /dev/null +++ b/keyboards/ask55/info.json @@ -0,0 +1,123 @@ +{ + "manufacturer": "Yiancar-Designs", + "keyboard_name": "ASK55", + "maintainer": "qmk", + "development_board": "promicro", + "debounce": 5, + "diode_direction": "COL2ROW", + "features": { + "audio": false, + "backlight": false, + "bluetooth": false, + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "sleep_led": false, + "unicode": false + }, + "matrix_pins": { + "cols": ["E6", "D0", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"], + "rows": ["B0", "B1", "D1", "F6", "F5"] + }, + "rgblight": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true + }, + "brightness_steps": 8, + "hue_steps": 8, + "led_count": 8, + "max_brightness": 255, + "pin": "F4", + "saturation_steps": 8, + "sleep": true + }, + "usb": { + "device_version": "0.0.1", + "pid": "0x3535", + "vid": "0x8968" + }, + "layouts": { + "LAYOUT": { + "layout": [ + { "label": "k00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, + { "label": "k01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 }, + { "label": "k02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0 }, + { "label": "k03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0 }, + { "label": "k04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0 }, + { "label": "k05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0 }, + { "label": "k06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0 }, + { "label": "k07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0 }, + { "label": "k08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0 }, + { "label": "k09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0 }, + { "label": "k0a", "matrix": [0, 10], "w": 1, "x": 10, "y": 0 }, + { "label": "k0b", "matrix": [0, 11], "w": 1, "x": 11, "y": 0 }, + { "label": "k0c", "matrix": [0, 12], "w": 1, "x": 12, "y": 0 }, + { "label": "k0d", "matrix": [0, 13], "w": 1, "x": 13, "y": 0 }, + { "label": "k10", "matrix": [1, 0], "w": 1, "x": 14, "y": 0 }, + { "label": "k11", "matrix": [1, 1], "w": 1, "x": 15, "y": 0 }, + { "label": "k12", "matrix": [1, 2], "w": 1, "x": 16, "y": 0 }, + { "label": "k13", "matrix": [1, 3], "w": 1, "x": 17, "y": 0 }, + { "label": "k14", "matrix": [1, 4], "w": 1, "x": 18, "y": 0 }, + { "label": "k15", "matrix": [1, 5], "w": 1, "x": 19, "y": 0 }, + { "label": "k16", "matrix": [1, 6], "w": 1, "x": 20, "y": 0 }, + { "label": "k17", "matrix": [1, 7], "w": 1, "x": 21, "y": 0 }, + { "label": "k18", "matrix": [1, 8], "w": 1, "x": 22, "y": 0 }, + { "label": "k19", "matrix": [1, 9], "w": 1, "x": 23, "y": 0 }, + { "label": "k1a", "matrix": [1, 10], "w": 1, "x": 24, "y": 0 }, + { "label": "k1b", "matrix": [1, 11], "w": 1, "x": 25, "y": 0 }, + { "label": "k1c", "matrix": [1, 12], "w": 1, "x": 26, "y": 0 }, + { "label": "k1d", "matrix": [1, 13], "w": 1, "x": 27, "y": 0 }, + { "label": "k20", "matrix": [2, 0], "w": 1, "x": 28, "y": 0 }, + { "label": "k21", "matrix": [2, 1], "w": 1, "x": 29, "y": 0 }, + { "label": "k22", "matrix": [2, 2], "w": 1, "x": 30, "y": 0 }, + { "label": "k23", "matrix": [2, 3], "w": 1, "x": 31, "y": 0 }, + { "label": "k24", "matrix": [2, 4], "w": 1, "x": 32, "y": 0 }, + { "label": "k25", "matrix": [2, 5], "w": 1, "x": 33, "y": 0 }, + { "label": "k26", "matrix": [2, 6], "w": 1, "x": 34, "y": 0 }, + { "label": "k27", "matrix": [2, 7], "w": 1, "x": 35, "y": 0 }, + { "label": "k28", "matrix": [2, 8], "w": 1, "x": 36, "y": 0 }, + { "label": "k29", "matrix": [2, 9], "w": 1, "x": 37, "y": 0 }, + { "label": "k2a", "matrix": [2, 10], "w": 1, "x": 38, "y": 0 }, + { "label": "k2b", "matrix": [2, 11], "w": 1, "x": 39, "y": 0 }, + { "label": "k2c", "matrix": [2, 12], "w": 1, "x": 40, "y": 0 }, + { "label": "k2d", "matrix": [2, 13], "w": 1, "x": 41, "y": 0 }, + { "label": "k30", "matrix": [3, 0], "w": 1, "x": 42, "y": 0 }, + { "label": "k31", "matrix": [3, 1], "w": 1, "x": 43, "y": 0 }, + { "label": "k32", "matrix": [3, 2], "w": 1, "x": 44, "y": 0 }, + { "label": "k33", "matrix": [3, 3], "w": 1, "x": 45, "y": 0 }, + { "label": "k34", "matrix": [3, 4], "w": 1, "x": 46, "y": 0 }, + { "label": "k35", "matrix": [3, 5], "w": 1, "x": 47, "y": 0 }, + { "label": "k36", "matrix": [3, 6], "w": 1, "x": 48, "y": 0 }, + { "label": "k37", "matrix": [3, 7], "w": 1, "x": 49, "y": 0 }, + { "label": "k38", "matrix": [3, 8], "w": 1, "x": 50, "y": 0 }, + { "label": "k39", "matrix": [3, 9], "w": 1, "x": 51, "y": 0 }, + { "label": "k3a", "matrix": [3, 10], "w": 1, "x": 52, "y": 0 }, + { "label": "k3b", "matrix": [3, 11], "w": 1, "x": 53, "y": 0 }, + { "label": "k3c", "matrix": [3, 12], "w": 1, "x": 54, "y": 0 }, + { "label": "k3d", "matrix": [3, 13], "w": 1, "x": 55, "y": 0 }, + { "label": "k40", "matrix": [4, 0], "w": 1, "x": 56, "y": 0 }, + { "label": "k41", "matrix": [4, 1], "w": 1, "x": 57, "y": 0 }, + { "label": "k42", "matrix": [4, 2], "w": 1, "x": 58, "y": 0 }, + { "label": "k43", "matrix": [4, 3], "w": 1, "x": 59, "y": 0 }, + { "label": "k46", "matrix": [4, 6], "w": 1, "x": 60, "y": 0 }, + { "label": "k49", "matrix": [4, 9], "w": 1, "x": 61, "y": 0 }, + { "label": "k4a", "matrix": [4, 10], "w": 1, "x": 62, "y": 0 }, + { "label": "k4b", "matrix": [4, 11], "w": 1, "x": 63, "y": 0 }, + { "label": "k4c", "matrix": [4, 12], "w": 1, "x": 64, "y": 0 }, + { "label": "k4d", "matrix": [4, 13], "w": 1, "x": 65, "y": 0 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/ask55/keymaps/default/keymap.c b/keyboards/ask55/keymaps/default/keymap.c new file mode 100644 index 00000000000..e767e25b634 --- /dev/null +++ b/keyboards/ask55/keymaps/default/keymap.c @@ -0,0 +1,34 @@ +/* Copyright 2022 Yiancar / Keyboard-Magpie + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + LT(1,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_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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, 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, KC_RSFT, + KC_LCAP, KC_LALT, KC_LGUI, KC_GRV, KC_SPC, KC_NUBS, KC_LEFT, KC_RGHT, KC_DOWN, KC_UP +), + [1] = LAYOUT( /* Momentary Layer 1 */ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,RGB_TOG, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS +), +}; + diff --git a/keyboards/ask55/keymaps/default/readme.md b/keyboards/ask55/keymaps/default/readme.md new file mode 100644 index 00000000000..7e0a6bd73aa --- /dev/null +++ b/keyboards/ask55/keymaps/default/readme.md @@ -0,0 +1 @@ +# The M0116, M0330 and IIc Plus (default) keymap for the ASK55 \ No newline at end of file diff --git a/keyboards/ask55/keymaps/iic/keymap.c b/keyboards/ask55/keymaps/iic/keymap.c new file mode 100644 index 00000000000..5784307af9f --- /dev/null +++ b/keyboards/ask55/keymaps/iic/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2022 Yiancar / Keyboard-Magpie + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + LT(1,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_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_NUBS, + 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_NUHS, 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, KC_RSFT, + KC_LCAP, KC_GRV, KC_LGUI, KC_LALT, KC_SPC, KC_LGUI, KC_LEFT, KC_RGHT, KC_DOWN, KC_UP +), + [1] = LAYOUT( /* Momentary Layer 1 */ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,RGB_TOG, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS +), +}; diff --git a/keyboards/ask55/keymaps/iic/readme.md b/keyboards/ask55/keymaps/iic/readme.md new file mode 100644 index 00000000000..e9300cc04db --- /dev/null +++ b/keyboards/ask55/keymaps/iic/readme.md @@ -0,0 +1 @@ +# The IIc keymap for the ASK55 \ No newline at end of file diff --git a/keyboards/ask55/keymaps/m0118/keymap.c b/keyboards/ask55/keymaps/m0118/keymap.c new file mode 100644 index 00000000000..541944f5d6f --- /dev/null +++ b/keyboards/ask55/keymaps/m0118/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2022 Yiancar / Keyboard-Magpie + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + LT(1,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_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_LCAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUBS, KC_TRNS, + KC_LSFT, KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_LGUI, KC_LGUI, KC_SPC, KC_RGUI, KC_RGUI, KC_LEFT, KC_RGHT, KC_DOWN +), + [1] = LAYOUT( /* Momentary Layer 1 */ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,RGB_TOG, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS +), +}; diff --git a/keyboards/ask55/keymaps/m0118/readme.md b/keyboards/ask55/keymaps/m0118/readme.md new file mode 100644 index 00000000000..1bf1a90266e --- /dev/null +++ b/keyboards/ask55/keymaps/m0118/readme.md @@ -0,0 +1 @@ +# The M0118 keymap for the ASK55 \ No newline at end of file diff --git a/keyboards/ask55/keymaps/mac-portable/keymap.c b/keyboards/ask55/keymaps/mac-portable/keymap.c new file mode 100644 index 00000000000..056d0aee5a9 --- /dev/null +++ b/keyboards/ask55/keymaps/mac-portable/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2022 Yiancar / Keyboard-Magpie + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + LT(1,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_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_NUBS, + 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_NUHS, 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, KC_RSFT, + KC_LCAP, KC_LALT, KC_LGUI, KC_GRV, KC_SPC, KC_ENT, KC_LEFT, KC_RGHT, KC_DOWN, KC_UP +), + [1] = LAYOUT( /* Momentary Layer 1 */ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,RGB_TOG, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS +), +}; diff --git a/keyboards/ask55/keymaps/mac-portable/readme.md b/keyboards/ask55/keymaps/mac-portable/readme.md new file mode 100644 index 00000000000..9c24da47362 --- /dev/null +++ b/keyboards/ask55/keymaps/mac-portable/readme.md @@ -0,0 +1 @@ +# The Mac Portable keymap for the ASK55 diff --git a/keyboards/ask55/keymaps/next/keymap.c b/keyboards/ask55/keymaps/next/keymap.c new file mode 100644 index 00000000000..ea095ed7959 --- /dev/null +++ b/keyboards/ask55/keymaps/next/keymap.c @@ -0,0 +1,33 @@ +/* Copyright 2022 Yiancar / Keyboard-Magpie + * + * 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 . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( /* Base */ + LT(1,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_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_NUBS, + 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_NUHS, 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, KC_RSFT, + KC_LALT, KC_LGUI, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_RGUI, KC_RGUI, KC_RALT +), + [1] = LAYOUT( /* Momentary Layer 1 */ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,RGB_TOG, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS +), +}; diff --git a/keyboards/ask55/keymaps/next/readme.md b/keyboards/ask55/keymaps/next/readme.md new file mode 100644 index 00000000000..5cb6d33d1b6 --- /dev/null +++ b/keyboards/ask55/keymaps/next/readme.md @@ -0,0 +1 @@ +# The NeXT (both) keymaps for the ASK55 \ No newline at end of file diff --git a/keyboards/ask55/readme.md b/keyboards/ask55/readme.md new file mode 100644 index 00000000000..50128fef7d0 --- /dev/null +++ b/keyboards/ask55/readme.md @@ -0,0 +1,15 @@ +# ASK55 + +The ASK55 is a 14.5u, Alps-compatible PCB available from Paradigm. + +* Keyboard Maintainer: [yiancar](https://github.com/yiancar) / [keyboard-magpie](https://github.com/keyboard-magpie) +* Hardware Supported: Paradigm ASK55 PCB +* Hardware Availability: Paradigm GB + +Make example for this keyboard (after setting up your build environment): + + make ask55: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). + +To enter bootloader mode, double-press the reset button on the back of the PCB (yes, it's caterina for now, sorry!), or press and hold escape (top left key) when plugging in the board. diff --git a/keyboards/ask55/rules.mk b/keyboards/ask55/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/ask55/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file