diff options
author | peepeetee <43021794+peepeetee@users.noreply.github.com> | 2022-02-12 05:51:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 21:51:20 +0000 |
commit | bd35fa7de1323d572d530cfa4dbe9cf68cf1480b (patch) | |
tree | 2433341a4a436c7a91e55113b32caf6cdc172120 /keyboards/namecard2x4 | |
parent | 71c0b97bced7722abaa0adefd57066cc065538b5 (diff) |
move @takashiski 's keebs into /takashiski (#16089)
Diffstat (limited to 'keyboards/namecard2x4')
-rw-r--r-- | keyboards/namecard2x4/.noci | 0 | ||||
-rw-r--r-- | keyboards/namecard2x4/info.json | 11 | ||||
-rw-r--r-- | keyboards/namecard2x4/keymaps/brainfuck/config.h | 19 | ||||
-rw-r--r-- | keyboards/namecard2x4/keymaps/brainfuck/keymap.c | 59 | ||||
-rw-r--r-- | keyboards/namecard2x4/keymaps/brainfuck/readme.md | 12 | ||||
-rw-r--r-- | keyboards/namecard2x4/keymaps/default/keymap.c | 43 | ||||
-rw-r--r-- | keyboards/namecard2x4/keymaps/default/readme.md | 9 | ||||
-rw-r--r-- | keyboards/namecard2x4/namecard2x4.c | 16 | ||||
-rw-r--r-- | keyboards/namecard2x4/namecard2x4.h | 31 | ||||
-rw-r--r-- | keyboards/namecard2x4/readme.md | 24 | ||||
-rw-r--r-- | keyboards/namecard2x4/rev1/.noci | 0 | ||||
-rw-r--r-- | keyboards/namecard2x4/rev1/config.h | 117 | ||||
-rw-r--r-- | keyboards/namecard2x4/rev1/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/namecard2x4/rev2/config.h | 117 | ||||
-rw-r--r-- | keyboards/namecard2x4/rev2/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/namecard2x4/rules.mk | 21 |
16 files changed, 0 insertions, 479 deletions
diff --git a/keyboards/namecard2x4/.noci b/keyboards/namecard2x4/.noci deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/namecard2x4/.noci +++ /dev/null diff --git a/keyboards/namecard2x4/info.json b/keyboards/namecard2x4/info.json deleted file mode 100644 index 04a431f9f3..0000000000 --- a/keyboards/namecard2x4/info.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "keyboard_name": "namecard2x4", - "url": "https://skyhigh-works.hatenablog.com/", - "maintainer": "takashiski", - "bootloader": "atmel-dfu", - "layouts": { - "LAYOUT": { - "layout": [{"label":"1", "x":0, "y":0}, {"label":"2", "x":1, "y":0}, {"label":"3", "x":2, "y":0}, {"label":"4", "x":3, "y":0}, {"label":"5", "x":0, "y":1}, {"label":"6", "x":1, "y":1}, {"label":"7", "x":2, "y":1}, {"label":"8", "x":3, "y":1}] - } - } -} diff --git a/keyboards/namecard2x4/keymaps/brainfuck/config.h b/keyboards/namecard2x4/keymaps/brainfuck/config.h deleted file mode 100644 index dbacdcce58..0000000000 --- a/keyboards/namecard2x4/keymaps/brainfuck/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2018 takashiski - * - * 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 - -// place overrides here diff --git a/keyboards/namecard2x4/keymaps/brainfuck/keymap.c b/keyboards/namecard2x4/keymaps/brainfuck/keymap.c deleted file mode 100644 index 28640db0fd..0000000000 --- a/keyboards/namecard2x4/keymaps/brainfuck/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2018 takashiski - * - * 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 -#include "keymap_jp.h" - -enum Layer -{ - JP, - EN, - CONFIG -}; - - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[JP] = LAYOUT( - JP_LABK,JP_RABK,JP_PLUS,JP_MINS,\ - LT(CONFIG,JP_DOT),JP_COMM,JP_LBRC,LT(CONFIG,JP_RBRC)\ - ), -[EN] = LAYOUT( - KC_LT,KC_GT,KC_PLUS,KC_MINS,\ - LT(CONFIG,KC_DOT),KC_COMM,KC_LBRC,LT(CONFIG,KC_RBRC)\ - ), -[CONFIG]= LAYOUT( - KC_NO,DF(JP),DF(JP),KC_NO,\ - KC_TRNS,DF(EN),DF(JP),KC_TRNS\ - ) - -}; - - -void matrix_init_user(void) { - -} - -void matrix_scan_user(void) { - -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - return true; -} - -void led_set_user(uint8_t usb_led) { - -} diff --git a/keyboards/namecard2x4/keymaps/brainfuck/readme.md b/keyboards/namecard2x4/keymaps/brainfuck/readme.md deleted file mode 100644 index 7fee17acd9..0000000000 --- a/keyboards/namecard2x4/keymaps/brainfuck/readme.md +++ /dev/null @@ -1,12 +0,0 @@ -# keymap for brainfuck - - This keymap is specialized for the brainfuck programming language. - -| < | > | + | - | -| . | , | [ | ] | - -and when you hold . or ], change config layer. - -default layer is for JP keyboard(logical pairing). -you can choose EN keyboard(typewrite pairing). - diff --git a/keyboards/namecard2x4/keymaps/default/keymap.c b/keyboards/namecard2x4/keymaps/default/keymap.c deleted file mode 100644 index 5858be6d68..0000000000 --- a/keyboards/namecard2x4/keymaps/default/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2018 takashiski - * - * 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 - -enum Layer -{ - DF, - LW, - RS -}; - - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[DF] = LAYOUT( - KC_1,KC_2,KC_3,LT(LW,KC_4), - KC_5,KC_6,KC_7,LT(RS,KC_8) - ), -[LW]= LAYOUT( - - RGB_VAD,RGB_VAI,RGB_HUI,RGB_HUD, - KC_TRNS,RGB_MOD,RGB_RMOD,KC_TRNS - ), -[RS]= LAYOUT( - - KC_MYCM,KC_MAIL,KC_VOLU,KC_MUTE, - KC_WSCH,KC_CALC,KC_VOLD,KC_TRNS - ) - -}; diff --git a/keyboards/namecard2x4/keymaps/default/readme.md b/keyboards/namecard2x4/keymaps/default/readme.md deleted file mode 100644 index 83601c9cf5..0000000000 --- a/keyboards/namecard2x4/keymaps/default/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# The default keymap for namecard2x4 - -this is test keymap. - -| 1 | 2 | 3 | 4 | -| 5 | 6 | 7 | 8 | - -if hold 4, change to Backlight settings Layer. -if hold 8, change to Windows action Layer(Open my computer, Open calculater and others). diff --git a/keyboards/namecard2x4/namecard2x4.c b/keyboards/namecard2x4/namecard2x4.c deleted file mode 100644 index 091b55c10d..0000000000 --- a/keyboards/namecard2x4/namecard2x4.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 takashiski - * - * 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 "namecard2x4.h" diff --git a/keyboards/namecard2x4/namecard2x4.h b/keyboards/namecard2x4/namecard2x4.h deleted file mode 100644 index f3f6992703..0000000000 --- a/keyboards/namecard2x4/namecard2x4.h +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2018 takashiski - * - * 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" - -// This a shortcut to help you visually see your layout. -// The following is an example using the Planck MIT layout -// The first section contains all of the arguments -// The second converts the arguments into a two-dimensional array -#define LAYOUT( \ - k00, k01, k02, k03, \ - k10, k11, k12, k13 \ -) { \ - { k00, k01, k02, k03 }, \ - { k10, k11, k12, k13 } \ -} diff --git a/keyboards/namecard2x4/readme.md b/keyboards/namecard2x4/readme.md deleted file mode 100644 index ec98bc6736..0000000000 --- a/keyboards/namecard2x4/readme.md +++ /dev/null @@ -1,24 +0,0 @@ -# namecard2x4 - -日本式名刺サイズのキーボードです(55x91mm)。 -Kailh PCB SocketとWS2812/SK6812に対応しています。 - -This keyboard is Japanese namecard size(55x91mm) keyboard. - -namecard2x4 has 8 switch and kailh PCB socket. - -![namecard2x4](https://i.imgur.com/Bi9SV9A.jpg) - -![namecard2x4 with case](https://i.imgur.com/yTv1vSz.jpg) - - - -Keyboard Maintainer: [takashiski](https://github.com/takashiski) - - -Make example for this keyboard (after setting up your build environment): - - make namecard2x4: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). - diff --git a/keyboards/namecard2x4/rev1/.noci b/keyboards/namecard2x4/rev1/.noci deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/namecard2x4/rev1/.noci +++ /dev/null diff --git a/keyboards/namecard2x4/rev1/config.h b/keyboards/namecard2x4/rev1/config.h deleted file mode 100644 index d743c0e339..0000000000 --- a/keyboards/namecard2x4/rev1/config.h +++ /dev/null @@ -1,117 +0,0 @@ -/* -Copyright 2018 takashiski - -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 0xFEED -#define PRODUCT_ID 0x0000 -#define DEVICE_VER 0x0001 -#define MANUFACTURER takashiski -#define PRODUCT namecard2x4 - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { B4,B5 } -#define MATRIX_COL_PINS { E6,D7,C6,D4 } -#define UNUSED_PINS - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -#define RGB_DI_PIN F4 -#define RGBLED_NUM 4 -#define RGBLIGHT_ANIMATIONS -#define RGBLIGHT_HUE_STEP 10 -#define RGBLIGHT_SAT_STEP 10 -#define RGBLIGHT_VAL_STEP 10 - -//#define BACKLIGHT_PIN F4 -//#define BACKLIGHT_BREATHING -//#define BACKLIGHT_LEVELS 1 - -/* 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 - -/* number of backlight levels */ - -/* 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 - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * 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 - diff --git a/keyboards/namecard2x4/rev1/rules.mk b/keyboards/namecard2x4/rev1/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/namecard2x4/rev1/rules.mk +++ /dev/null diff --git a/keyboards/namecard2x4/rev2/config.h b/keyboards/namecard2x4/rev2/config.h deleted file mode 100644 index 37434d41a0..0000000000 --- a/keyboards/namecard2x4/rev2/config.h +++ /dev/null @@ -1,117 +0,0 @@ -/* -Copyright 2018 takashiski - -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 0xFEED -#define PRODUCT_ID 0x0000 -#define DEVICE_VER 0x0001 -#define MANUFACTURER takashiski -#define PRODUCT namecard2x4 - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { B2,B6 } -#define MATRIX_COL_PINS { D7,E6,B4,B5 } -#define UNUSED_PINS - -/* COL2ROW, ROW2COL */ -//#define DIODE_DIRECTION COL2ROW -#define DIODE_DIRECTION ROW2COL -#define RGB_DI_PIN D4 -#define RGBLED_NUM 8 -#define RGBLIGHT_ANIMATIONS -#define RGBLIGHT_HUE_STEP 10 -#define RGBLIGHT_SAT_STEP 10 -#define RGBLIGHT_VAL_STEP 10 - -//#define BACKLIGHT_PIN F4 -//#define BACKLIGHT_BREATHING -//#define BACKLIGHT_LEVELS 1 - -/* 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 - -/* number of backlight levels */ - -/* 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 - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * 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 - diff --git a/keyboards/namecard2x4/rev2/rules.mk b/keyboards/namecard2x4/rev2/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/namecard2x4/rev2/rules.mk +++ /dev/null diff --git a/keyboards/namecard2x4/rules.mk b/keyboards/namecard2x4/rules.mk deleted file mode 100644 index b1f04b15ec..0000000000 --- a/keyboards/namecard2x4/rules.mk +++ /dev/null @@ -1,21 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output - -#RGBLIGHT_ENABLE = yes # uncomment if you want addressable led strips - -DEFAULT_FOLDER = namecard2x4/rev2 |