Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
This commit is contained in:
commit
05ceef2350
82 changed files with 4324 additions and 503 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -30,3 +30,4 @@ CMakeLists.txt
|
|||
.browse.VC.db*
|
||||
*.stackdump
|
||||
util/Win_Check_Output.txt
|
||||
.vscode
|
||||
|
|
@ -153,6 +153,11 @@ ifeq ($(strip $(UCIS_ENABLE)), yes)
|
|||
UNICODE_ENABLE = yes
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(UNICODEMAP_ENABLE)), yes)
|
||||
OPT_DEFS += -DUNICODEMAP_ENABLE
|
||||
UNICODE_ENABLE = yes
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(UNICODE_ENABLE)), yes)
|
||||
OPT_DEFS += -DUNICODE_ENABLE
|
||||
SRC += $(QUANTUM_DIR)/process_keycode/process_unicode.c
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
# The default keymap for cluecard
|
||||
|
||||
Note that this keymap has audio enabled, so the RGB mode button does not go through the different effects.
|
||||
So the LEDs will still show a static light, that is configurable with the hue, staturation and brightness
|
||||
buttons. You can of course also turn them on and off with the on/off button.
|
||||
|
|
|
|||
21
keyboards/cluecard/keymaps/rgb_effects/Makefile
Normal file
21
keyboards/cluecard/keymaps/rgb_effects/Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# 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 = no # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # 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 = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no # Audio output on port C6
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
||||
12
keyboards/cluecard/keymaps/rgb_effects/config.h
Normal file
12
keyboards/cluecard/keymaps/rgb_effects/config.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// place overrides here
|
||||
#define RGBLIGHT_TIMER
|
||||
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 3
|
||||
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
|
||||
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2
|
||||
|
||||
#endif
|
||||
28
keyboards/cluecard/keymaps/rgb_effects/keymap.c
Normal file
28
keyboards/cluecard/keymaps/rgb_effects/keymap.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#include "cluecard.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = KEYMAP(
|
||||
RGB_TOG, RGB_SAI, RGB_VAI, \
|
||||
RGB_HUD, RGB_HUI, \
|
||||
RGB_MOD, RGB_SAD, RGB_VAD, \
|
||||
BL_STEP, \
|
||||
KC_NO, KC_NO, KC_NO \
|
||||
)
|
||||
};
|
||||
|
||||
const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {255, 170, 85};
|
||||
const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {255, 170, 85};
|
||||
|
||||
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) {
|
||||
}
|
||||
7
keyboards/cluecard/keymaps/rgb_effects/readme.md
Normal file
7
keyboards/cluecard/keymaps/rgb_effects/readme.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# RGB effect test keymap for cluecard
|
||||
|
||||
This keymap is made for testing the RGB effects. Audio is disabled and the mode buttons goes through each
|
||||
effect. If you run HID-listen you will be able to see which effect is active. For a list of effects, check
|
||||
the `rgblight.c` file.
|
||||
|
||||
The hue, saturation and brightness buttons will work depending on which effect is active.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#include "ergodox.h"
|
||||
#include "debug.h"
|
||||
#include "action_layer.h"
|
||||
|
||||
|
|
@ -82,4 +82,25 @@ out:
|
|||
return mcp23018_status;
|
||||
}
|
||||
|
||||
|
||||
#ifdef ONEHAND_ENABLE
|
||||
__attribute__ ((weak))
|
||||
// swap-hands action needs a matrix to define the swap
|
||||
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Left hand, matrix positions */
|
||||
{{0,13}, {1,13}, {2,13}, {3,13}, {4,13}, {5,13}},
|
||||
{{0,12}, {1,12}, {2,12}, {3,12}, {4,12}, {5,12}},
|
||||
{{0,11}, {1,11}, {2,11}, {3,11}, {4,11}, {5,11}},
|
||||
{{0,10}, {1,10}, {2,10}, {3,10}, {4,10}, {5,10}},
|
||||
{{0,9}, {1,9}, {2,9}, {3,9}, {4,9}, {5,9}},
|
||||
{{0,8}, {1,8}, {2,8}, {3,8}, {4,8}, {5,8}},
|
||||
{{0,7}, {1,7}, {2,7}, {3,7}, {4,7}, {5,7}},
|
||||
/* Right hand, matrix positions */
|
||||
{{0,6}, {1,6}, {2,6}, {3,6}, {4,6}, {5,6}},
|
||||
{{0,5}, {1,5}, {2,5}, {3,5}, {4,5}, {5,5}},
|
||||
{{0,4}, {1,4}, {2,4}, {3,4}, {4,4}, {5,4}},
|
||||
{{0,3}, {1,3}, {2,3}, {3,3}, {4,3}, {5,3}},
|
||||
{{0,2}, {1,2}, {2,2}, {3,2}, {4,2}, {5,2}},
|
||||
{{0,1}, {1,1}, {2,1}, {3,1}, {4,1}, {5,1}},
|
||||
{{0,0}, {1,0}, {2,0}, {3,0}, {4,0}, {5,0}},
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
175
keyboards/ergodox/keymaps/algernon/NEWS.md
Normal file
175
keyboards/ergodox/keymaps/algernon/NEWS.md
Normal file
|
|
@ -0,0 +1,175 @@
|
|||
<!-- -*- mode: markdown; fill-column: 8192 -*- -->
|
||||
|
||||
## v1.9
|
||||
|
||||
*2016-10-16*
|
||||
|
||||
### Overall changes
|
||||
|
||||
* `F12` was replaced by an `Fx` key, that activate the **Media** layer as a one-shot layer, and also `Alt` as a one-shot modifier.
|
||||
|
||||
### Base layer changes
|
||||
|
||||
* The `Media Stop` key is now a tap-dance key, and resets the device for programming on the fourth tap.
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* `π` can now be entered with UCIS.
|
||||
* `🐁` can now be entered with UCIS.
|
||||
|
||||
### Tools
|
||||
|
||||
* The `tools/layer-notify` tool was removed, it was an example, which I don't use.
|
||||
|
||||
#### `tools/hid-commands`
|
||||
|
||||
* Now looks at the `DISABLE_APPSEL_START` environment value, and does not display an AppSel notification if it is non-empty.
|
||||
* Will attempt to re-program the keyboard when receiving a `reflash` command.
|
||||
* No longer tries to select Emacs 24 on `APPSEL_EMACS`, rather, it goes for any Emacs.
|
||||
* The `APPSEL_MUSIC` command now includes Kodi in the list too, as the last choice.
|
||||
|
||||
## v1.8
|
||||
|
||||
*2016-10-03*
|
||||
|
||||
### ADORE
|
||||
|
||||
* Major rearrangements were made, to reduce pinky use, and to balance out the hand usage.
|
||||
|
||||
### Tools
|
||||
|
||||
* The `hid-commands` tool will now display a notification when the **AppSel** layer is triggered.
|
||||
* The `log-to-heatmap.py` tool now treats the innermost keys on the bottom row as thumb keys, as far as statistics are concerned.
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* Fixed the **Steno** toggle key.
|
||||
|
||||
## v1.7
|
||||
|
||||
*2016-09-18*
|
||||
|
||||
### Overall changes
|
||||
|
||||
* The number row has been completely rearranged on both the **Base** and the **ADORE** layers.
|
||||
* The number/function key behavior was changed: function keys are now on the **Media**.
|
||||
* The `:`/`;` and `-`/`_` keys were put back to their thumb position on the bottom row, on both the **Base** and **ADORE** layers.
|
||||
* The bottom large keys on the inner side of each half now function as [tmux](http://tmux.github.io/) keys: the left to send the prefix, the right to send the `display-panes` key. The left also doubles as a GNU screen prefix key, and sends `C-a` when double tapped.
|
||||
* A number of functions, such as the **AppSel** layer, now require the `hid-commands` tool to be running, with the output of `hid_listen` being piped to it.
|
||||
|
||||
### ADORE
|
||||
|
||||
* `Y` and `X` have been swapped again.
|
||||
|
||||
### Media/Navigation layer
|
||||
|
||||
* The function keys are now on this layer.
|
||||
* Mouse keys have been removed.
|
||||
* Media start/stop/prev/next have been removed.
|
||||
* `Print screen` has been removed.
|
||||
* There is only one screen lock key now.
|
||||
|
||||
### Heatmap
|
||||
|
||||
* Fixed a few issues in the finger-stats calculation.
|
||||
* The tool now also timestamps and saves all input lines to a logfile, which it loads on start, allowing one to continue the collection after upgrading the tool.
|
||||
* The heatmap tool will now colorize the stats by default.
|
||||
* The periodic stats are now printed in a more compact format.
|
||||
|
||||
### Tools
|
||||
|
||||
* Added a new tool, `tools/layer-notify` that listens to layer change events on the HID console, and pops up a notification on layer changes.
|
||||
* Another new tool, `tools/text-to-log.py` has been added that converts arbitrary text to a keylogger output, which can be fed to the heatmap generator.
|
||||
* A number of features have been moved to the `tools/hid-commands` utility. These generally are OS dependent, and are easier to implement on the software side.
|
||||
|
||||
## v1.6
|
||||
|
||||
*2016-08-24*
|
||||
|
||||
### Base layer changes
|
||||
|
||||
* The parentheses & bracket keys have been merged: tapping them results in `[` or `{` (if it was shifted), double tapping leads to `(`.
|
||||
* The `:;` and `-_` keys are now available on the base layer, on their **ADORE** location, too, just below `[{(`/`]})`.
|
||||
* The `Apps` key has been replaced by `F12`.
|
||||
* The `-`/`_` is no longer a tap-dance key.
|
||||
|
||||
### ADORE layer changes
|
||||
|
||||
* Adjustments were made to the **ADORE** layer, to separate some inconvenient combinations.
|
||||
|
||||
### Miscellaneous changes
|
||||
|
||||
* `LEAD u` now starts the symbolic unicode input system, instead of the OS-one.
|
||||
* The mouse acceleration keys on the **Navigation/Media** layer have been turned into toggles: tap them once to turn them on, until tapped again. Tapping an accelerator button will turn all the others off.
|
||||
* When the **ARROW** layer is on, the *red* and *blue* LEDs light up now.
|
||||
|
||||
### Heatmap
|
||||
|
||||
* The built-in keylogger has been greatly enhanced, it now outputs the pressed state, and the layer (Dvorak or ADORE). As such, the `ADORE_AUTOLOG` option has been removed, instead there is `AUTOLOG_ENABLE` now, which when enabled, makes the keylogger start when the keyboard boots. It defaults to off.
|
||||
* The heatmap generator received a lot of updates.
|
||||
|
||||
## v1.5
|
||||
|
||||
*2016-08-12*
|
||||
|
||||
* The **1HAND** layer has been removed.
|
||||
* A `Delete` key is now available on the right thumb cluster.
|
||||
* The **ADORE** layer received a major update, see the layout image above.
|
||||
* It is now possible to enable automatic logging for the **ADORE** layer, by setting the `ADORE_AUTOLOG` makefile variable to `yes` when compiling the keymap. It is off by default.
|
||||
* The `~` key and the `Media Next/Prev` key have been swapped on the **Base** layer.
|
||||
* On the **ARROW** layer, `Backspace` has been replaced by `Enter`.
|
||||
* There is some experimental support for entering Unicode symbols.
|
||||
|
||||
## v1.4
|
||||
|
||||
*2016-07-29*
|
||||
|
||||
* When toggling the key logging on or off, the LEDs will do a little dance.
|
||||
* The keylogger is now optional, but enabled by default. Use `KEYLOGGER_ENABLE=no` on the `make` command line to disable it.
|
||||
* The `TAB`/`ARRW` key was turned into a tap-dance key, allowing one to toggle the **ARROW** layer on by double-tapping, and as such, avoid the need to hold the key.
|
||||
* The `-`/`_` key was turned into a tap-dance key too.
|
||||
* There is now a way to travel time with the keyboard, toggle the feature on by hitting `LEAD t`.
|
||||
|
||||
## v1.3
|
||||
|
||||
*2016-07-06*
|
||||
|
||||
* Added support for logging keys, by pressing `LEAD d`. Also included is a tool to generate a *heatmap* out of the logs.
|
||||
* The arrow and navigation keys were rearranged again, and now require an additional key being held to activate. See the **Base** layer for an image that shows where arrows are.
|
||||
* The **experimental** layer has been redone, and is now called **ADORE**, and as such, can be enabled by `LEAD a` now.
|
||||
* Switching between Dvorak and ADORE is now persisted into EEPROM, and survives a reboot.
|
||||
|
||||
## v1.2
|
||||
|
||||
*2016-06-22*
|
||||
|
||||
* The forced NKRO mode can be easily toggled off at compile-time, to make the firmware compatible with certain operating systems.
|
||||
* The `:;` key has changed behaviour: to access the `;` symbol, the key needs to be double-tapped, instead of shifted.
|
||||
* The `=` and `\` keys were swapped, `=` moved to the home row, on both the **Base** and the **experimental** layers.
|
||||
* The arrow and navigation keys were redone, they are now more accessible, but the navigation keys require an extra tap to access.
|
||||
* The **Emacs** layer is gone, replaced by a simplified **navigation and media** layer.
|
||||
* `LEAD v` types the firmware version, and the keymap version.
|
||||
* On the **experimental** layer, the `L` and `Q`, and the `K` and `G` keys were swapped.
|
||||
* The **Steno** layer gained a few more `#` and `*` keys, to make it easier on my fingers.
|
||||
|
||||
## v1.1
|
||||
|
||||
*2016-06-14*
|
||||
|
||||
* The keyboard starts in NKRO mode, bootmagic and other things are disabled.
|
||||
* A **Steno** layer was added, to be used with Plover.
|
||||
* An **experimental** layer was added, something halfway between Dvorak and Capewell-Dvorak. A work in progress.
|
||||
* `LEAD y` types `\o/`.
|
||||
* Some keys on the **Base** layer have been moved around:
|
||||
- `?` moved to the left pinky, left of `Q`.
|
||||
- `=` shifted one row down, but `F11` stayed where it was.
|
||||
- `-` on the left half was replaced by `Tab`.
|
||||
- `Tab`'s original position is taken by a `Media Next`/`Media Prev` key.
|
||||
- `:` now inputs `;` when shifted.
|
||||
* `ESC` cancels the **Hungarian** layer too, not just modifiers.
|
||||
|
||||
## v1.0
|
||||
|
||||
*2016-05-26*
|
||||
|
||||
Initial version.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 63 KiB |
|
|
@ -64,6 +64,9 @@ enum {
|
|||
A_8,
|
||||
A_9,
|
||||
A_0,
|
||||
|
||||
// Fx
|
||||
Fx,
|
||||
};
|
||||
|
||||
/* Fn keys */
|
||||
|
|
@ -86,6 +89,7 @@ enum {
|
|||
CT_RBP,
|
||||
CT_TMUX,
|
||||
CT_TPS,
|
||||
CT_SR,
|
||||
};
|
||||
|
||||
/* States & timers */
|
||||
|
|
@ -103,6 +107,7 @@ bool log_enable = false;
|
|||
#endif
|
||||
|
||||
bool time_travel = false;
|
||||
bool skip_leds = false;
|
||||
|
||||
static uint8_t is_adore = 0;
|
||||
|
||||
|
|
@ -113,13 +118,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
/* Keymap 0: Base Layer
|
||||
*
|
||||
* ,-----------------------------------------------------. ,-----------------------------------------------------.
|
||||
* | Next/Prev | 9 | 7 @ | 5 * | 3 ^ | 1 $ | F11 | | F12 | 0 % | 2 ! | 4 # | 6 & | 8 | Plover |
|
||||
* | Next/Prev | 9 | 7 @ | 5 * | 3 ^ | 1 $ | F11 | | Fx | 0 % | 2 ! | 4 # | 6 & | 8 | Plover |
|
||||
* |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------|
|
||||
* | ~ | ' | , | . | P | Y | ( | | ) | F | G | C | R | L | \ |
|
||||
* |-----------+------+------+------+------+------| [ | | ] |------+------+------+------+------+-----------|
|
||||
* | Tab/ARROW | A | O | E | U | I |------| |------| D | H | T | N | S | = / Arrow |
|
||||
* |-----------+------+------+------+------+------| tmux | | tmux |------+------+------+------+------+-----------|
|
||||
* | Play/Pause| / | Q | J | K | X | | | Pane | B | M | W | V | Z | Stop |
|
||||
* | Play/Pause| / | Q | J | K | X | | | Pane | B | M | W | V | Z | Stop/Reset|
|
||||
* `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------'
|
||||
* | | | | | : | | - | | | | |
|
||||
* `-----------------------------------' `-----------------------------------'
|
||||
|
|
@ -144,10 +149,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
,KC_BSPC,F(F_SFT),KC_ESC
|
||||
|
||||
// right hand
|
||||
,KC_F12 ,M(A_0) ,M(A_2) ,M(A_4) ,M(A_6) ,M(A_8) ,M(A_PLVR)
|
||||
,M(Fx) ,M(A_0) ,M(A_2) ,M(A_4) ,M(A_6) ,M(A_8) ,M(A_PLVR)
|
||||
,TD(CT_RBP),KC_F ,KC_G ,KC_C ,KC_R ,KC_L ,KC_BSLS
|
||||
,KC_D ,KC_H ,KC_T ,KC_N ,KC_S ,KC_EQL
|
||||
,TD(CT_TPS),KC_B ,KC_M ,KC_W ,KC_V ,KC_Z ,KC_MSTP
|
||||
,TD(CT_TPS),KC_B ,KC_M ,KC_W ,KC_V ,KC_Z ,TD(CT_SR)
|
||||
,KC_MINS ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
|
||||
,OSL(NMDIA),KC_DEL
|
||||
|
|
@ -158,13 +163,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
/* Keymap 1: Adore layer
|
||||
*
|
||||
* ,-----------------------------------------------------. ,-----------------------------------------------------.
|
||||
* | Play/Pause| 9 | 7 @ | 5 * | 3 ^ | 1 $ | F11 | | F12 | 0 % | 2 ! | 4 # | 6 & | 8 | Plover |
|
||||
* | Play/Pause| 9 | 7 @ | 5 * | 3 ^ | 1 $ | F11 | | Fx | 0 % | 2 ! | 4 # | 6 & | 8 | Plover |
|
||||
* |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------|
|
||||
* | `~ | X | W | G | L | M | ( | | ) | F | H | C | P | Y | \ |
|
||||
* | \ | X | W | C | H | F | ( | | ) | M | G | L | P | / | `~ |
|
||||
* |-----------+------+------+------+------+------| [ | | ] |------+------+------+------+------+-----------|
|
||||
* | Tab/Arrow | A | O | E | I | U |------| |------| D | R | T | N | S | = |
|
||||
* |-----------+------+------+------+------+------| tmux | | tmux |------+------+------+------+------+-----------|
|
||||
* | | Z | Q | ' | , | . | | | pane | B | K | V | J | / | |
|
||||
* | | Z | Q | ' | , | . | | | pane | B | K | V | Y | J | |
|
||||
* `-----------+------+------+------+------+-------------' `-------------+------+------+------+------+-----------'
|
||||
* | | | | | : | | - | | | | |
|
||||
* `-----------------------------------' `-----------------------------------'
|
||||
|
|
@ -179,7 +184,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
[ADORE] = KEYMAP(
|
||||
// left hand
|
||||
KC_MPLY ,M(A_9) ,M(A_7) ,M(A_5) ,M(A_3) ,M(A_1) ,KC_F11
|
||||
,KC_GRV ,KC_X ,KC_W ,KC_G ,KC_L ,KC_M ,TD(CT_LBP)
|
||||
,KC_BSLS ,KC_X ,KC_W ,KC_C ,KC_H ,KC_F ,TD(CT_LBP)
|
||||
,TD(CT_TA) ,KC_A ,KC_O ,KC_E ,KC_I ,KC_U
|
||||
,KC_NO ,KC_Z ,KC_Q ,KC_QUOT ,KC_COMM ,KC_DOT ,TD(CT_TMUX)
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,TD(CT_CLN)
|
||||
|
|
@ -189,10 +194,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
,KC_BSPC,F(F_SFT),KC_ESC
|
||||
|
||||
// right hand
|
||||
,KC_F12 ,M(A_0) ,M(A_2) ,M(A_4) ,M(A_6) ,M(A_8) ,M(A_PLVR)
|
||||
,TD(CT_RBP),KC_F ,KC_H ,KC_C ,KC_P ,KC_Y ,KC_BSLS
|
||||
,M(Fx) ,M(A_0) ,M(A_2) ,M(A_4) ,M(A_6) ,M(A_8) ,M(A_PLVR)
|
||||
,TD(CT_RBP),KC_M ,KC_G ,KC_L ,KC_P ,KC_SLSH ,KC_GRV
|
||||
,KC_D ,KC_R ,KC_T ,KC_N ,KC_S ,KC_EQL
|
||||
,TD(CT_TPS),KC_B ,KC_K ,KC_V ,KC_J ,KC_SLSH ,KC_NO
|
||||
,TD(CT_TPS),KC_B ,KC_K ,KC_V ,KC_Y ,KC_J ,KC_NO
|
||||
,KC_MINS ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
|
||||
,OSL(NMDIA),KC_DEL
|
||||
|
|
@ -342,7 +347,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
/* Keymap 5: Navigation & Media layer
|
||||
*
|
||||
* ,-----------------------------------------------------. ,-----------------------------------------------------.
|
||||
* | | F9 | F7 | F5 | F3 | F1 | | |ScrLCK| F10 | F2 | F4 | F6 | F8 | |
|
||||
* | | F9 | F7 | F5 | F3 | F1 |ScrLCK| | | F10 | F2 | F4 | F6 | F8 | |
|
||||
* |-----------+------+------+------+------+-------------| |------+------+------+------+------+------+-----------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |-----------+------+------+------+------+------| | | |------+------+------+------+------+-----------|
|
||||
|
|
@ -362,7 +367,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
*/
|
||||
[NMDIA] = KEYMAP(
|
||||
// left hand
|
||||
KC_NO ,KC_F9 ,KC_F7 ,KC_F5 ,KC_F3 ,KC_F1 ,KC_NO
|
||||
KC_NO ,KC_F9 ,KC_F7 ,KC_F5 ,KC_F3 ,KC_F1 ,LGUI(KC_L)
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
|
|
@ -372,7 +377,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
,KC_NO ,KC_NO ,KC_TRNS
|
||||
|
||||
// right hand
|
||||
,LGUI(KC_L),KC_F10 ,KC_F2 ,KC_F4 ,KC_F6 ,KC_F8 ,KC_NO
|
||||
,KC_TRNS ,KC_F10 ,KC_F2 ,KC_F4 ,KC_F6 ,KC_F8 ,KC_NO
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO ,KC_NO
|
||||
|
|
@ -386,7 +391,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
/* Keymap 6: Steno for Plover
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | | | | | | BASE | | | | | | | | |
|
||||
* | | | | | | | | | | | | | | | BASE |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | # | # | # | # | # | # | | # | # | # | # | # | # | # |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
|
|
@ -407,7 +412,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
[PLVR] = KEYMAP(
|
||||
// left hand
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, M(A_PLVR),
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, PV_NUM, PV_NUM, PV_NUM, PV_NUM, PV_NUM, PV_NUM,
|
||||
KC_NO, PV_LS, PV_LT, PV_LP, PV_LH, PV_STAR,
|
||||
KC_NO, PV_LS, PV_LK, PV_LW, PV_LR, PV_STAR, PV_STAR,
|
||||
|
|
@ -417,7 +422,7 @@ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
|||
PV_A, PV_O, KC_NO,
|
||||
|
||||
// right hand
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, M(A_PLVR),
|
||||
PV_NUM, PV_NUM, PV_NUM, PV_NUM, PV_NUM, PV_NUM, PV_NUM,
|
||||
PV_STAR, PV_RF, PV_RP, PV_RL, PV_RT, PV_RD,
|
||||
PV_STAR, PV_STAR, PV_RR, PV_RB, PV_RG, PV_RS, PV_RZ,
|
||||
|
|
@ -611,12 +616,24 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|||
toggle_steno(record->event.pressed);
|
||||
break;
|
||||
|
||||
/* Fx */
|
||||
case Fx:
|
||||
if (record->event.pressed) {
|
||||
set_oneshot_mods (MOD_LALT);
|
||||
layer_on (NMDIA);
|
||||
set_oneshot_layer (NMDIA, ONESHOT_START);
|
||||
} else {
|
||||
clear_oneshot_layer_state (ONESHOT_PRESSED);
|
||||
}
|
||||
break;
|
||||
|
||||
/* GUI & AppSel */
|
||||
case A_GUI:
|
||||
if (record->event.pressed) {
|
||||
register_code (KC_LGUI);
|
||||
if (record->tap.count && !record->tap.interrupted) {
|
||||
if (record->tap.count >= 2) {
|
||||
uprintf("CMD:appsel_start\n");
|
||||
layer_on (APPSEL);
|
||||
set_oneshot_layer (APPSEL, ONESHOT_START);
|
||||
}
|
||||
|
|
@ -695,15 +712,15 @@ void matrix_init_user(void) {
|
|||
|
||||
LEADER_EXTERNS();
|
||||
|
||||
static void ang_tap (uint8_t code, ...) {
|
||||
uint8_t kc = code;
|
||||
static void ang_tap (uint16_t code, ...) {
|
||||
uint16_t kc = code;
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, code);
|
||||
|
||||
do {
|
||||
register_code(kc);
|
||||
unregister_code(kc);
|
||||
register_code16(kc);
|
||||
unregister_code16(kc);
|
||||
wait_ms(50);
|
||||
kc = va_arg(ap, int);
|
||||
} while (kc != 0);
|
||||
|
|
@ -779,6 +796,56 @@ static void ang_tap_dance_tmux_pane_select (qk_tap_dance_state_t *state, void *u
|
|||
unregister_code(kc);
|
||||
}
|
||||
|
||||
static void
|
||||
_td_sr_each (qk_tap_dance_state_t *state, void *user_data) {
|
||||
skip_leds = true;
|
||||
|
||||
switch (state->count) {
|
||||
case 1:
|
||||
ergodox_right_led_3_on ();
|
||||
break;
|
||||
case 2:
|
||||
ergodox_right_led_2_on ();
|
||||
break;
|
||||
case 3:
|
||||
ergodox_right_led_1_on ();
|
||||
break;
|
||||
case 4:
|
||||
ergodox_right_led_3_off ();
|
||||
wait_ms (50);
|
||||
ergodox_right_led_2_off ();
|
||||
wait_ms (50);
|
||||
ergodox_right_led_1_off ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_td_sr_finished (qk_tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
register_code (KC_MSTP);
|
||||
}
|
||||
if (state->count >= 4) {
|
||||
uprintf("CMD:reflash\n");
|
||||
wait_ms (1000);
|
||||
reset_keyboard ();
|
||||
reset_tap_dance (state);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_td_sr_reset (qk_tap_dance_state_t *state, void *user_data) {
|
||||
ergodox_right_led_1_off ();
|
||||
wait_ms (50);
|
||||
ergodox_right_led_2_off ();
|
||||
wait_ms (50);
|
||||
ergodox_right_led_3_off ();
|
||||
|
||||
if (state->count == 1) {
|
||||
unregister_code (KC_MSTP);
|
||||
}
|
||||
}
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
[CT_CLN] = ACTION_TAP_DANCE_DOUBLE (KC_COLN, KC_SCLN)
|
||||
,[CT_TA] = {
|
||||
|
|
@ -789,83 +856,92 @@ qk_tap_dance_action_t tap_dance_actions[] = {
|
|||
,[CT_RBP] = ACTION_TAP_DANCE_DOUBLE (KC_RBRC, KC_RPRN)
|
||||
,[CT_TMUX]= ACTION_TAP_DANCE_FN (ang_tap_dance_tmux_finished)
|
||||
,[CT_TPS] = ACTION_TAP_DANCE_FN (ang_tap_dance_tmux_pane_select)
|
||||
,[CT_SR] = ACTION_TAP_DANCE_FN_ADVANCED (_td_sr_each, _td_sr_finished, _td_sr_reset)
|
||||
};
|
||||
|
||||
// Runs constantly in the background, in a loop.
|
||||
void matrix_scan_user(void) {
|
||||
static uint32_t prev_layer_state;
|
||||
uint8_t layer = biton32(layer_state);
|
||||
bool is_arrow = false;
|
||||
static char *layer_lookup[] = {"Dvorak", "ADORE", "Arrows", "AppSel", "Hungarian", "Nav/Media", "Plover"};
|
||||
|
||||
if (layer_state != prev_layer_state) {
|
||||
prev_layer_state = layer_state;
|
||||
if (layer_lookup[layer])
|
||||
uprintf("LAYER: %s\n", layer_lookup[layer]);
|
||||
}
|
||||
|
||||
|
||||
if (gui_timer && timer_elapsed (gui_timer) > TAPPING_TERM)
|
||||
unregister_code (KC_LGUI);
|
||||
|
||||
if (layer == HUN) {
|
||||
ergodox_right_led_2_on();
|
||||
ergodox_right_led_3_on();
|
||||
} else if (layer == NMDIA) {
|
||||
ergodox_right_led_1_on();
|
||||
ergodox_right_led_2_on();
|
||||
} else if (layer == PLVR) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_2_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
} else if (layer == ADORE) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_2_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
if (!skip_leds) {
|
||||
if (layer == HUN) {
|
||||
ergodox_right_led_2_on();
|
||||
ergodox_right_led_3_on();
|
||||
} else if (layer == NMDIA) {
|
||||
ergodox_right_led_1_on();
|
||||
ergodox_right_led_2_on();
|
||||
} else if (layer == PLVR) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_2_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
} else if (layer == ADORE) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_2_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_HI);
|
||||
}
|
||||
}
|
||||
|
||||
if (layer_state & (1UL << ARRW)) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
if (!skip_leds) {
|
||||
ergodox_right_led_1_on ();
|
||||
ergodox_right_led_3_on ();
|
||||
}
|
||||
is_arrow = true;
|
||||
}
|
||||
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LSFT) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LSFT)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_1_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_1_on ();
|
||||
} else {
|
||||
ergodox_right_led_1_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != NMDIA && layer != PLVR && layer != ADORE && !is_arrow)
|
||||
ergodox_right_led_1_off ();
|
||||
}
|
||||
if (!skip_leds) {
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LSFT) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LSFT)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_1_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_1_on ();
|
||||
} else {
|
||||
ergodox_right_led_1_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != NMDIA && layer != PLVR && layer != ADORE && !is_arrow)
|
||||
ergodox_right_led_1_off ();
|
||||
}
|
||||
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LALT) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LALT)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_2_on ();
|
||||
} else {
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != HUN && layer != NMDIA && layer != PLVR && layer != ADORE)
|
||||
ergodox_right_led_2_off ();
|
||||
}
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LALT) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LALT)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_2_on ();
|
||||
} else {
|
||||
ergodox_right_led_2_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != HUN && layer != NMDIA && layer != PLVR && layer != ADORE)
|
||||
ergodox_right_led_2_off ();
|
||||
}
|
||||
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LCTRL) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LCTRL)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_3_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_3_on ();
|
||||
} else {
|
||||
ergodox_right_led_3_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != HUN && layer != PLVR && layer != ADORE && !is_arrow)
|
||||
ergodox_right_led_3_off ();
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LCTRL) ||
|
||||
((get_oneshot_mods() & MOD_BIT(KC_LCTRL)) && !has_oneshot_mods_timed_out())) {
|
||||
ergodox_right_led_3_set (LED_BRIGHTNESS_HI);
|
||||
ergodox_right_led_3_on ();
|
||||
} else {
|
||||
ergodox_right_led_3_set (LED_BRIGHTNESS_LO);
|
||||
if (layer != HUN && layer != PLVR && layer != ADORE && !is_arrow)
|
||||
ergodox_right_led_3_off ();
|
||||
}
|
||||
}
|
||||
|
||||
LEADER_DICTIONARY() {
|
||||
leading = false;
|
||||
leader_end ();
|
||||
|
||||
SEQ_ONE_KEY (KC_C) {
|
||||
ang_tap (LSFT(KC_C), KC_S, KC_I, KC_L, KC_L, KC_RALT, KC_QUOT, KC_A, KC_M, KC_A, KC_S,
|
||||
KC_S, KC_Z, KC_O, KC_N, KC_Y, KC_K, KC_RALT, KC_QUOT, KC_A, KC_M, 0);
|
||||
}
|
||||
|
||||
SEQ_ONE_KEY (KC_G) {
|
||||
ang_tap (LSFT(KC_G), KC_E, KC_J, KC_G, KC_RALT, KC_EQL, KC_O,
|
||||
KC_RALT, KC_EQL, KC_O,
|
||||
KC_RALT, KC_EQL, KC_O, 0);
|
||||
}
|
||||
|
||||
#if KEYLOGGER_ENABLE
|
||||
SEQ_ONE_KEY (KC_D) {
|
||||
ergodox_led_all_on();
|
||||
|
|
@ -875,11 +951,6 @@ void matrix_scan_user(void) {
|
|||
}
|
||||
#endif
|
||||
|
||||
SEQ_ONE_KEY (KC_Q) {
|
||||
register_code16 (LCTL(KC_1));
|
||||
unregister_code16 (LCTL(KC_1));
|
||||
}
|
||||
|
||||
SEQ_ONE_KEY (KC_T) {
|
||||
time_travel = !time_travel;
|
||||
}
|
||||
|
|
@ -967,7 +1038,9 @@ const qk_ucis_symbol_t ucis_symbol_table[] = UCIS_TABLE
|
|||
UCIS_SYM("snowman", 0x2603),
|
||||
UCIS_SYM("coffee", 0x2615),
|
||||
UCIS_SYM("heart", 0x2764),
|
||||
UCIS_SYM("bolt", 0x26a1)
|
||||
UCIS_SYM("bolt", 0x26a1),
|
||||
UCIS_SYM("pi", 0x03c0),
|
||||
UCIS_SYM("mouse", 0x1f401)
|
||||
);
|
||||
|
||||
bool process_record_user (uint16_t keycode, keyrecord_t *record) {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ Some of the things in the layout only work when one uses [Spacemacs][spacemacs]
|
|||
- [Unicode Symbol Input](#unicode-symbol-input)
|
||||
* [Building](#building)
|
||||
- [Using on Windows](#using-on-windows)
|
||||
* [Changelog](#changelog)
|
||||
* [Changelog](https://github.com/algernon/ergodox-layout/blob/master/NEWS.md#readme)
|
||||
* [License](#license)
|
||||
|
||||
# Layouts
|
||||
|
|
@ -43,6 +43,7 @@ At its core, this is a Dvorak layout, with some minor changes. The more interest
|
|||
* The `GUI` key is special, because when I double-tap it, it sends `GUI + w`, which pops up an application selector. It also switches to a one-shot layer, where the number row on the left half turns into app selector macros, for the most common things I usually want to switch to. Otherwise it behaves as on a normal layout.
|
||||
* The `ESC` key also doubles as a one-shot cancel key: if tapped while any of the one-shot modifiers are in-flight (as in, single-tapped, and not expired yet), it cancels all one-shot modifiers. It also cancels the **Hun** layer, if active. Otherwise it sends the usual keycode.
|
||||
* The **Media** and **Hun** layer keys are one-shot, the **STENO** key is a toggle.
|
||||
* The **Fx** key is one-shot, and activates the **Media** layer, along with a one-shot `Alt`.
|
||||
* When holding the `Tab`/**Arrow** key, the arrow layer activates while the key is held. Tapping the key produces the normal, `Tab` key. Double-tapping it toggles the **Arrow** layer on until a third tap.
|
||||
* Tapping the `:` key once yields `:`, tapping it twice yields `;`.
|
||||
* Tapping the `[{(`/`)}]` keys once yields `[` (or `{` when shifted), tapping them twice yields `(`.
|
||||
|
|
@ -93,12 +94,7 @@ Unless noted otherwise, the layers use a dim light for the LEDs, while modifiers
|
|||
|
||||
Once in the Unicode Symbol Input mode, one is able to type in symbol names, press `Enter` or `Space`, and get the Unicode symbol itself back. When in the mode, a capital `U` is printed first. Once the sequence is finished, all of it is erased by sending enough `Backspace` taps, and the firmware starts the OS-specific unicode input sequence. Then, it looks up the symbol name, and enters the associated code. If it is not found, it will just replay the pressed keycodes.
|
||||
|
||||
The currently supported symbols are:
|
||||
|
||||
- `snowman`: ☃
|
||||
- `kiss`: 😙
|
||||
- `rofl`: 🤣
|
||||
- `poop`: 💩
|
||||
For the list of supported symbols, please see the source.
|
||||
|
||||
This is an experimental feature, and may or may not work reliably.
|
||||
|
||||
|
|
@ -145,137 +141,6 @@ $ make keyboard=ergodox keymap=algernon
|
|||
|
||||
The keymap default to forcing NKRO, which seems to upset Windows, and except the modifiers, none of them work. If you experience this problem, recompile the firmware with `FORCE_NKRO=no` added to the `make` command line.
|
||||
|
||||
# Changelog
|
||||
|
||||
## v1.7
|
||||
|
||||
*2016-09-18*
|
||||
|
||||
### Overall changes
|
||||
|
||||
* The number row has been completely rearranged on both the [Base](#base-layer) and the [ADORE](#adore-layer) layers.
|
||||
* The number/function key behavior was changed: function keys are now on the **Media**.
|
||||
* The `:`/`;` and `-`/`_` keys were put back to their thumb position on the bottom row, on both the [Base](#base-layer) and [ADORE](#adore-layer) layers.
|
||||
* The bottom large keys on the inner side of each half now function as [tmux](http://tmux.github.io/) keys: the left to send the prefix, the right to send the `display-panes` key. The left also doubles as a GNU screen prefix key, and sends `C-a` when double tapped.
|
||||
* A number of functions, such as the **AppSel** layer, now require the `hid-commands` tool to be running, with the output of `hid_listen` being piped to it.
|
||||
|
||||
### ADORE
|
||||
|
||||
* `Y` and `X` have been swapped again.
|
||||
|
||||
### Media/Navigation layer
|
||||
|
||||
* The function keys are now on this layer.
|
||||
* Mouse keys have been removed.
|
||||
* Media start/stop/prev/next have been removed.
|
||||
* `Print screen` has been removed.
|
||||
* There is only one screen lock key now.
|
||||
|
||||
### Heatmap
|
||||
|
||||
* Fixed a few issues in the finger-stats calculation.
|
||||
* The tool now also timestamps and saves all input lines to a logfile, which it loads on start, allowing one to continue the collection after upgrading the tool.
|
||||
* The heatmap tool will now colorize the stats by default.
|
||||
* The periodic stats are now printed in a more compact format.
|
||||
|
||||
### Tools
|
||||
|
||||
* Added a new tool, `tools/layer-notify` that listens to layer change events on the HID console, and pops up a notification on layer changes.
|
||||
* Another new tool, `tools/text-to-log.py` has been added that converts arbitrary text to a keylogger output, which can be fed to the heatmap generator.
|
||||
* A number of features have been moved to the `tools/hid-commands` utility. These generally are OS dependent, and are easier to implement on the software side.
|
||||
|
||||
## v1.6
|
||||
|
||||
*2016-08-24*
|
||||
|
||||
### Base layer changes
|
||||
|
||||
* The parentheses & bracket keys have been merged: tapping them results in `[` or `{` (if it was shifted), double tapping leads to `(`.
|
||||
* The `:;` and `-_` keys are now available on the base layer, on their [ADORE](#adore-layer) location, too, just below `[{(`/`]})`.
|
||||
* The `Apps` key has been replaced by `F12`.
|
||||
* The `-`/`_` is no longer a tap-dance key.
|
||||
|
||||
### ADORE layer changes
|
||||
|
||||
* Adjustments were made to the [ADORE](#adore-layer) layer, to separate some inconvenient combinations.
|
||||
|
||||
### Miscellaneous changes
|
||||
|
||||
* `LEAD u` now starts the symbolic unicode input system, instead of the OS-one.
|
||||
* The mouse acceleration keys on the **Navigation/Media** layer have been turned into toggles: tap them once to turn them on, until tapped again. Tapping an accelerator button will turn all the others off.
|
||||
* When the **ARROW** layer is on, the *red* and *blue* LEDs light up now.
|
||||
|
||||
### Heatmap
|
||||
|
||||
* The built-in keylogger has been greatly enhanced, it now outputs the pressed state, and the layer (Dvorak or ADORE). As such, the `ADORE_AUTOLOG` option has been removed, instead there is `AUTOLOG_ENABLE` now, which when enabled, makes the keylogger start when the keyboard boots. It defaults to off.
|
||||
* The heatmap generator received a lot of updates.
|
||||
|
||||
## v1.5
|
||||
|
||||
*2016-08-12*
|
||||
|
||||
* The **1HAND** layer has been removed.
|
||||
* A `Delete` key is now available on the right thumb cluster.
|
||||
* The [ADORE](#adore-layer) layer received a major update, see the layout image above.
|
||||
* It is now possible to enable automatic logging for the [ADORE](#adore-layer) layer, by setting the `ADORE_AUTOLOG` makefile variable to `yes` when compiling the keymap. It is off by default.
|
||||
* The `~` key and the `Media Next/Prev` key have been swapped on the [base layer](#base-layer).
|
||||
* On the **ARROW** layer, `Backspace` has been replaced by `Enter`.
|
||||
* There is some experimental support for entering Unicode symbols.
|
||||
|
||||
## v1.4
|
||||
|
||||
*2016-07-29*
|
||||
|
||||
* When toggling the key logging on or off, the LEDs will do a little dance.
|
||||
* The keylogger is now optional, but enabled by default. Use `KEYLOGGER_ENABLE=no` on the `make` command line to disable it.
|
||||
* The `TAB`/`ARRW` key was turned into a tap-dance key, allowing one to toggle the **ARROW** layer on by double-tapping, and as such, avoid the need to hold the key.
|
||||
* The `-`/`_` key was turned into a tap-dance key too.
|
||||
* There is now a way to travel time with the keyboard, toggle the feature on by hitting `LEAD t`.
|
||||
|
||||
## v1.3
|
||||
|
||||
*2016-07-06*
|
||||
|
||||
* Added support for logging keys, by pressing `LEAD d`. Also included is a tool to generate a [heatmap](#heatmap) out of the logs.
|
||||
* The arrow and navigation keys were rearranged again, and now require an additional key being held to activate. See the [base layer](#base-layer) for an image that shows where arrows are.
|
||||
* The **experimental** layer has been redone, and is now called [ADORE](#adore-layer), and as such, can be enabled by `LEAD a` now.
|
||||
* Switching between Dvorak and ADORE is now persisted into EEPROM, and survives a reboot.
|
||||
|
||||
## v1.2
|
||||
|
||||
*2016-06-22*
|
||||
|
||||
* The forced NKRO mode can be easily toggled off at compile-time, to make the firmware compatible with [certain operating systems](#using-on-windows).
|
||||
* The `:;` key has changed behaviour: to access the `;` symbol, the key needs to be double-tapped, instead of shifted.
|
||||
* The `=` and `\` keys were swapped, `=` moved to the home row, on both the [base](#base-layer) and the **experimental** layers.
|
||||
* The arrow and navigation keys were redone, they are now more accessible, but the navigation keys require an extra tap to access.
|
||||
* The **Emacs** layer is gone, replaced by a simplified **navigation and media** layer.
|
||||
* `LEAD v` types the firmware version, and the keymap version.
|
||||
* On the **experimental** layer, the `L` and `Q`, and the `K` and `G` keys were swapped.
|
||||
* The [Steno](#steno-layer) layer gained a few more `#` and `*` keys, to make it easier on my fingers.
|
||||
|
||||
## v1.1
|
||||
|
||||
*2016-06-14*
|
||||
|
||||
* The keyboard starts in NKRO mode, bootmagic and other things are disabled.
|
||||
* A [Steno](#steno-layer) layer was added, to be used with Plover.
|
||||
* An **experimental** layer was added, something halfway between Dvorak and Capewell-Dvorak. A work in progress.
|
||||
* `LEAD y` types `\o/`.
|
||||
* Some keys on the [Base](#base-layer) layer have been moved around:
|
||||
- `?` moved to the left pinky, left of `Q`.
|
||||
- `=` shifted one row down, but `F11` stayed where it was.
|
||||
- `-` on the left half was replaced by `Tab`.
|
||||
- `Tab`'s original position is taken by a `Media Next`/`Media Prev` key.
|
||||
- `:` now inputs `;` when shifted.
|
||||
* `ESC` cancels the **Hungarian** layer too, not just modifiers.
|
||||
|
||||
## v1.0
|
||||
|
||||
*2016-05-26*
|
||||
|
||||
Initial version.
|
||||
|
||||
# License
|
||||
|
||||
The layout, being a derivative of the original TMK firmware which is under the GPL-2+, this layout is under the GPL as well, but GPL-3+, rather than the older version.
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
"x": 4.5,
|
||||
"f": 3
|
||||
},
|
||||
"F12",
|
||||
"Fx",
|
||||
{
|
||||
"a": 4,
|
||||
"f": 3,
|
||||
|
|
@ -111,11 +111,11 @@
|
|||
"x": 3.5,
|
||||
"a": 6
|
||||
},
|
||||
"G",
|
||||
"C",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"C"
|
||||
"L"
|
||||
],
|
||||
[
|
||||
{
|
||||
|
|
@ -128,11 +128,11 @@
|
|||
"x": 1,
|
||||
"a": 6
|
||||
},
|
||||
"L",
|
||||
"H",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"H",
|
||||
"G",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
"y": -0.875,
|
||||
"x": 5.5
|
||||
},
|
||||
"M",
|
||||
"F",
|
||||
{
|
||||
"a": 4,
|
||||
"fa": [0, 0, 0],
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
{
|
||||
"a": 6
|
||||
},
|
||||
"F"
|
||||
"M"
|
||||
],
|
||||
[
|
||||
{
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
"a": 4,
|
||||
"w": 1.5
|
||||
},
|
||||
"\n\n~\n`",
|
||||
"\n\n|\n\\",
|
||||
{
|
||||
"a": 6,
|
||||
"f": 3
|
||||
|
|
@ -175,14 +175,14 @@
|
|||
"X",
|
||||
{
|
||||
"x": 14.5,
|
||||
"a": 6
|
||||
"a": 4
|
||||
},
|
||||
"Y",
|
||||
"/\n?",
|
||||
{
|
||||
"a": 4,
|
||||
"w": 1.5
|
||||
},
|
||||
"|\n\\"
|
||||
"~\n`"
|
||||
],
|
||||
[
|
||||
{
|
||||
|
|
@ -312,7 +312,7 @@
|
|||
{
|
||||
"x": 1
|
||||
},
|
||||
"J"
|
||||
"Y"
|
||||
],
|
||||
[
|
||||
{
|
||||
|
|
@ -342,10 +342,9 @@
|
|||
},
|
||||
"Z",
|
||||
{
|
||||
"x": 14.5,
|
||||
"a": 4
|
||||
"x": 14.5
|
||||
},
|
||||
"?\n/",
|
||||
"J",
|
||||
{
|
||||
"f": 9,
|
||||
"g": true,
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
"x": 4.5,
|
||||
"f": 3
|
||||
},
|
||||
"F12",
|
||||
"Fx",
|
||||
{
|
||||
"a": 4,
|
||||
"f": 3,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
LAST_APPSEL_START=0
|
||||
|
||||
cmd_wm () {
|
||||
WIN="$(xdotool getactivewindow)"
|
||||
wmctrl -i -r ${WIN} -b remove,maximized_vert,maximized_horz
|
||||
|
|
@ -14,7 +16,7 @@ _cmd_appsel () {
|
|||
}
|
||||
|
||||
cmd_appsel_music () {
|
||||
wmctrl -x -a rhythmbox || wmctrl -x -a spotify || true
|
||||
wmctrl -x -a rhythmbox || wmctrl -x -a spotify || wmctrl -x -a kodi || true
|
||||
xdotool key Escape
|
||||
}
|
||||
|
||||
|
|
@ -23,7 +25,7 @@ cmd_appsel_slack () {
|
|||
}
|
||||
|
||||
cmd_appsel_emacs () {
|
||||
_cmd_appsel emacs24
|
||||
_cmd_appsel emacs
|
||||
}
|
||||
|
||||
cmd_appsel_term () {
|
||||
|
|
@ -34,6 +36,24 @@ cmd_appsel_chrome () {
|
|||
_cmd_appsel chromium
|
||||
}
|
||||
|
||||
cmd_appsel_start () {
|
||||
if [ ! -z "${DISABLE_APPSEL_START}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
APPSEL_START=$(date +%s)
|
||||
if [ $APPSEL_START -lt $(expr $LAST_APPSEL_START + 10) ]; then
|
||||
return
|
||||
fi
|
||||
LAST_APPSEL_START=$APPSEL_START
|
||||
notify-send -t 1000 "Please select an application!" -c device -u low \
|
||||
-i /usr/share/icons/Adwaita/24x24/devices/video-display.png
|
||||
}
|
||||
|
||||
cmd_reflash () {
|
||||
teensy_loader_cli -v -w ~/src/ext/qmk_firmware/algernon.hex --mcu atmega32u4 || true
|
||||
}
|
||||
|
||||
cmd_help () {
|
||||
cat <<EOF
|
||||
Use the source, Luke!
|
||||
|
|
@ -57,5 +77,3 @@ while read l; do
|
|||
cmd_${cmd}
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/sh
|
||||
HL="${HID_LISTEN:-$HOME/src/ext/hid_listen/hid_listen}"
|
||||
|
||||
sudo "${HL}" | grep --line-buffered LAYER: | \
|
||||
(while read line; do
|
||||
case $line in
|
||||
LAYER:*)
|
||||
layer="$(echo $(echo $line | cut -d: -f2-))"
|
||||
notify-send -i mark-location-symbolic "Switched to layer: $layer"
|
||||
;;
|
||||
esac
|
||||
done)
|
||||
|
|
@ -145,6 +145,11 @@ class Heatmap(object):
|
|||
usage[0][4] = usage[0][4] + self.log[(c, r)]
|
||||
else:
|
||||
usage[1][0] = usage[1][0] + self.log[(c, r)]
|
||||
elif r == 4 and (c == 4 or c == 9): # bottom row thumb keys
|
||||
if c <= 6: # left side
|
||||
usage[0][4] = usage[0][4] + self.log[(c, r)]
|
||||
else:
|
||||
usage[1][0] = usage[1][0] + self.log[(c, r)]
|
||||
else:
|
||||
fc = c
|
||||
hand = 0
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue