2020 May 30 Breaking Changes Update (#9215)
* Branch point for 2020 May 30 Breaking Change * Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954) * Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957) * Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958) * Migrate `ACTION_LAYER_MODS` to `LM()` (#8959) * Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968) * Convert V-USB usbdrv to a submodule (#8321) * Unify Tap Hold functions and documentation (#8348) * Changing board names to prevent confusion (#8412) * Move the Keyboardio Model01 to a keyboardio/ subdir (#8499) * Move spaceman keyboards (#8830) * Migrate miscellaneous `fn_actions` entries (#8977) * Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979) * Organizing my keyboards (plaid, tartan, ergoinu) (#8537) * Refactor Lily58 to use split_common (#6260) * Refactor zinc to use split_common (#7114) * Add a message if bin/qmk doesn't work (#9000) * Fix conflicting types for 'tfp_printf' (#8269) * Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480) * Refactor and updates to TKC1800 code (#8472) * Switch to qmk forks for everything (#9019) * audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484) * Audio enable corrections (2/3) (#8903) * Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582) * Audio enable corrections (Part 4) (#8974) * Fix typo from PR7114 (#9171) * Augment future branch Changelogs (#8978) * Revert "Branch point for 2020 May 30 Breaking Change"
This commit is contained in:
parent
7b8a013826
commit
fced377ac0
460 changed files with 2624 additions and 12709 deletions
8
keyboards/spaceman/2_milk/keymaps/binary/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/binary/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_P0,
|
||||
KC_P1
|
||||
)
|
||||
};
|
2
keyboards/spaceman/2_milk/keymaps/binary/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/binary/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Binary keymap
|
||||
0 and 1 that's it
|
8
keyboards/spaceman/2_milk/keymaps/copypasta/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/copypasta/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
RCTL(KC_C),
|
||||
RCTL(KC_V)
|
||||
)
|
||||
};
|
2
keyboards/spaceman/2_milk/keymaps/copypasta/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/copypasta/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Copy/Paste Keymap
|
||||

|
8
keyboards/spaceman/2_milk/keymaps/default/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_Z,
|
||||
KC_X
|
||||
)
|
||||
};
|
2
keyboards/spaceman/2_milk/keymaps/default/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/default/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Default keymap for 2% Milk
|
||||

|
2
keyboards/spaceman/2_milk/keymaps/emoji/config.h
Normal file
2
keyboards/spaceman/2_milk/keymaps/emoji/config.h
Normal file
|
@ -0,0 +1,2 @@
|
|||
#define UNICODE_SELECTED_MODES UC_LNX, UC_OSX, UC_WIN, UC_WINC
|
||||
#define TAPPING_TERM 300
|
53
keyboards/spaceman/2_milk/keymaps/emoji/keymap.c
Normal file
53
keyboards/spaceman/2_milk/keymaps/emoji/keymap.c
Normal file
|
@ -0,0 +1,53 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum tapdance_keycodes {
|
||||
TD_KEY_1,
|
||||
TD_KEY_2,
|
||||
};
|
||||
|
||||
void dance_key_one (qk_tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
send_unicode_hex_string("00AF 005C 005F 0028 30C4 0029 005F 002F 00AF"); // ¯\_(ツ)_/¯
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
} else if (state->count == 2) {
|
||||
cycle_unicode_input_mode(+1);
|
||||
reset_tap_dance (state);
|
||||
}
|
||||
}
|
||||
|
||||
void dance_key_two (qk_tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
send_unicode_hex_string("0CA0 005F 0CA0"); // ಠ_ಠ
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
} else if (state->count == 2) {
|
||||
send_unicode_hex_string("0028 30CE 0CA0 75CA 0CA0 0029 30CE 5F61 253B 2501 253B"); // (ノಠ痊ಠ)ノ彡┻━┻
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
} else if (state->count == 3) {
|
||||
send_unicode_hex_string("256D 2229 256E 0028 002D 005F 002D 0029 256D 2229 256E"); // ╭∩╮(-_-)╭∩╮
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
} else if (state->count == 4) {
|
||||
send_unicode_hex_string("0028 3065 FFE3 0020 00B3 FFE3 0029 3065"); // (づ ̄ ³ ̄)づ
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
} else if (state->count == 5) {
|
||||
send_unicode_hex_string("0028 FE3A FE39 FE3A 0029"); // (︺︹︺)
|
||||
SEND_STRING(SS_TAP(X_ENTER));
|
||||
reset_tap_dance (state);
|
||||
}
|
||||
}
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
[TD_KEY_1] = ACTION_TAP_DANCE_FN(dance_key_one),
|
||||
[TD_KEY_2] = ACTION_TAP_DANCE_FN(dance_key_two),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
TD(TD_KEY_1),
|
||||
TD(TD_KEY_2)
|
||||
),
|
||||
};
|
39
keyboards/spaceman/2_milk/keymaps/emoji/readme.md
Normal file
39
keyboards/spaceman/2_milk/keymaps/emoji/readme.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Emoji Keymap
|
||||

