adds default keymap for handwired boards
parent
32f18cf616
commit
7f2882832e
@ -0,0 +1,44 @@
|
||||
Priyadi Keymap for Planck-like Keyboards
|
||||
========================================
|
||||
|
||||
Main layer modifications from default Planck layout:
|
||||
|
||||
* Enter moved to quotes position
|
||||
* Quotes moved to semicolon position.
|
||||
* QWERTZ style colon & semicolon. shift-. = : shift-, = ; This is done in hardware, no layout switching needed in software.
|
||||
* < & > occupied precious real estate, and so they are moved down to punctuation layer.
|
||||
* Right-shift on Enter position.
|
||||
* Removed arrow keys, they are on another layer now.
|
||||
* Put Ctrl-Alt-Super and Super-AltGr-Ctrl in left & right corners.
|
||||
* Lower & Raise is now called Num and Fun.
|
||||
* OS & Left keys become another thumb modifier: Empty & Greek (Empty because I used this for another use and my muscle memory is not adapted to it yet)
|
||||
|
||||
On Promethium, Trackpoint is enabled on PD2 and PD3. We impersonate a Thinkpad keyboard to be able to use Thinkpad driver on Windows (still needs verification).
|
||||
|
||||
AltGr & Compose dual use key. Tap for Compose (mapped to Scroll Lock in hardware) and press for AltGr.
|
||||
|
||||
Supported layouts: QWERTY, DVORAK, Colemak, Workman, Norman. Switchable from SYS layer. In DVORAK, semicolon is replaced by /? key.
|
||||
|
||||
Num activates NUM layer: hexkeypad on the right side and most punctuation on the left side. Hexkeypad is optimized for C-style hex, IPv6, HTML RGB triplets, etc.
|
||||
|
||||
Fun activates FUN layer: arrow cluster on right home row, F-numbers on left side.
|
||||
|
||||
Pressing Num+Fun activates PUNC layer: same punctuations as NUM layer on the left side, parens on the right side.
|
||||
|
||||
Greek activates either GREEKU or GREEKL layer, depending whether shift is pressed or not. Shift state changes are also taken into account when the layer is active.
|
||||
|
||||
Greek+Empty activates EMOJI layer. The whole keyboard now outputs emojis!
|
||||
|
||||
Pressing both spacebars (spacekeys, actually) activates GUI layer. QWERTYUIOP switches to a virtual desktop. J & L switches virtual desktop to the left or right. S & F behaves like Alt-Tab and Alt-Shift-Tab. This works by sending Alt press when entering the layer, and Alt release when other than S or F keys are pressed.
|
||||
|
||||
Pressing both Ctrls activates SYS layer for configuring the keyboard.
|
||||
|
||||
On Promethium, USB or Bluetooth output is detected on startup. If USB is connected, then USB is used initially. SYS-U and SYS-B switch output to USB or Bluetooth at runtime. Current active output is indicated with LEDs.
|
||||
|
||||
SYS-W, SYS-L, SYS-M switch Unicode input method. SYS-Q, SYS-D, SYS-C, SYS-K, SYS-N switch to QWERTY, DVORAK, Colemak, Workman and Norman, respectively.
|
||||
|
||||
SYS-A (mnemonic: audio) toggles faux clicky: use buzzer to emit clicks on key presses and releases.
|
||||
|
||||
On Promethium there are 16 indicator LEDs, and under switch LEDs on each switches, including Trackpoint buttons. Totaling 67 LEDs. Output is limited to 0xF for each LEDs to conserve power. SYS-G (mnemonic: glow) toggles various backlighting modes.
|
||||
|
||||
On Promethium, there's a LED to indicate battery level. Hue indicates level: green is full, red is empty.
|
@ -0,0 +1,29 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PRIYADI_PROMETHIUM
|
||||
|
||||
/* bootmagic salt key */
|
||||
#define BOOTMAGIC_KEY_SALT KC_ESC
|
||||
|
||||
/* skip bootmagic and eeconfig */
|
||||
#define BOOTMAGIC_KEY_SKIP KC_SPACE
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
#define RGBSPS_ENABLE
|
||||
#define RGBSPS_DEMO_ENABLE
|
||||
|
||||
#define UNICODE_TYPE_DELAY 0
|
||||
|
||||
#define LAYOUT_DVORAK
|
||||
#define LAYOUT_COLEMAK
|
||||
#define LAYOUT_NORMAN
|
||||
#define LAYOUT_WORKMAN
|
||||
|
||||
#define DOUBLESPACE_LAYER_ENABLE
|
||||
// #define TOLELOT_ENABLE
|
||||
|
||||
#endif
|
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sleep 10
|
||||
avrdude -p m32u4 -P /dev/ttyACM0 -c avr109 -U flash:w:../../../../../.build/handwired_promethium_priyadi.hex
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
||||
#include "rgbtheme_default.h"
|
@ -0,0 +1,36 @@
|
||||
#include "color.h"
|
||||
|
||||
#define THEME_COLOR_LINUX COLOR_WHITE
|
||||
#define THEME_COLOR_APPLE COLOR_WHITE
|
||||
#define THEME_COLOR_WINDOWS COLOR_WHITE
|
||||
|
||||
#define THEME_COLOR_QWERTY COLOR_RED
|
||||
#define THEME_COLOR_ALT COLOR_RED
|
||||
|
||||
#define THEME_COLOR_AUDIO COLOR_GREEN
|
||||
|
||||
#define THEME_COLOR_BLUETOOTH 7,7,15
|
||||
#define THEME_COLOR_USB COLOR_WHITE
|
||||
|
||||
#define THEME_COLOR_CAPSLOCK COLOR_RED
|
||||
|
||||
#define THEME_COLOR_GUI COLOR_MAGENTA
|
||||
#define THEME_COLOR_FUN COLOR_RED
|
||||
#define THEME_COLOR_NUM 7,7,15
|
||||
#define THEME_COLOR_PUNC COLOR_GREEN
|
||||
#define THEME_COLOR_GREEK COLOR_CYAN
|
||||
#define THEME_COLOR_EMOJI COLOR_YELLOW
|
||||
#define THEME_COLOR_OTHERLAYER COLOR_GRAY
|
||||
|
||||
#define THEME_COLOR_GLOW1_HOME COLOR_ORANGE
|
||||
#define THEME_COLOR_GLOW1_HOMING COLOR_RED
|
||||
|
||||
#define THEME_COLOR_GLOW2_ALPHA COLOR_ORANGE
|
||||
#define THEME_COLOR_GLOW2_MODS COLOR_ORANGE
|
||||
#define THEME_COLOR_GLOW2_FN COLOR_ORANGE
|
||||
#define THEME_COLOR_GLOW2_HOME COLOR_ORANGE
|
||||
#define THEME_COLOR_GLOW2_HOMING COLOR_RED
|
||||
|
||||
#define THEME_COLOR_TP1 COLOR_ORANGE
|
||||
#define THEME_COLOR_TP2 COLOR_RED
|
||||
#define THEME_COLOR_TP3 COLOR_ORANGE
|
@ -0,0 +1,36 @@
|
||||
#include "color.h"
|
||||
|
||||
#define THEME_COLOR_LINUX COLOR_WHITE
|
||||
#define THEME_COLOR_APPLE COLOR_WHITE
|
||||
#define THEME_COLOR_WINDOWS COLOR_WHITE
|
||||
|
||||
#define THEME_COLOR_QWERTY COLOR_RED
|
||||
#define THEME_COLOR_ALT COLOR_RED
|
||||
|
||||
#define THEME_COLOR_AUDIO COLOR_GREEN
|
||||
|
||||
#define THEME_COLOR_BLUETOOTH COLOR_BLUE
|
||||
#define THEME_COLOR_USB COLOR_WHITE
|
||||
|
||||
#define THEME_COLOR_CAPSLOCK COLOR_RED
|
||||
|
||||
#define THEME_COLOR_GUI COLOR_MAGENTA
|
||||
#define THEME_COLOR_FUN COLOR_RED
|
||||
#define THEME_COLOR_NUM COLOR_BLUE
|
||||
#define THEME_COLOR_PUNC COLOR_GREEN
|
||||
#define THEME_COLOR_GREEK COLOR_CYAN
|
||||
#define THEME_COLOR_EMOJI COLOR_YELLOW
|
||||
#define THEME_COLOR_OTHERLAYER COLOR_GRAY
|
||||
|
||||
#define THEME_COLOR_GLOW1_HOME COLOR_GRAY
|
||||
#define THEME_COLOR_GLOW1_HOMING COLOR_RED
|
||||
|
||||
#define THEME_COLOR_GLOW2_ALPHA COLOR_GRAY
|
||||
#define THEME_COLOR_GLOW2_MODS COLOR_GREEN
|
||||
#define THEME_COLOR_GLOW2_FN COLOR_BLUE
|
||||
#define THEME_COLOR_GLOW2_HOME COLOR_RED
|
||||
#define THEME_COLOR_GLOW2_HOMING COLOR_YELLOW
|
||||
|
||||
#define THEME_COLOR_TP1 COLOR_RED
|
||||
#define THEME_COLOR_TP2 COLOR_BLUE
|
||||
#define THEME_COLOR_TP3 COLOR_RED
|
@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
UNICODEMAP_ENABLE = yes
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
|
||||
PS2_MOUSE_ENABLE = yes
|
||||
PS2_USE_INT = yes
|
||||
FAUXCLICKY_ENABLE = yes
|
||||
BLUETOOTH = AdafruitBLE
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
Loading…
Reference in New Issue