Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
c3c2eb71e1 | |||
28a6a4a15b | |||
ccb37f673a | |||
c5efbc45a1 | |||
6a0d3c3517 | |||
2fbbac04bb | |||
04c81a04c7 | |||
120fcc58b6 | |||
781308507d | |||
3fe8d604a4 |
17
keyboards/bat43/bat43.c
Normal file
17
keyboards/bat43/bat43.c
Normal file
@ -0,0 +1,17 @@
|
||||
/* Copyright 2020 yfuku
|
||||
*
|
||||
* 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 "bat43.h"
|
46
keyboards/bat43/bat43.h
Normal file
46
keyboards/bat43/bat43.h
Normal file
@ -0,0 +1,46 @@
|
||||
/* Copyright 2020 yfuku
|
||||
*
|
||||
* 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 is a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \
|
||||
k10, k11, k12, k13, k14, k15, k30, k50, k51, k52, k53, k54, k55, \
|
||||
k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \
|
||||
k33, k34, k35, k70, k71, k72, \
|
||||
k74, k75, k73, k31, k32 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05 }, \
|
||||
{ k10, k11, k12, k13, k14, k15 }, \
|
||||
{ k20, k21, k22, k23, k24, k25 }, \
|
||||
{ k30, k31, k32, k33, k34, k35 }, \
|
||||
{ k40, k41, k42, k43, k44, k45 }, \
|
||||
{ k50, k51, k52, k53, k54, k55 }, \
|
||||
{ k60, k61, k62, k63, k64, k65 }, \
|
||||
{ k70, k71, k72, k73, k74, k75 }, \
|
||||
}
|
252
keyboards/bat43/config.h
Normal file
252
keyboards/bat43/config.h
Normal file
@ -0,0 +1,252 @@
|
||||
/*
|
||||
Copyright 2020 yfuku
|
||||
|
||||
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 0x1070
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER yfuku
|
||||
#define PRODUCT bat43
|
||||
#define DESCRIPTION 43key keyboard
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 8
|
||||
#define MATRIX_COLS 6
|
||||
|
||||
/*
|
||||
* 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 { E6, D7, C6, D4, F7, F6, F5, F4 }
|
||||
#define MATRIX_COL_PINS { B6, B2, B3, B1, B5, B4 }
|
||||
// #define UNUSED_PINS
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
|
||||
*/
|
||||
// #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
|
||||
|
||||
// #define BACKLIGHT_PIN B7
|
||||
// #define BACKLIGHT_BREATHING
|
||||
// #define BACKLIGHT_LEVELS 3
|
||||
|
||||
// #define RGB_DI_PIN E2
|
||||
// #ifdef RGB_DI_PIN
|
||||
// #define RGBLED_NUM 16
|
||||
// #define RGBLIGHT_HUE_STEP 8
|
||||
// #define RGBLIGHT_SAT_STEP 8
|
||||
// #define RGBLIGHT_VAL_STEP 8
|
||||
// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
// /*== all animations enable ==*/
|
||||
// #define RGBLIGHT_ANIMATIONS
|
||||
// /*== or choose animations ==*/
|
||||
// #define RGBLIGHT_EFFECT_BREATHING
|
||||
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
// #define RGBLIGHT_EFFECT_SNAKE
|
||||
// #define RGBLIGHT_EFFECT_KNIGHT
|
||||
// #define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
// #define RGBLIGHT_EFFECT_RGB_TEST
|
||||
// #define RGBLIGHT_EFFECT_ALTERNATING
|
||||
// /*== 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
|
||||
// #endif
|
||||
|
||||
/* 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
|
||||
|
||||
/* 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
|
||||
|
||||
/*
|
||||
* Magic Key Options
|
||||
*
|
||||
* Magic keys are hotkey commands that allow control over firmware functions of
|
||||
* the keyboard. They are best used in combination with the HID Listen program,
|
||||
* found here: https://www.pjrc.com/teensy/hid_listen.html
|
||||
*
|
||||
* The options below allow the magic key functionality to be changed. This is
|
||||
* useful if your keyboard/keypad is missing keys and you want magic key support.
|
||||
*
|
||||
*/
|
||||
|
||||
/* key combination for magic key command */
|
||||
/* defined by default; to change, uncomment and set to the combination you want */
|
||||
// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
|
||||
|
||||
/* control how magic key switches layers */
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
|
||||
|
||||
/* override magic key keymap */
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
|
||||
//#define MAGIC_KEY_HELP H
|
||||
//#define MAGIC_KEY_HELP_ALT SLASH
|
||||
//#define MAGIC_KEY_DEBUG D
|
||||
//#define MAGIC_KEY_DEBUG_MATRIX X
|
||||
//#define MAGIC_KEY_DEBUG_KBD K
|
||||
//#define MAGIC_KEY_DEBUG_MOUSE M
|
||||
//#define MAGIC_KEY_VERSION V
|
||||
//#define MAGIC_KEY_STATUS S
|
||||
//#define MAGIC_KEY_CONSOLE C
|
||||
//#define MAGIC_KEY_LAYER0 0
|
||||
//#define MAGIC_KEY_LAYER0_ALT GRAVE
|
||||
//#define MAGIC_KEY_LAYER1 1
|
||||
//#define MAGIC_KEY_LAYER2 2
|
||||
//#define MAGIC_KEY_LAYER3 3
|
||||
//#define MAGIC_KEY_LAYER4 4
|
||||
//#define MAGIC_KEY_LAYER5 5
|
||||
//#define MAGIC_KEY_LAYER6 6
|
||||
//#define MAGIC_KEY_LAYER7 7
|
||||
//#define MAGIC_KEY_LAYER8 8
|
||||
//#define MAGIC_KEY_LAYER9 9
|
||||
//#define MAGIC_KEY_BOOTLOADER B
|
||||
//#define MAGIC_KEY_BOOTLOADER_ALT ESC
|
||||
//#define MAGIC_KEY_LOCK CAPS
|
||||
//#define MAGIC_KEY_EEPROM E
|
||||
//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
|
||||
//#define MAGIC_KEY_NKRO N
|
||||
//#define MAGIC_KEY_SLEEP_LED Z
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* disable these deprecated features by default */
|
||||
#ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
#endif
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
|
||||
/* Prevent use of disabled MIDI features in the keymap */
|
||||
//#define MIDI_ENABLE_STRICT 1
|
||||
|
||||
/* enable basic MIDI features:
|
||||
- MIDI notes can be sent when in Music mode is on
|
||||
*/
|
||||
//#define MIDI_BASIC
|
||||
|
||||
/* enable advanced MIDI features:
|
||||
- MIDI notes can be added to the keymap
|
||||
- Octave shift and transpose
|
||||
- Virtual sustain, portamento, and modulation wheel
|
||||
- etc.
|
||||
*/
|
||||
//#define MIDI_ADVANCED
|
||||
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 1
|
||||
|
||||
/*
|
||||
* HD44780 LCD Display Configuration
|
||||
*/
|
||||
/*
|
||||
#define LCD_LINES 2 //< number of visible lines of the display
|
||||
#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
|
||||
|
||||
#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
|
||||
|
||||
#if LCD_IO_MODE
|
||||
#define LCD_PORT PORTB //< port for the LCD lines
|
||||
#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
|
||||
#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
|
||||
#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
|
||||
#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
|
||||
#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
|
||||
#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
|
||||
#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
|
||||
#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
|
||||
#define LCD_RS_PORT LCD_PORT //< port for RS line
|
||||
#define LCD_RS_PIN 3 //< pin for RS line
|
||||
#define LCD_RW_PORT LCD_PORT //< port for RW line
|
||||
#define LCD_RW_PIN 2 //< pin for RW line
|
||||
#define LCD_E_PORT LCD_PORT //< port for Enable line
|
||||
#define LCD_E_PIN 1 //< pin for Enable line
|
||||
#endif
|
||||
*/
|
||||
|
||||
/* Bootmagic Lite key configuration */
|
||||
// #define BOOTMAGIC_LITE_ROW 0
|
||||
// #define BOOTMAGIC_LITE_COLUMN 0
|
50
keyboards/bat43/keymaps/default/keymap.c
Normal file
50
keyboards/bat43/keymaps/default/keymap.c
Normal file
@ -0,0 +1,50 @@
|
||||
/* Copyright 2020 yfuku
|
||||
*
|
||||
* 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
|
||||
|
||||
// Defines names for use in layer keycodes and the keymap
|
||||
enum layer_names {
|
||||
_BASE,
|
||||
_LOWER,
|
||||
_RAISE
|
||||
};
|
||||
|
||||
#define L_SPC LT(_LOWER, KC_SPC)
|
||||
#define R_ENT LT(_RAISE, KC_ENT)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT(
|
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
|
||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_BSPC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RSFT,
|
||||
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RCTL,
|
||||
KC_LGUI, KC_LANG2,L_SPC, R_ENT, KC_LANG1,KC_RALT,
|
||||
KC_A, KC_B, KC_C, KC_D, KC_E
|
||||
),
|
||||
[_LOWER] = LAYOUT(
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_EQL, KC_PLUS, KC_ASTR, KC_PERC, _______,
|
||||
_______, KC_1, KC_2, KC_3, KC_4, KC_5, _______, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______,
|
||||
_______, _______, _______, KC_DEL, _______, _______,
|
||||
_______, _______, _______, _______, _______
|
||||
),
|
||||
[_RAISE] = LAYOUT(
|
||||
_______, KC_BSLS, KC_EXLM, KC_AMPR, KC_PIPE, XXXXXXX, XXXXXXX, KC_EQL, KC_PLUS, KC_ASTR, KC_PERC, _______,
|
||||
_______, KC_HASH, KC_GRV, KC_DQT, KC_QUOT, KC_TILD, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DLR, _______,
|
||||
_______, XXXXXXX, XXXXXXX, KC_LCBR, KC_LBRC, KC_LPRN, KC_RPRN, KC_RBRC, KC_RCBR, KC_AT, KC_CIRC, _______,
|
||||
_______, _______, KC_BSPC, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
1
keyboards/bat43/keymaps/default/readme.md
Normal file
1
keyboards/bat43/keymaps/default/readme.md
Normal file
@ -0,0 +1 @@
|
||||
# The default keymap for bat43
|
15
keyboards/bat43/readme.md
Normal file
15
keyboards/bat43/readme.md
Normal file
@ -0,0 +1,15 @@
|
||||
# bat43
|
||||
|
||||

|
||||
|
||||
A 43-key keyboard.
|
||||
|
||||
* Keyboard Maintainer: [yfuku](https://github.com/yfuku)
|
||||
* Hardware Supported: bat43 PCB, Pro Micro
|
||||
* Hardware Availability: https://yfuku.booth.pm/
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make bat43: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).
|
32
keyboards/bat43/rules.mk
Normal file
32
keyboards/bat43/rules.mk
Normal file
@ -0,0 +1,32 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
# Teensy halfkay
|
||||
# Pro Micro caterina
|
||||
# Atmel DFU atmel-dfu
|
||||
# LUFA DFU lufa-dfu
|
||||
# QMK DFU qmk-dfu
|
||||
# ATmega32A bootloadHID
|
||||
# ATmega328P USBasp
|
||||
BOOTLOADER = caterina
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = no # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # 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
|
||||
MIDI_ENABLE = no # MIDI support
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
||||
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define VENDOR_ID 0x6B62
|
||||
#define PRODUCT_ID 0x4069
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER coseyfannitutti
|
||||
|
43
keyboards/coseyfannitutti/romeo/keymaps/via/keymap.c
Normal file
43
keyboards/coseyfannitutti/romeo/keymaps/via/keymap.c
Normal file
@ -0,0 +1,43 @@
|
||||
/* Copyright 2019 COSEYFANNITUTTI
|
||||
*
|
||||
* 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
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_all(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT,
|
||||
KC_LSFT, KC_SLSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL ),
|
||||
|
||||
[1] = LAYOUT_all(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, RESET,
|
||||
KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT,
|
||||
KC_VOLD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_SLSH, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
|
||||
|
||||
[2] = LAYOUT_all(
|
||||
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 ),
|
||||
|
||||
[3] = LAYOUT_all(
|
||||
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 )
|
||||
};
|
4
keyboards/coseyfannitutti/romeo/keymaps/via/rules.mk
Normal file
4
keyboards/coseyfannitutti/romeo/keymaps/via/rules.mk
Normal file
@ -0,0 +1,4 @@
|
||||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
EXTRAKEY_ENABLE = no
|
||||
MOUSEKEY_ENABLE = no
|
@ -21,6 +21,7 @@
|
||||
{ K70, K71, K72, K73, K74, K75, K76, KC_NO } \
|
||||
}
|
||||
|
||||
#define LAYOUT_60_hhkb LAYOUT
|
||||
|
||||
#define LAYOUT_JP( \
|
||||
K02, K32, K62, K22, K12, K52, K72, KA2, K92, K82, KB2, KE2, KF2, KD2, KC2, \
|
||||
|
@ -67,3 +67,5 @@ endif
|
||||
# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
|
||||
# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
|
||||
# debug-off: all
|
||||
|
||||
LAYOUTS = 60_hhkb
|
||||
|
81
keyboards/reversestudio/decadepad/config.h
Normal file
81
keyboards/reversestudio/decadepad/config.h
Normal file
@ -0,0 +1,81 @@
|
||||
/*
|
||||
Copyright 2012 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x5253
|
||||
#define PRODUCT_ID 0x4450
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER ReverseStudio
|
||||
#define PRODUCT DecadePad
|
||||
#define DESCRIPTION 6x4Pad
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 6
|
||||
#define MATRIX_COLS 4
|
||||
|
||||
/* NIU Mini PCB default pin-out */
|
||||
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { D0, D1, D2, D3 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 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
|
||||
|
||||
#define RGB_DI_PIN D5
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 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
|
7
keyboards/reversestudio/decadepad/decadepad.c
Normal file
7
keyboards/reversestudio/decadepad/decadepad.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "decadepad.h"
|
||||
bool led_update_kb(led_t led_state) {
|
||||
if (led_update_user(led_state)){
|
||||
writePin(D4, led_state.num_lock);
|
||||
}
|
||||
return true;
|
||||
}
|
19
keyboards/reversestudio/decadepad/decadepad.h
Normal file
19
keyboards/reversestudio/decadepad/decadepad.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
#define LAYOUT_numpad_6x4( \
|
||||
k01, k02, k03, k04, \
|
||||
k11, k12, k13, k14, \
|
||||
k21, k22, k23, \
|
||||
k31, k32, k33, k34, \
|
||||
k41, k42, k43, \
|
||||
k51, k53, k54 \
|
||||
) \
|
||||
{ \
|
||||
{ k01, k02, k03, k04 }, \
|
||||
{ k11, k12, k13, k14 }, \
|
||||
{ k21, k22, k23, KC_NO }, \
|
||||
{ k31, k32, k33, k34 }, \
|
||||
{ k41, k42, k43, KC_NO }, \
|
||||
{ k51, KC_NO, k53, k54 }, \
|
||||
}
|
40
keyboards/reversestudio/decadepad/info.json
Normal file
40
keyboards/reversestudio/decadepad/info.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"keyboard_name": "DecadePad",
|
||||
"url": "",
|
||||
"maintainer": "huajijam",
|
||||
"width": 6,
|
||||
"height": 4,
|
||||
"layouts": {
|
||||
"LAYOUT_numpad_6x4": {
|
||||
"key_count": 21,
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
|
||||
{"x":0, "y":2},
|
||||
{"x":1, "y":2},
|
||||
{"x":2, "y":2},
|
||||
|
||||
{"x":0, "y":3},
|
||||
{"x":1, "y":3},
|
||||
{"x":2, "y":3},
|
||||
{"x":3, "y":2, "h":2},
|
||||
|
||||
{"x":0, "y":4},
|
||||
{"x":1, "y":4},
|
||||
{"x":2, "y":4},
|
||||
|
||||
{"x":0, "y":5, "w":2},
|
||||
{"x":2, "y":5},
|
||||
{"x":3, "y":4, "h":2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
12
keyboards/reversestudio/decadepad/keymaps/default/keymap.c
Normal file
12
keyboards/reversestudio/decadepad/keymaps/default/keymap.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_numpad_6x4(
|
||||
RGB_TOG, RGB_MOD, RGB_VAI, RGB_M_R,
|
||||
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P0, KC_PDOT, KC_PENT
|
||||
)
|
||||
};
|
36
keyboards/reversestudio/decadepad/keymaps/via/keymap.c
Normal file
36
keyboards/reversestudio/decadepad/keymaps/via/keymap.c
Normal file
@ -0,0 +1,36 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_numpad_6x4(
|
||||
RGB_TOG, RGB_MOD, RGB_VAI, RGB_M_R,
|
||||
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P0, KC_PDOT, KC_PENT
|
||||
),
|
||||
[1] = LAYOUT_numpad_6x4(
|
||||
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
|
||||
),
|
||||
[2] = LAYOUT_numpad_6x4(
|
||||
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
|
||||
),
|
||||
[3] = LAYOUT_numpad_6x4(
|
||||
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
|
||||
)
|
||||
};
|
2
keyboards/reversestudio/decadepad/keymaps/via/rules.mk
Normal file
2
keyboards/reversestudio/decadepad/keymaps/via/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = no
|
12
keyboards/reversestudio/decadepad/readme.md
Normal file
12
keyboards/reversestudio/decadepad/readme.md
Normal file
@ -0,0 +1,12 @@
|
||||
# DecadePad
|
||||
|
||||
A 6x4 Standard Numpad
|
||||
|
||||
* Keyboard Maintainer: [huajijam](https://github.com/huajijam)
|
||||
* Hardware Supported: DecadePad
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make reversestudio/decadepad: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).
|
38
keyboards/reversestudio/decadepad/rules.mk
Normal file
38
keyboards/reversestudio/decadepad/rules.mk
Normal file
@ -0,0 +1,38 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
# Teensy halfkay
|
||||
# Pro Micro caterina
|
||||
# Atmel DFU atmel-dfu
|
||||
# LUFA DFU lufa-dfu
|
||||
# QMK DFU qmk-dfu
|
||||
# ATmega32A bootloadHID
|
||||
# ATmega328P USBasp
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = no # 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 = yes # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
MIDI_ENABLE = no # MIDI support
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
||||
HD44780_ENABLE = no # Enable support for HD44780 based LCDs
|
||||
UNICODE_ENABLE = yes # Unicode
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
LAYOUTS = numpad_6x4
|
162
quantum/keymap_extras/keymap_greek.h
Normal file
162
quantum/keymap_extras/keymap_greek.h
Normal file
@ -0,0 +1,162 @@
|
||||
/* Copyright 2020
|
||||
*
|
||||
* 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 "keymap.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ ; │ ς │ Ε │ Ρ │ Τ │ Υ │ Θ │ Ι │ Ο │ Π │ [ │ ] │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ Α │ Σ │ Δ │ Φ │ Γ │ Η │ Ξ │ Κ │ Λ │ ΄ │ ' │ \ │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||
* │ │ │ Ζ │ Χ │ Ψ │ Ω │ Β │ Ν │ Μ │ , │ . │ / │ │
|
||||
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define GR_GRV KC_GRV // `
|
||||
#define GR_1 KC_1 // 1
|
||||
#define GR_2 KC_2 // 2
|
||||
#define GR_3 KC_3 // 3
|
||||
#define GR_4 KC_4 // 4
|
||||
#define GR_5 KC_5 // 5
|
||||
#define GR_6 KC_6 // 6
|
||||
#define GR_7 KC_7 // 7
|
||||
#define GR_8 KC_8 // 8
|
||||
#define GR_9 KC_9 // 9
|
||||
#define GR_0 KC_0 // 0
|
||||
#define GR_MINS KC_MINS // -
|
||||
#define GR_EQL KC_EQL // =
|
||||
// Row 2
|
||||
#define GR_SCLN KC_Q // ;
|
||||
#define GR_FSIG KC_W // ς
|
||||
#define GR_EPSL KC_E // Ε
|
||||
#define GR_RHO KC_R // Ρ
|
||||
#define GR_TAU KC_T // Τ
|
||||
#define GR_UPSL KC_Y // Υ
|
||||
#define GR_THET KC_U // Θ
|
||||
#define GR_IOTA KC_I // Ι
|
||||
#define GR_OMCR KC_O // Ο
|
||||
#define GR_PI KC_P // Π
|
||||
#define GR_LBRC KC_LBRC // [
|
||||
#define GR_RBRC KC_RBRC // ]
|
||||
// Row 3
|
||||
#define GR_ALPH KC_A // Α
|
||||
#define GR_SIGM KC_S // Σ
|
||||
#define GR_DELT KC_D // Δ
|
||||
#define GR_PHI KC_F // Φ
|
||||
#define GR_GAMM KC_G // Γ
|
||||
#define GR_ETA KC_H // Η
|
||||
#define GR_XI KC_J // Ξ
|
||||
#define GR_KAPP KC_K // Κ
|
||||
#define GR_LAMB KC_L // Λ
|
||||
#define GR_TONS KC_SCLN // ΄ (dead)
|
||||
#define GR_QUOT KC_QUOT // '
|
||||
#define GR_BSLS KC_NUHS // (backslash)
|
||||
// Row 4
|
||||
#define GR_ZETA KC_Z // Ζ
|
||||
#define GR_CHI KC_X // Χ
|
||||
#define GR_PSI KC_C // Ψ
|
||||
#define GR_OMEG KC_V // Ω
|
||||
#define GR_BETA KC_B // Β
|
||||
#define GR_NU KC_N // Ν
|
||||
#define GR_MU KC_M // Μ
|
||||
#define GR_COMM KC_COMM // ,
|
||||
#define GR_DOT KC_DOT // .
|
||||
#define GR_SLSH KC_SLSH // /
|
||||
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ : │ ΅ │ │ │ │ │ │ │ │ │ { │ } │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ │ │ │ │ │ │ │ │ │ ¨ │ " │ | │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ < │ > │ ? │ │
|
||||
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define GR_TILD S(GR_GRV) // ~
|
||||
#define GR_EXLM S(GR_1) // !
|
||||
#define GR_AT S(GR_2) // @
|
||||
#define GR_HASH S(GR_3) // #
|
||||
#define GR_DLR S(GR_4) // $
|
||||
#define GR_PERC S(GR_5) // %
|
||||
#define GR_CIRC S(GR_6) // ^
|
||||
#define GR_AMPR S(GR_7) // &
|
||||
#define GR_ASTR S(GR_8) // *
|
||||
#define GR_LPRN S(GR_9) // (
|
||||
#define GR_RPRN S(GR_0) // )
|
||||
#define GR_UNDS S(GR_MINS) // _
|
||||
#define GR_PLUS S(GR_EQL) // +
|
||||
// Row 2
|
||||
#define GR_COLN S(GR_SCLN) // :
|
||||
#define GR_DTON S(GR_FSIG) // ΅ (dead)
|
||||
#define GR_LCBR S(GR_LBRC) // {
|
||||
#define GR_RCBR S(GR_RBRC) // }
|
||||
// Row 3
|
||||
#define GR_DIAE S(GR_TONS) // ¨ (dead)
|
||||
#define GR_DQUO S(GR_QUOT) // "
|
||||
#define GR_PIPE S(GR_BSLS) // |
|
||||
// Row 4
|
||||
#define GR_LABK S(GR_COMM) // <
|
||||
#define GR_RABK S(GR_DOT) // >
|
||||
#define GR_QUES S(GR_SLSH) // ?
|
||||
|
||||
/* AltGr symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ │ │ ² │ ³ │ £ │ § │ ¶ │ │ ¤ │ ¦ │ ° │ ± │ ½ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ € │ ® │ │ ¥ │ │ │ │ │ « │ » │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ ¬ │ │
|
||||
* ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
|
||||
* │ │ │ │ │ © │ │ │ │ │ │ │ │ │
|
||||
* ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define GR_SUP2 ALGR(GR_2) // ²
|
||||
#define GR_SUP3 ALGR(GR_3) // ³
|
||||
#define GR_PND ALGR(GR_4) // £
|
||||
#define GR_SECT ALGR(GR_5) // §
|
||||
#define GR_PILC ALGR(GR_6) // ¶
|
||||
#define GR_CURR ALGR(GR_8) // ¤
|
||||
#define GR_BRKP ALGR(GR_9) // ¦
|
||||
#define GR_DEG ALGR(GR_0) // °
|
||||
#define GR_PLMN ALGR(GR_MINS) // ±
|
||||
#define GR_HALF ALGR(GR_EQL) // ½
|
||||
// Row 2
|
||||
#define GR_EURO ALGR(GR_EPSL) // €
|
||||
#define GR_REGD ALGR(GR_RHO) // ®
|
||||
#define GR_YEN ALGR(GR_UPSL) // ¥
|
||||
#define GR_LDAQ ALGR(GR_LBRC) // «
|
||||
#define GR_RDAQ ALGR(GR_RBRC) // »
|
||||
// Row 3
|
||||
#define GR_NOT ALGR(GR_BSLS) // ¬
|
||||
// Row 4
|
||||
#define GR_COPY ALGR(GR_PSI) // ©
|
128
quantum/keymap_extras/keymap_korean.h
Normal file
128
quantum/keymap_extras/keymap_korean.h
Normal file
@ -0,0 +1,128 @@
|
||||
/* Copyright 2020
|
||||
*
|
||||
* 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 "keymap.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ ₩ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ │
|
||||
* ├─────┬──┴┬──┴──┬┴──┬┴───┴───┴───┴──┬┴──┬┴───┴┬──┴┬───┬─────┤
|
||||
* │ │ │ │Hnj│ │H↔Y│ │ │ │ │
|
||||
* └─────┴───┴─────┴───┴───────────────┴───┴─────┴───┴───┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define KR_GRV KC_GRV // `
|
||||
#define KR_1 KC_1 // 1
|
||||
#define KR_2 KC_2 // 2
|
||||
#define KR_3 KC_3 // 3
|
||||
#define KR_4 KC_4 // 4
|
||||
#define KR_5 KC_5 // 5
|
||||
#define KR_6 KC_6 // 6
|
||||
#define KR_7 KC_7 // 7
|
||||
#define KR_8 KC_8 // 8
|
||||
#define KR_9 KC_9 // 9
|
||||
#define KR_0 KC_0 // 0
|
||||
#define KR_MINS KC_MINS // -
|
||||
#define KR_EQL KC_EQL // =
|
||||
// Row 2
|
||||
#define KR_Q KC_Q // Q
|
||||
#define KR_W KC_W // W
|
||||
#define KR_E KC_E // E
|
||||
#define KR_R KC_R // R
|
||||
#define KR_T KC_T // T
|
||||
#define KR_Y KC_Y // Y
|
||||
#define KR_U KC_U // U
|
||||
#define KR_I KC_I // I
|
||||
#define KR_O KC_O // O
|
||||
#define KR_P KC_P // P
|
||||
#define KR_LBRC KC_LBRC // [
|
||||
#define KR_RBRC KC_RBRC // ]
|
||||
#define KR_WON KC_BSLS // ₩
|
||||
// Row 3
|
||||
#define KR_A KC_A // A
|
||||
#define KR_S KC_S // S
|
||||
#define KR_D KC_D // D
|
||||
#define KR_F KC_F // F
|
||||
#define KR_G KC_G // G
|
||||
#define KR_H KC_H // H
|
||||
#define KR_J KC_J // J
|
||||
#define KR_K KC_K // K
|
||||
#define KR_L KC_L // L
|
||||
#define KR_SCLN KC_SCLN // ;
|
||||
#define KR_QUOT KC_QUOT // '
|
||||
// Row 4
|
||||
#define KR_Z KC_Z // Z
|
||||
#define KR_X KC_X // X
|
||||
#define KR_C KC_C // C
|
||||
#define KR_V KC_V // V
|
||||
#define KR_B KC_B // B
|
||||
#define KR_N KC_N // N
|
||||
#define KR_M KC_M // M
|
||||
#define KR_COMM KC_COMM // ,
|
||||
#define KR_DOT KC_DOT // .
|
||||
#define KR_SLSH KC_SLSH // /
|
||||
// Row 5
|
||||
#define KR_HANJ KC_LANG2 // Hanja (한자)
|
||||
#define KR_HAEN KC_LANG1 // Han ↔ Yeong (한 ↔ 영)
|
||||
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ { │ } │ | │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ : │ " │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ │ │ │ │ │ │ │ < │ > │ ? │ │
|
||||
* ├─────┬──┴┬──┴──┬┴──┬┴───┴───┴───┴──┬┴──┬┴───┴┬──┴┬───┬─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │
|
||||
* └─────┴───┴─────┴───┴───────────────┴───┴─────┴───┴───┴─────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define KR_TILD S(KR_GRV) // ~
|
||||
#define KR_EXLM S(KR_1) // !
|
||||
#define KR_AT S(KR_2) // @
|
||||
#define KR_HASH S(KR_3) // #
|
||||
#define KR_DLR S(KR_4) // $
|
||||
#define KR_PERC S(KR_5) // %
|
||||
#define KR_CIRC S(KR_6) // ^
|
||||
#define KR_AMPR S(KR_7) // &
|
||||
#define KR_ASTR S(KR_8) // *
|
||||
#define KR_LPRN S(KR_9) // (
|
||||
#define KR_RPRN S(KR_0) // )
|
||||
#define KR_UNDS S(KR_MINS) // _
|
||||
#define KR_PLUS S(KR_EQL) // +
|
||||
// Row 2
|
||||
#define KR_LCBR S(KR_LBRC) // {
|
||||
#define KR_RCBR S(KR_RBRC) // }
|
||||
#define KR_PIPE S(KR_WON) // |
|
||||
// Row 3
|
||||
#define KR_COLN S(KR_SCLN) // :
|
||||
#define KR_DQUO S(KR_COLN) // "
|
||||
// Row 4
|
||||
#define KR_LABK S(KR_COMM) // <
|
||||
#define KR_RABK S(KR_DOT) // >
|
||||
#define KR_QUES S(KR_SLSH) // ?
|
152
quantum/keymap_extras/keymap_polish.h
Normal file
152
quantum/keymap_extras/keymap_polish.h
Normal file
@ -0,0 +1,152 @@
|
||||
/* Copyright 2020
|
||||
*
|
||||
* 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 "keymap.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define PL_GRV KC_GRV // `
|
||||
#define PL_1 KC_1 // 1
|
||||
#define PL_2 KC_2 // 2
|
||||
#define PL_3 KC_3 // 3
|
||||
#define PL_4 KC_4 // 4
|
||||
#define PL_5 KC_5 // 5
|
||||
#define PL_6 KC_6 // 6
|
||||
#define PL_7 KC_7 // 7
|
||||
#define PL_8 KC_8 // 8
|
||||
#define PL_9 KC_9 // 9
|
||||
#define PL_0 KC_0 // 0
|
||||
#define PL_MINS KC_MINS // -
|
||||
#define PL_EQL KC_EQL // =
|
||||
// Row 2
|
||||
#define PL_Q KC_Q // Q
|
||||
#define PL_W KC_W // W
|
||||
#define PL_E KC_E // E
|
||||
#define PL_R KC_R // R
|
||||
#define PL_T KC_T // T
|
||||
#define PL_Y KC_Y // Y
|
||||
#define PL_U KC_U // U
|
||||
#define PL_I KC_I // I
|
||||
#define PL_O KC_O // O
|
||||
#define PL_P KC_P // P
|
||||
#define PL_LBRC KC_LBRC // [
|
||||
#define PL_RBRC KC_RBRC // ]
|
||||
#define PL_BSLS KC_BSLS // (backslash)
|
||||
// Row 3
|
||||
#define PL_A KC_A // A
|
||||
#define PL_S KC_S // S
|
||||
#define PL_D KC_D // D
|
||||
#define PL_F KC_F // F
|
||||
#define PL_G KC_G // G
|
||||
#define PL_H KC_H // H
|
||||
#define PL_J KC_J // J
|
||||
#define PL_K KC_K // K
|
||||
#define PL_L KC_L // L
|
||||
#define PL_SCLN KC_SCLN // ;
|
||||
#define PL_QUOT KC_QUOT // '
|
||||
// Row 4
|
||||
#define PL_Z KC_Z // Z
|
||||
#define PL_X KC_X // X
|
||||
#define PL_C KC_C // C
|
||||
#define PL_V KC_V // V
|
||||
#define PL_B KC_B // B
|
||||
#define PL_N KC_N // N
|
||||
#define PL_M KC_M // M
|
||||
#define PL_COMM KC_COMM // ,
|
||||
#define PL_DOT KC_DOT // .
|
||||
#define PL_SLSH KC_SLSH // /
|
||||
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ ~ │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ _ │ + │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ { │ } │ | │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ : │ " │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ │ │ │ │ │ │ │ < │ > │ ? │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define PL_TILD S(PL_GRV) // ~
|
||||
#define PL_EXLM S(PL_1) // !
|
||||
#define PL_AT S(PL_2) // @
|
||||
#define PL_HASH S(PL_3) // #
|
||||
#define PL_DLR S(PL_4) // $
|
||||
#define PL_PERC S(PL_5) // %
|
||||
#define PL_CIRC S(PL_6) // ^
|
||||
#define PL_AMPR S(PL_7) // &
|
||||
#define PL_ASTR S(PL_8) // *
|
||||
#define PL_LPRN S(PL_9) // (
|
||||
#define PL_RPRN S(PL_0) // )
|
||||
#define PL_UNDS S(PL_MINS) // _
|
||||
#define PL_PLUS S(PL_EQL) // +
|
||||
// Row 2
|
||||
#define PL_LCBR S(PL_LBRC) // {
|
||||
#define PL_RCBR S(PL_RBRC) // }
|
||||
#define PL_PIPE S(PL_BSLS) // |
|
||||
// Row 3
|
||||
#define PL_COLN S(PL_SCLN) // :
|
||||
#define PL_DQUO S(PL_QUOT) // "
|
||||
// Row 4
|
||||
#define PL_LABK S(PL_COMM) // <
|
||||
#define PL_RABK S(PL_DOT) // >
|
||||
#define PL_QUES S(PL_SLSH) // ?
|
||||
|
||||
/* AltGr symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ Ę │ │ │ │ € │ │ Ó │ │ │ │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ Ą │ Ś │ │ │ │ │ │ │ Ł │ │ │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ Ż │ Ź │ Ć │ │ │ Ń │ │ │ │ │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 2
|
||||
#define PL_EOGO ALGR(PL_E) // Ę
|
||||
#define PL_EURO ALGR(PL_U) // €
|
||||
#define PL_OACU ALGR(PL_O) // Ó
|
||||
// Row 3
|
||||
#define PL_AOGO ALGR(PL_A) // Ą
|
||||
#define PL_SACU ALGR(PL_S) // Ś
|
||||
#define PL_LSTR ALGR(PL_L) // Ł
|
||||
// Row 4
|
||||
#define PL_ZDOT ALGR(PL_Z) // Ż
|
||||
#define PL_ZACU ALGR(PL_X) // Ź
|
||||
#define PL_CACU ALGR(PL_C) // Ć
|
||||
#define PL_NACU ALGR(PL_N) // Ń
|
133
quantum/keymap_extras/keymap_russian.h
Normal file
133
quantum/keymap_extras/keymap_russian.h
Normal file
@ -0,0 +1,133 @@
|
||||
/* Copyright 2020
|
||||
*
|
||||
* 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 "keymap.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ Ё │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ Й │ Ц │ У │ К │ Е │ Н │ Г │ Ш │ Щ │ З │ Х │ Ъ │ \ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ Ф │ Ы │ В │ А │ П │ Р │ О │ Л │ Д │ Ж │ Э │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ Я │ Ч │ С │ М │ И │ Т │ Ь │ Б │ Ю │ . │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define RU_YO KC_GRV // Ё
|
||||
#define RU_1 KC_1 // 1
|
||||
#define RU_2 KC_2 // 2
|
||||
#define RU_3 KC_3 // 3
|
||||
#define RU_4 KC_4 // 4
|
||||
#define RU_5 KC_5 // 5
|
||||
#define RU_6 KC_6 // 6
|
||||
#define RU_7 KC_7 // 7
|
||||
#define RU_8 KC_8 // 8
|
||||
#define RU_9 KC_9 // 9
|
||||
#define RU_0 KC_0 // 0
|
||||
#define RU_MINS KC_MINS // -
|
||||
#define RU_EQL KC_EQL // =
|
||||
// Row 2
|
||||
#define RU_SHTI KC_Q // Й
|
||||
#define RU_TSE KC_W // Ц
|
||||
#define RU_U KC_E // У
|
||||
#define RU_KA KC_R // К
|
||||
#define RU_IE KC_T // Е
|
||||
#define RU_EN KC_Y // Н
|
||||
#define RU_GHE KC_U // Г
|
||||
#define RU_SHA KC_I // Ш
|
||||
#define RU_SHCH KC_O // Щ
|
||||
#define RU_ZE KC_P // З
|
||||
#define RU_HA KC_LBRC // Х
|
||||
#define RU_HARD KC_RBRC // Ъ
|
||||
#define RU_BSLS KC_BSLS // (backslash)
|
||||
// Row 3
|
||||
#define RU_EF KC_A // Ф
|
||||
#define RU_YERU KC_S // Ы
|
||||
#define RU_VE KC_D // В
|
||||
#define RU_A KC_F // А
|
||||
#define RU_PE KC_G // П
|
||||
#define RU_ER KC_H // Р
|
||||
#define RU_O KC_J // О
|
||||
#define RU_EL KC_K // Л
|
||||
#define RU_DE KC_L // Д
|
||||
#define RU_ZHE KC_SCLN // Ж
|
||||
#define RU_E KC_QUOT // Э
|
||||
// Row 4
|
||||
#define RU_YA KC_Z // Я
|
||||
#define RU_CHE KC_X // Ч
|
||||
#define RU_ES KC_C // С
|
||||
#define RU_EM KC_V // М
|
||||
#define RU_I KC_B // И
|
||||
#define RU_TE KC_N // Т
|
||||
#define RU_SOFT KC_M // Ь
|
||||
#define RU_BE KC_COMM // Б
|
||||
#define RU_YU KC_DOT // Ю
|
||||
#define RU_DOT KC_SLSH // .
|
||||
|
||||
/* Shifted symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ │ ! │ " │ № │ ; │ % │ : │ ? │ * │ ( │ ) │ _ │ + │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ / │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ , │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define RU_EXLM S(RU_1) // !
|
||||
#define RU_DQUO S(RU_2) // "
|
||||
#define RU_NUM S(RU_3) // №
|
||||
#define RU_SCLN S(RU_4) // ;
|
||||
#define RU_PERC S(RU_5) // %
|
||||
#define RU_COLN S(RU_6) // :
|
||||
#define RU_QUES S(RU_7) // ?
|
||||
#define RU_ASTR S(RU_8) // *
|
||||
#define RU_LPRN S(RU_9) // (
|
||||
#define RU_RPRN S(RU_0) // )
|
||||
#define RU_UNDS S(RU_MINS) // _
|
||||
#define RU_PLUS S(RU_EQL) // +
|
||||
// Row 2
|
||||
#define RU_SLSH S(RU_BSLS) // /
|
||||
// Row 4
|
||||
#define RU_COMM S(RU_DOT) // ,
|
||||
|
||||
/* AltGr symbols
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
|
||||
* │ │ │ │ │ │ │ │ │ ₽ │ │ │ │ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
|
||||
* │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
|
||||
*/
|
||||
// Row 1
|
||||
#define RU_RUBL ALGR(RU_8) // ₽
|
@ -36,10 +36,10 @@
|
||||
// Row 1
|
||||
#define SK_SCLN KC_GRV // ;
|
||||
#define SK_PLUS KC_1 // +
|
||||
#define SK_LACU KC_2 // ľ
|
||||
#define SK_LCAR KC_2 // ľ
|
||||
#define SK_SCAR KC_3 // š
|
||||
#define SK_CCAR KC_4 // č
|
||||
#define SK_TACU KC_5 // ť
|
||||
#define SK_TCAR KC_5 // ť
|
||||
#define SK_ZCAR KC_6 // ž
|
||||
#define SK_YACU KC_7 // ý
|
||||
#define SK_AACU KC_8 // á
|
||||
@ -141,10 +141,10 @@
|
||||
*/
|
||||
// Row 1
|
||||
#define SK_TILD ALGR(SK_PLUS) // ~
|
||||
#define SK_CIRC ALGR(SK_LACU) // ^ (dead)
|
||||
#define SK_CIRC ALGR(SK_LCAR) // ^ (dead)
|
||||
#define SK_BREV ALGR(SK_SCAR) // ˘ (dead)
|
||||
#define SK_RNGA ALGR(SK_CCAR) // ° (dead)
|
||||
#define SK_OGON ALGR(SK_TACU) // ˛ (dead)
|
||||
#define SK_OGON ALGR(SK_TCAR) // ˛ (dead)
|
||||
#define SK_GRV ALGR(SK_ZCAR) // `
|
||||
#define SK_DOTA ALGR(SK_YACU) // ˙ (dead)
|
||||
#define SK_DACU ALGR(SK_EACU) // ˝ (dead)
|
||||
|
Reference in New Issue
Block a user