|
||||
|
||||
# Unicode Setup
|
||||
|
||||
Unicode input in QMK works by inputting a sequence of characters to the
|
||||
OS, sort of like a macro. Unfortunately, the way this is done differs
|
||||
for each platform. Specifically, each platform requires a different
|
||||
combination of keys to trigger Unicode input. Therefore, a
|
||||
corresponding input mode has to be set in QMK.
|
||||
|
||||
Documentation: [Feature Unicode](https://beta.docs.qmk.fm/features/feature_unicode#input-modes)
|
||||
|
||||
On this keymap the default unicode mode it's `UC_LNX`.
|
||||
You can change it permanently tapping 2 times the KeyOne to select the next mode.
|
||||
|
||||
## Unicode Mode List
|
||||
- UC_LNX
|
||||
- UC_OSX
|
||||
- UC_WIN
|
||||
- UC_WINC
|
||||
|
||||
# Keymap
|
||||
To add more functionality to this Minimal Keyboard,
|
||||
it's implemented the tap dance feature, so pressing the same key
|
||||
multiples times will produce different emojis.
|
||||
|
||||
## Key One
|
||||
|
||||
- 1 Tap: `¯\_(ツ)_/¯`
|
||||
- 2 Taps: Switch Unicode Input Type
|
||||
|
||||
## Key Two
|
||||
|
||||
- 1 Tap: `ಠ_ಠ`
|
||||
- 2 Taps: `(ノಠ痊ಠ)ノ彡┻━┻`
|
||||
- 3 Taps: `╭∩╮(-_-)╭∩╮`
|
||||
- 4 Taps: `(づ ̄ ³ ̄)づ`
|
||||
- 5 Taps: `(︺︹︺)`
|
2
keyboards/spaceman/2_milk/keymaps/emoji/rules.mk
Normal file
2
keyboards/spaceman/2_milk/keymaps/emoji/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
UNICODE_ENABLE = yes # Unicode
|
||||
TAP_DANCE_ENABLE = yes # Tap Dance
|
8
keyboards/spaceman/2_milk/keymaps/excessbread/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/excessbread/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_LGUI,
|
||||
KC_F11
|
||||
)
|
||||
};
|
2
keyboards/spaceman/2_milk/keymaps/excessbread/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/excessbread/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# ExcessBread's keymap
|
||||
requested by excessbread
|
8
keyboards/spaceman/2_milk/keymaps/mikethetiger/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/mikethetiger/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_VOLU,
|
||||
KC_VOLD
|
||||
)
|
||||
};
|
1
keyboards/spaceman/2_milk/keymaps/mikethetiger/readme.md
Normal file
1
keyboards/spaceman/2_milk/keymaps/mikethetiger/readme.md
Normal file
|
@ -0,0 +1 @@
|
|||
# mikethetiger's keymap for 2% Milk
|
13
keyboards/spaceman/2_milk/keymaps/mikethetiger/rules.mk
Normal file
13
keyboards/spaceman/2_milk/keymaps/mikethetiger/rules.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Build Options
|
||||
# comment out to disable the options.
|
||||
#
|
||||
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 = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
|
||||
AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
|
||||
RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port.
|
8
keyboards/spaceman/2_milk/keymaps/mouse/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/mouse/keymap.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_BTN1,
|
||||
KC_BTN2
|
||||
)
|
||||
};
|
2
keyboards/spaceman/2_milk/keymaps/mouse/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/mouse/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# left and right mouse buttons
|
||||
requested by WanderingVagrant
|
Loading…
Add table
Add a link
Reference in a new issue