summaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
commit47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch)
tree65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /users
parentac9b88e8ccbbf38762871504cd827ff0d941c426 (diff)
parent563ce3f225d981ce460c12ca5130dfe47af41df0 (diff)
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'users')
-rw-r--r--users/333fred/333fred.h10
-rw-r--r--users/333fred/333fred_config.h1
-rw-r--r--users/arkag/arkag.c528
-rw-r--r--users/arkag/arkag.h152
-rw-r--r--users/arkag/config.h6
-rw-r--r--users/arkag/mechmini2.jpgbin0 -> 3548191 bytes
-rw-r--r--users/arkag/readme.md42
-rw-r--r--users/arkag/rules.mk1
-rw-r--r--users/bocaj/bocaj.c189
-rw-r--r--users/bocaj/bocaj.h85
-rw-r--r--users/bocaj/config.h33
-rw-r--r--users/bocaj/process_records.c149
-rw-r--r--users/bocaj/process_records.h52
-rw-r--r--users/bocaj/readme.md102
-rw-r--r--users/bocaj/rules.mk33
-rw-r--r--users/bocaj/send_unicode.c106
-rw-r--r--users/bocaj/send_unicode.h (renamed from users/drashna/drashna_unicode.h)10
-rw-r--r--users/bocaj/tap_dances.c64
-rw-r--r--users/bocaj/tap_dances.h19
-rw-r--r--users/bocaj/wrappers.h37
-rw-r--r--users/doogle999/doogle999.c460
-rw-r--r--users/doogle999/doogle999.h99
-rw-r--r--users/doogle999/readme.md41
-rw-r--r--users/doogle999/rules.mk14
-rw-r--r--users/drashna/.gitlab-ci.yml78
-rw-r--r--users/drashna/config.h41
-rw-r--r--users/drashna/drashna.c383
-rw-r--r--users/drashna/drashna.h319
-rw-r--r--users/drashna/process_records.c178
-rw-r--r--users/drashna/process_records.h101
-rw-r--r--users/drashna/readme.md97
-rw-r--r--users/drashna/rgb_stuff.c129
-rw-r--r--users/drashna/rgb_stuff.h9
-rw-r--r--users/drashna/rules.mk11
-rw-r--r--users/drashna/send_unicode.h71
-rw-r--r--users/drashna/tap_dances.c11
-rw-r--r--users/drashna/tap_dances.h12
-rw-r--r--users/drashna/template.c102
-rw-r--r--users/drashna/template.h8
-rw-r--r--users/drashna/wrappers.h171
-rw-r--r--users/edvorakjp/edvorakjp.c222
-rw-r--r--users/edvorakjp/edvorakjp.h37
-rw-r--r--users/edvorakjp/edvorakjp_process_record.c214
-rw-r--r--users/edvorakjp/edvorakjp_status.c75
-rw-r--r--users/edvorakjp/edvorakjp_tap_dance.c71
-rw-r--r--users/edvorakjp/readme.md12
-rw-r--r--users/edvorakjp/rules.mk8
-rwxr-xr-xusers/ishtob/config.h75
-rw-r--r--users/ishtob/ishtob.c69
-rw-r--r--users/ishtob/ishtob.h240
-rw-r--r--users/ishtob/readme.md87
-rwxr-xr-xusers/ishtob/rules.mk7
-rw-r--r--users/jarred/config.h50
-rw-r--r--users/jarred/jarred.c15
-rw-r--r--users/jarred/jarred.h8
-rw-r--r--users/jarred/rules.mk15
-rw-r--r--users/kageurufu/config.h4
-rw-r--r--users/kageurufu/custom_rgb.c18
-rw-r--r--users/kageurufu/custom_rgb.h3
-rw-r--r--users/kageurufu/kageurufu.c12
-rw-r--r--users/kageurufu/kageurufu.h5
-rw-r--r--users/kageurufu/layouts.h58
-rw-r--r--users/kageurufu/process_records.c44
-rw-r--r--users/kageurufu/process_records.h27
-rw-r--r--users/kageurufu/readme.md14
-rw-r--r--users/kageurufu/rules.mk15
-rw-r--r--users/kuatsure/kuatsure.h2
-rw-r--r--users/kuatsure/rules.mk2
-rw-r--r--users/mechmerlin/changelog.md14
-rw-r--r--users/mechmerlin/config.h5
-rw-r--r--users/mechmerlin/mechmerlin.c20
-rw-r--r--users/mechmerlin/mechmerlin.h17
-rw-r--r--users/mechmerlin/readme.md40
-rw-r--r--users/mechmerlin/rules.mk1
-rw-r--r--users/mtdjr/mtdjr.c2
-rw-r--r--users/mtdjr/mtdjr.h2
-rw-r--r--users/replicaJunction/config.h66
-rw-r--r--users/replicaJunction/readme.md14
-rw-r--r--users/replicaJunction/replicaJunction.c149
-rw-r--r--users/replicaJunction/replicaJunction.h115
-rw-r--r--users/replicaJunction/rules.mk1
-rw-r--r--users/romus/README.md45
-rw-r--r--users/romus/config.h8
-rw-r--r--users/romus/romus.c557
-rw-r--r--users/romus/romus.h272
-rw-r--r--users/romus/rules.mk24
-rw-r--r--users/sigma/config.h21
-rw-r--r--users/sigma/rules.mk3
-rw-r--r--users/sigma/sigma.c276
-rw-r--r--users/sigma/sigma.h58
-rw-r--r--users/spacebarracecar/config.h0
-rw-r--r--users/spacebarracecar/readme.md111
-rw-r--r--users/spacebarracecar/rules.mk5
-rw-r--r--users/spacebarracecar/spacebarracecar.c342
-rw-r--r--users/spacebarracecar/spacebarracecar.h241
-rw-r--r--users/talljoe/config.h7
-rw-r--r--users/talljoe/rules.mk2
-rw-r--r--users/talljoe/talljoe.c85
-rw-r--r--users/talljoe/talljoe.h76
-rw-r--r--users/talljoe/tapdance.c148
-rw-r--r--users/turbomech/backupturbomech.c1
-rw-r--r--users/wanleg/config.h44
-rw-r--r--users/wanleg/readme.md14
-rw-r--r--users/wanleg/rules.mk39
-rw-r--r--users/wanleg/tapdances.c264
-rw-r--r--users/wanleg/wanleg.c139
-rw-r--r--users/wanleg/wanleg.h309
-rw-r--r--users/xtonhasvim/fancylighting.c172
-rw-r--r--users/xtonhasvim/fancylighting.h36
-rw-r--r--users/xtonhasvim/rules.mk1
-rw-r--r--users/xtonhasvim/xtonhasvim.c72
-rw-r--r--users/xtonhasvim/xtonhasvim.h13
-rw-r--r--users/zer09/config.h6
-rw-r--r--users/zer09/tap_dance.c27
-rw-r--r--users/zer09/zer09.h10
115 files changed, 8135 insertions, 1102 deletions
diff --git a/users/333fred/333fred.h b/users/333fred/333fred.h
index 8599198a57..443930a6b1 100644
--- a/users/333fred/333fred.h
+++ b/users/333fred/333fred.h
@@ -4,10 +4,12 @@
#define BASE 0
#define CODE 1 // code layer
-#define SYMB 2
-#define MDIA 3 // media keys
-#define VIM 4
-#define GAME 5
+#define CODEFLOW 2
+#define SYMB 3
+#define MDIA 4 // media keys
+#define VIM 5
+#define GAME 6
+#define GAME_ARROW 7
// Tap dance config shared between my keyboards
enum tap_dance_declarations {
diff --git a/users/333fred/333fred_config.h b/users/333fred/333fred_config.h
index 7c637d8d36..b158e2d5a2 100644
--- a/users/333fred/333fred_config.h
+++ b/users/333fred/333fred_config.h
@@ -1,4 +1,3 @@
#pragma once
-#define PREVENT_STUCK_MODIFIERS
#define PERMISSIVE_HOLD
diff --git a/users/arkag/arkag.c b/users/arkag/arkag.c
new file mode 100644
index 0000000000..212d06de67
--- /dev/null
+++ b/users/arkag/arkag.c
@@ -0,0 +1,528 @@
+#include "arkag.h"
+
+/*
+ Current Layout and Keeb:
+ https://github.com/arkag/qmk_firmware/blob/master/keyboards/mechmini/v2/keymaps/arkag/keymap.c
+*/
+
+// Start: Written by konstantin: vomindoraan
+#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
+
+void send_unicode_hex_string(const char *str) {
+ if (!str) { return; } // Saftey net
+ while (*str) {
+ // Find the next code point (token) in the string
+ for (; *str == ' '; str++);
+ size_t n = strcspn(str, " "); // Length of the current token
+ char code_point[n+1];
+ strncpy(code_point, str, n);
+ code_point[n] = '\0'; // Make sure it's null-terminated
+
+ // Normalize the code point: make all hex digits lowercase
+ for (char *p = code_point; *p; p++) {
+ *p = tolower(*p);
+ }
+
+ // Send the code point as a Unicode input string
+ unicode_input_start();
+ send_string(code_point);
+ unicode_input_finish();
+ str += n; // Move to the first ' ' (or '\0') after the current token
+ }
+}
+// End: Written by konstantin: vomindoraan
+
+// Start: Written by Chris Lewis
+#ifndef MIN
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#endif
+#ifndef MAX
+#define MAX(a,b) (((a)>(b))?(a):(b))
+#endif
+
+#define TYPING_SPEED_MAX_VALUE 200
+uint8_t typing_speed = 0;
+
+void velocikey_accelerate() {
+ if (typing_speed < TYPING_SPEED_MAX_VALUE) typing_speed += (TYPING_SPEED_MAX_VALUE / 50);
+}
+
+void velocikey_decelerate() {
+ static uint16_t decay_timer = 0;
+
+ if (timer_elapsed(decay_timer) > 500 || decay_timer == 0) {
+ if (typing_speed > 0) typing_speed -= 1;
+ //Decay a little faster at half of max speed
+ if (typing_speed > TYPING_SPEED_MAX_VALUE / 2) typing_speed -= 1;
+ //Decay even faster at 3/4 of max speed
+ if (typing_speed > TYPING_SPEED_MAX_VALUE / 4 * 3) typing_speed -= 3;
+ decay_timer = timer_read();
+ }
+}
+
+uint8_t velocikey_match_speed(uint8_t minValue, uint8_t maxValue) {
+ return MAX(minValue, maxValue - (maxValue - minValue) * ((float)typing_speed / TYPING_SPEED_MAX_VALUE));
+}
+// End: Written by Chris Lewis
+
+uint8_t current_os,
+ mod_primary_mask,
+ fade_interval,
+ num_extra_flashes_off = 0;
+Color underglow,
+ flash_color,
+ saved_color,
+ hsv_none = {0,0,0};
+flashState flash_state = no_flash;
+fadeState fade_state = add_fade;
+activityState state = boot;
+
+void set_color (Color new, bool update) {
+ rgblight_sethsv_eeprom_helper(new.h, new.s, new.v, update);
+}
+
+void save_color(Color to_save) {
+ saved_color = to_save;
+}
+
+void reset_color(void) {
+ underglow = saved_color;
+}
+
+Color mod_color(Color current_color, bool should_add, uint8_t change_amount) {
+ save_color(underglow);
+ int addlim = 359 - change_amount;
+ int sublim = change_amount;
+ int leftovers;
+ if (should_add) {
+ if (current_color.h <= addlim) {
+ current_color.h += change_amount;
+ } else {
+ leftovers = (359 + change_amount) % 359;
+ current_color.h = 0 + leftovers;
+ }
+ } else {
+ if (current_color.h >= sublim) {
+ current_color.h -= change_amount;
+ } else {
+ leftovers = change_amount - current_color.h;
+ current_color.h = 359 - leftovers;
+ }
+ }
+ return current_color;
+}
+
+void check_state (void) {
+ static uint16_t active_timer;
+ if (!active_timer) {active_timer = timer_read();}
+ static bool activated, deactivated, slept;
+ switch (state) {
+ case active:
+ if (!activated) {
+ if (slept) {rgblight_mode_noeeprom(1);}
+ activated = true;
+ deactivated = false;
+ slept = false;
+ }
+ fade_interval = velocikey_match_speed(1, 25);
+ if (timer_elapsed(active_timer) < INACTIVE_DELAY) {return;}
+ active_timer = timer_read();
+ state = inactive;
+ return;
+
+ case inactive:
+ if (!deactivated) {
+ deactivated = true;
+ activated = false;
+ slept = false;
+ }
+ velocikey_decelerate();
+ fade_interval = velocikey_match_speed(1, 25);
+ if (timer_elapsed(active_timer) < SLEEP_DELAY) {return;}
+ state = sleeping;
+ return;
+
+ case sleeping:
+ if (!slept) {
+ rgblight_mode_noeeprom(4);
+ slept = true;
+ activated = false;
+ deactivated = false;
+ }
+ return;
+
+ case boot:
+ return;
+ }
+}
+
+void fade_rgb (void) {
+ static uint16_t fade_timer;
+ if (state == boot) {return;}
+ if (!fade_timer) {fade_timer = timer_read();}
+ if (timer_elapsed(fade_timer) < fade_interval) {return;}