summaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/bcat/config.h20
-rw-r--r--users/csc027/csc027.c53
-rw-r--r--users/csc027/csc027.h29
-rw-r--r--users/csc027/custom_audio.c17
-rw-r--r--users/csc027/custom_audio.h8
-rw-r--r--users/csc027/custom_rgb.c25
-rw-r--r--users/csc027/custom_rgb.h9
-rw-r--r--users/csc027/defines.h270
-rw-r--r--users/csc027/rules.mk11
-rw-r--r--users/csc027/usb_led.c32
-rw-r--r--users/csc027/usb_led.h3
-rw-r--r--users/curry/.gitignore1
-rw-r--r--users/curry/LICENSE14
-rw-r--r--users/curry/README.md30
-rw-r--r--users/curry/config.h111
-rw-r--r--users/curry/curry.c130
-rw-r--r--users/curry/curry.h59
-rw-r--r--users/curry/glcdfont.c232
-rw-r--r--users/curry/leader.c24
-rw-r--r--users/curry/leader.h3
-rw-r--r--users/curry/oled.c163
-rw-r--r--users/curry/process_records.c76
-rw-r--r--users/curry/process_records.h86
-rw-r--r--users/curry/rgb_lighting_user.c325
-rw-r--r--users/curry/rgb_lighting_user.h19
-rw-r--r--users/curry/rgb_matrix_user.c144
-rw-r--r--users/curry/rgb_matrix_user.h7
-rw-r--r--users/curry/rgblight_breathe_table.h118
-rw-r--r--users/curry/rules.mk71
-rw-r--r--users/curry/tap_dances.c4
-rw-r--r--users/curry/tap_dances.h1
-rw-r--r--users/curry/wrappers.h88
-rw-r--r--users/d4mation/config.h1
-rw-r--r--users/d4mation/d4mation.c37
-rw-r--r--users/d4mation/d4mation.h17
-rw-r--r--users/d4mation/macros.c160
-rw-r--r--users/d4mation/macros.h23
-rw-r--r--users/d4mation/rules.mk15
-rw-r--r--users/d4mation/tap-dance.c6
-rw-r--r--users/d4mation/tap-dance.h7
-rw-r--r--users/d4mation/tap-hold.c28
-rw-r--r--users/d4mation/tap-hold.h5
-rw-r--r--users/d4mation/zalgo.c21
-rw-r--r--users/d4mation/zalgo.h5
-rw-r--r--users/drashna/drashna.c6
-rw-r--r--users/drashna/process_records.c8
-rw-r--r--users/drashna/rgb_stuff.c173
-rw-r--r--users/drashna/rules.mk6
-rw-r--r--users/hvp/hvp.h6
-rw-r--r--users/hvp/tap_dances.c66
-rw-r--r--users/hvp/tap_dances.h4
-rw-r--r--users/manna-harbour_miryoku/config.h3
-rw-r--r--users/manna-harbour_miryoku/manna-harbour_miryoku.c12
-rw-r--r--users/manna-harbour_miryoku/miryoku.org120
-rw-r--r--users/manna-harbour_miryoku/rules.mk4
-rw-r--r--users/mverteuil/.gitignore1
-rw-r--r--users/mverteuil/mverteuil.c2
-rw-r--r--users/mverteuil/mverteuil.h21
-rw-r--r--users/mverteuil/rules.mk1
-rw-r--r--users/rossman360/readme.md14
-rw-r--r--users/rossman360/rossman360.c80
-rw-r--r--users/rossman360/rossman360.h28
-rw-r--r--users/rossman360/rules.mk5
-rw-r--r--users/stanrc85/stanrc85.c21
-rw-r--r--users/twschum/config.h0
-rw-r--r--users/twschum/readme.md14
-rw-r--r--users/twschum/rules.mk5
-rw-r--r--users/twschum/twschum.c257
-rw-r--r--users/twschum/twschum.h131
-rw-r--r--users/twschum/xtonhasvim.c593
-rw-r--r--users/twschum/xtonhasvim.h62
71 files changed, 4075 insertions, 76 deletions
diff --git a/users/bcat/config.h b/users/bcat/config.h
index f6be07bf6e..6b132a429c 100644
--- a/users/bcat/config.h
+++ b/users/bcat/config.h
@@ -22,6 +22,26 @@
*/
#define TAPPING_FORCE_HOLD
+#if defined(RGB_MATRIX_ENABLE)
+ /* Turn off per-key RGB when the host goes to sleep. */
+ #define RGB_DISABLE_WHEN_USB_SUSPENDED true
+
+ /* Keep per-key RGB increments consistent across keyboards. */
+ #undef RGB_MATRIX_HUE_STEP
+ #undef RGB_MATRIX_SAT_STEP
+ #undef RGB_MATRIX_VAL_STEP
+ #undef RGB_MATRIX_SPD_STEP
+
+ #define RGB_MATRIX_HUE_STEP 8
+ #define RGB_MATRIX_SAT_STEP 17
+ #define RGB_MATRIX_VAL_STEP 17
+ #define RGB_MATRIX_SPD_STEP 17
+
+ /* Turn on additional RGB animations. */
+ #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+ #define RGB_MATRIX_KEYPRESSES
+#endif
+
#if defined(RGBLIGHT_ENABLE)
/* Turn off RGB underglow when the host goes to sleep. */
#define RGBLIGHT_SLEEP
diff --git a/users/csc027/csc027.c b/users/csc027/csc027.c
new file mode 100644
index 0000000000..de1bad6f25
--- /dev/null
+++ b/users/csc027/csc027.c
@@ -0,0 +1,53 @@
+#include "csc027.h"
+
+// Declare the strings in PROGMEM using the convenience macro
+CUSTOM_MACROS(CUSTOM_DEF, CUSTOM_MACRO_STRING, SEMI_DELIM);
+
+static const char* const custom_macros[] PROGMEM = {
+ // Declare the pointer to the strings in PROGMEM
+ CUSTOM_MACROS(CUSTOM_VAR, DROP, COMMA_DELIM)
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ switch(keycode) {
+ case LOWER:
+ if(record->event.pressed) {
+ layer_on(_LW);
+ } else {
+ layer_off(_LW);
+ }
+ update_tri_layer(_LW, _RS, _MS);
+ return false;
+ case RAISE:
+ if(record->event.pressed) {
+ layer_on(_RS);
+ } else {
+ layer_off(_RS);
+ }
+ update_tri_layer(_LW, _RS, _MS);
+ return false;
+ case (MC_first + 1)...(MC_last - 1):
+ if(record->event.pressed) {
+ send_string_P(
+#if defined(__AVR__)
+ // The accessor here first reads from the pointer array that is located
+ // in PROGMEM. The pointer is taken and passed to the send_string_P
+ // function, which is aware of the difference between RAM and PROGMEM
+ // pointers.
+ (char*)pgm_read_word(&custom_macros[keycode - MC_first - 1])
+#else
+ // For non-AVR MCUs, the PROGMEM macro is defined as nothing. So, the strings are
+ // declared in RAM instead of flash. The send_string_P function, when compiled for
+ // non-AVR targets, uses a different definition of pgm_read_byte internally. This
+ // definition uses RAM pointers instead. This is why the raw pointer is passed for
+ // non-AVR MCUs.
+ custom_macros[keycode - MC_first - 1]
+#endif
+ );
+ return true;
+ }
+ return false;
+ default:
+ return true;
+ }
+}
diff --git a/users/csc027/csc027.h b/users/csc027/csc027.h
new file mode 100644
index 0000000000..96bf7dc0eb
--- /dev/null
+++ b/users/csc027/csc027.h
@@ -0,0 +1,29 @@
+#pragma once
+
+#include "quantum.h"
+#include "defines.h"
+
+enum custom_keycodes {
+ // Layer Keycodes
+ LOWER = SAFE_RANGE,
+ RAISE,
+
+
+ MC_first,
+
+ // Macro Keycodes
+ CUSTOM_MACROS(CUSTOM_ENUM, DROP, COMMA_DELIM),
+
+ MC_last
+};
+
+enum custom_layers {
+ _QW = 0, // Qwerty
+ _RS, // Raise
+ _LW, // Lower
+ _MS, // Mouse
+ _GT, // Git
+ _CN, // Convenience
+ _GW, // Guild Wars 2
+ _CS // Counter-Strike: Global Offensive
+};
diff --git a/users/csc027/custom_audio.c b/users/csc027/custom_audio.c
new file mode 100644
index 0000000000..96e0e66029
--- /dev/null
+++ b/users/csc027/custom_audio.c
@@ -0,0 +1,17 @@
+#include "csc027.h"
+#include "custom_audio.h"
+
+#if defined(AUDIO_ENABLE)
+
+float tone_on[][2] = SONG(E__NOTE(_G6));
+float tone_off[][2] = SONG(E__NOTE(_D5));
+
+void on_usb_led_off(void) {
+ PLAY_SONG(tone_off);
+}
+
+void on_usb_led_on(void) {
+ PLAY_SONG(tone_on);
+}
+
+#endif
diff --git a/users/csc027/custom_audio.h b/users/csc027/custom_audio.h
new file mode 100644
index 0000000000..daea1e652e
--- /dev/null
+++ b/users/csc027/custom_audio.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#if defined(AUDIO_ENABLE)
+
+void on_usb_led_off(void);
+void on_usb_led_on(void);
+
+#endif
diff --git a/users/csc027/custom_rgb.c b/users/csc027/custom_rgb.c
new file mode 100644
index 0000000000..000483b2ae
--- /dev/null
+++ b/users/csc027/custom_rgb.c
@@ -0,0 +1,25 @@
+#include "csc027.h"
+#include "custom_rgb.h"
+
+#if defined(RGBLIGHT_ENABLE)
+
+void keyboard_post_init_user(void) {
+ rgblight_enable_noeeprom();
+ rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
+ uint16_t user_hue = rgblight_get_hue();
+ for (uint16_t i = 0; i < 256; ++i) {
+ rgblight_sethsv_noeeprom((i + user_hue) % 256, 255, 255);
+ wait_ms(5);
+ }
+ rgblight_sethsv_noeeprom(0, 0, 0);
+}
+
+void on_usb_led_off(void) {
+ rgblight_sethsv_noeeprom(0, 0, rgblight_get_val() - 85);
+}
+
+void on_usb_led_on(void) {
+ rgblight_sethsv_noeeprom(0, 0, rgblight_get_val() + 85);
+}
+
+#endif
diff --git a/users/csc027/custom_rgb.h b/users/csc027/custom_rgb.h
new file mode 100644
index 0000000000..47fdeb7b26
--- /dev/null
+++ b/users/csc027/custom_rgb.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#if defined(RGBLIGHT_ENABLE)
+
+void keyboard_post_init_user(void);
+void on_usb_led_off(void);
+void on_usb_led_on(void);
+
+#endif
diff --git a/users/csc027/defines.h b/users/csc027/defines.h
new file mode 100644
index 0000000000..4f52938f1f
--- /dev/null
+++ b/users/csc027/defines.h
@@ -0,0 +1,270 @@
+#pragma once
+#include "csc027.h"
+
+#define MC_RSFE RSFT_T(KC_ENT) // Right Shift on hold, Enter on tap
+#define MC_LSEC LSFT_T(KC_ESC) // Left Shift on hold, Escape on tap
+
+#define ________________ KC_TRNS
+
+/* QWERTY Layer
+ *
+ * The basic layer of this keymap is a QWERTY layer.
+ *
+ * - Modifier keys more closely resemble a standard keyboard's layout.
+ * - There is a "Nxt L" function that cycles through the QWERTY and
+ * game layers. This has been implemented by hard coding the jump to the
+ * next layer in each of the layers using the TO() macro. Currently, the
+ * "Nxt L" function skips over the momentary layers (i.e., Mouse, Git,
+ * Lower, Raise, and Convenience layers).
+ * - There is a "Rst L" function that resets the current layer to the
+ * QWERTY layer.
+ * - The "Git" one shot function goes to the macro layer which has Git
+ * commands implemented.
+ * - The "Convc" momentary function goes to the Convenience layer which has a
+ * tenkey. Note: The tenkey will operate using the secondary functions if
+ * the Number Lock is not enabled (e.g., Left and Right instead of 4 and
+ * 6).
+ * - The Right Shift key also doubles as an Enter key if it is tapped rather
+ * than held.
+ *
+ * ,-----------------------------------. ,-----------------------------------.
+ * | Tab | Q | W | E | R | T | | Y | U | I | O | P |BkSpc|
+ * |-----------------------------------| |-----------------------------------|
+ * | Esc | A | S | D | F | G | | H | J | K | L | ; | ' |
+ * |-----------------------------------| |-----------------------------------|
+ * |Shift| Z | X | C | V | B | | N | M | , | . | / |Sf/En|
+ * |-----------------------------------| |-----------------------------------|
+ * |Cntrl|Super| Alt |Convc|Lower|Space| |Space|Raise| \ | Git |Nxt L|Rst L|
+ * `-----------------------------------' `-----------------------------------'
+ */
+
+#define _____________________QWERTY_L1_____________________ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T
+#define _____________________QWERTY_L2_____________________ KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G
+#define _____________________QWERTY_L3_____________________ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B
+#define _____________________QWERTY_L4_____________________ KC_LCTL, KC_LGUI, KC_LALT, MO(_CN), LOWER, KC_SPC
+
+#define _____________________QWERTY_R1_____________________ KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC
+#define _____________________QWERTY_R2_____________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT
+#define _____________________QWERTY_R3_____________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MC_RSFE
+#define _____________________QWERTY_R4_____________________ KC_SPC, RAISE, KC_BSLS, OSL(_GT), TO(_GW), XXXXXXX
+
+/* Raise Layer
+ *
+ * The Raise layer accommodates the Home, End, Page Up, and Page Down keys
+ * in what would be the Vim arrow keys positions. This is done as opposed
+ * to using C-D, C-U, 0, $, and ^, because it would require a separate layer.
+ *
+ * - The top row has the shifted versions of the number row, rather than the
+ * numbers themselves. This is a change to have a mnemonic where shifted
+ * elements are on the Raise layer. This also makes it easy to use some of
+ * Vim style movement controls (e.g. $, %), but makes it harder for others
+ * (e.g. ^, (, )). Consider swapping the number row with the shifted number
+ * row if you do not care about the mnemonic.
+ * - The Left Brace, Right Brace, Underscore, and Plus keys have been moved
+ * from the right side to the left side. This will take some getting used
+ * to, as these keys are normally on the right side of the keyboard. An
+ * alternative would be to keep the keys on the right hand side just under
+ * the Parentheses. This would prevent the use of Vim arrow keys however.
+ * - The F keys have been laid across the bottom in the Raise layer, rather
+ * than the Lower layer to allow easy access to the Alt-F4 chord for
+ * Windows. When the F keys were put in the Lower layer, it made it hard
+ * to use this chord, as the Lower key, the Alt key, and the F4 key were
+ * all right next to each other.
+ * - A Delete key has been added in this layer to allow easy access to the
+ * Control-Alt-Delete login chord for Windows.
+ *
+ * ,-----------------------------------. ,-----------------------------------.
+ * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del |
+ * |-----------------------------------| |-----------------------------------|
+ * | | _ | + | { | } | Caps| | Home| PgDn| PgUp| End | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | | | | | | | | | | | |
+ * `-----------------------------------' `-----------------------------------'
+ */
+
+#define ______________________RAISE_L1_____________________ KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC
+#define ______________________RAISE_L2_____________________ _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_CAPS
+#define ______________________RAISE_L3_____________________ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5
+#define ______________________RAISE_L4_____________________ _______, _______, _______, _______, _______, _______
+
+#define ______________________RAISE_R1_____________________ KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DELT
+#define ______________________RAISE_R2_____________________ KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, XXXXXXX
+#define ______________________RAISE_R3_____________________ KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______
+#define ______________________RAISE_R4_____________________ _______, _______, _______, _______, XXXXXXX, XXXXXXX
+
+/* Lower Layer
+ *
+ * The lower layout scheme accommodates the Vim style arrow keys.
+ *
+ * - The arrow keys are in the normal Vim positions.
+ * - The Left Square Bracket, Right Square Bracket, Minus, and Equal keys
+ * have been moved from the right side to the left side. This will take
+ * some getting used to, as it is on the left rather than the right.
+ * - A Delete key has been added in this layer to allow easy access to the
+ * Control-Alt-Delete login chord for Windows.
+ * - The remaining F keys are in this layer.
+ *
+ * ,-----------------------------------. ,-----------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del |
+ * |-----------------------------------| |-----------------------------------|
+ * | | - | = | [ | ] | | | Left| Down| Up |Right| | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | F11 | F12 | | | | | | | | | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | | | | | | | | | | | |
+ * `-----------------------------------' `-----------------------------------'
+ */
+
+#define ______________________LOWER_L1_____________________ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5
+#define ______________________LOWER_L2_____________________ _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, XXXXXXX
+#define ______________________LOWER_L3_____________________ _______, KC_F11, KC_F12, XXXXXXX, XXXXXXX, XXXXXXX
+#define ______________________LOWER_L4_____________________ _______, _______, _______, _______, _______, _______
+
+#define ______________________LOWER_R1_____________________ KC_6, KC_7, KC_8, KC_9, KC_0, KC_DELT
+#define ______________________LOWER_R2_____________________ KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX
+#define ______________________LOWER_R3_____________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______
+#define ______________________LOWER_R4_____________________ _______, _______, _______, _______, XXXXXXX, XXXXXXX
+
+
+/* MIT Layout (Mouse)
+ *
+ * The mouse layer adds keys to use the keyboard like a mouse.
+ *
+ * ,-----------------------------------. ,-----------------------------------.
+ * | | | | | | | | | | | | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | |Ms-Lc|Ms-Rc| | | Ms-L| Ms-D| Ms-U| Ms-R| | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | | | | | | | | | | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | | | | | | | | | | | |
+ * `-----------------------------------' `-----------------------------------'
+ */
+
+#define ______________________MOUSE_L1_____________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
+#define ______________________MOUSE_L2_____________________ _______, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN2, XXXXXXX
+#define ______________________MOUSE_L3_____________________ _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
+#define ______________________MOUSE_L4_____________________ _______, _______, _______, _______, _______, _______
+
+#define ______________________MOUSE_R1_____________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
+#define ______________________MOUSE_R2_____________________ KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, XXXXXXX, XXXXXXX
+#define ______________________MOUSE_R3_____________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______
+#define ______________________MOUSE_R4_____________________ _______, _______, _______, _______, XXXXXXX, XXXXXXX
+
+/* MIT Layout (Git)
+ *
+ * The macro layer that has common git commands.
+ *
+ * ,-----------------------------------. ,-----------------------------------.
+ * | |Chery| Show|Rebas|Reset| Tag | | | Pull| Init|Rmote| Push| |
+ * |-----------------------------------| |-----------------------------------|
+ * | | Add |Sttus| Diff|Fetch| Grep| |Stash| |ChkOt| Log | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | |Comit| Move|Brnch| | |Merge| | | | |
+ * |-----------------------------------| |-----------------------------------|
+ * | | | | | | | | | | | | | |
+ * `-----------------------------------' `-----------------------------------'
+ */
+
+#define _______________________GIT_L1______________________ XXXXXXX, MC_cherrypick, MC_show, MC_rebase, MC_reset, MC_tag
+#define _______________________GIT_L2______________________ _______, MC_add, MC_status, MC_diff, MC_fetch, MC_grep
+#define _______________________GIT_L3______________________ _______, XXXXXXX, XXXXXXX, MC_commit, MC_mv, MC_branch
+#define _______________________GIT_L4______________________ _______, _______, _______, _______, _______, _______
+
+#define _______________________GIT_R1______________________ XXXXXXX, MC_pull, MC_init, MC_remote, MC_push, XXXXXXX
+#define _______________________GIT_R2______________________ MC_stash, XXXXXXX, MC_checkout, MC_log, XXXXXXX, XXXXXXX
+#define _______________________GIT_R3______________________ XXXXXXX, MC_merge, XXXXXXX, XXXXXXX, XXXXXXX, _______
+#define _______________________GIT_R4______________________ _______, _______, _______, _______, XXXXXXX, XXXXXXX
+
+
+/* MIT Layout (Convenience)
+ *
+ * The Convenience layer adds miscellaneous chords to the keyboard.
+ *
+ * - The Number Lock key is physically in the same spot as the Caps Lock key
+ * in the raise layer.
+ * - There is also a Backspace Key for convenience.
+ * - There is a convenience macro to type the Control-Alt-Delete login chord for Windows.
+ * - There is a convenience macro to switch context from the Remote Desktop to the local
+