Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2a2d19d
Userspace: muppetjones (#1)
muppetjones Jul 6, 2021
1f726c9
Rollback lily58 state reader and add missing GPL
muppetjones Jul 7, 2021
f5138d8
Apply suggestions from code review
muppetjones Jul 7, 2021
74534b5
fix lily58 keymap
muppetjones Jul 10, 2021
7f87420
Updates to user and lily for muppetjones.
muppetjones Jul 11, 2021
ae8d7f1
Update keyboards/lily58/keymaps/muppetjones/config.h
muppetjones Jul 11, 2021
7d26091
Updated keymaps and userspace
muppetjones Jul 31, 2021
59da7b2
Merge branch 'userspace-muppetjones' of github.com:muppetjones/qmk_fi…
muppetjones Jul 31, 2021
f126e1e
Little more cleanup.
muppetjones Jul 31, 2021
b435568
Update keyboards/lily58/keymaps/muppetjones/rules.mk
muppetjones Aug 24, 2021
61f0b59
Rollback accidental libchibios update
muppetjones Aug 24, 2021
29677c8
Merge branch 'userspace-muppetjones' of github.com:muppetjones/qmk_fi…
muppetjones Aug 24, 2021
3cd082d
Apply suggestions from code review
muppetjones Mar 20, 2022
c22d91e
Update kyria keymap
muppetjones Mar 20, 2022
fd8e886
Move kyria keymap to splitkb/kyria
muppetjones Mar 20, 2022
47e7ea1
Update planck keymap
muppetjones Mar 20, 2022
e1b4a49
Remove all changes to keyboards/lily58/lib/layer_state_reader.c
muppetjones Mar 20, 2022
4dcec9d
Update lily58 keymap
muppetjones Mar 20, 2022
7cb370b
Recommended change
muppetjones Mar 20, 2022
b2d719e
Update keymap readme
muppetjones Mar 20, 2022
330e138
Update kyria keymap and userspace
muppetjones Mar 20, 2022
229c255
Apply suggestions from code review
muppetjones Mar 24, 2022
0c5e1e6
Renamed users/muppetjones/README.md to lc
muppetjones Mar 24, 2022
753681e
Merge branch 'userspace-muppetjones' of github.com:muppetjones/qmk_fi…
muppetjones Mar 24, 2022
7573994
Update keyboards/lily58/keymaps/muppetjones/config.h
muppetjones Mar 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Drashna Jaelre <drashna@live.com>
  • Loading branch information
muppetjones and drashna authored Mar 20, 2022
commit 3cd082d24f554a0a8fdffabecab0f0cf9f9d8e11
2 changes: 1 addition & 1 deletion keyboards/kyria/keymaps/muppetjones/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#pragma once

#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
# define OLED_DISPLAY_128X64
#endif

Expand Down
12 changes: 1 addition & 11 deletions keyboards/lily58/keymaps/muppetjones/features/bongo_cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WPM-responsive animation of bongo cat!

#include QMK_KEYBOARD_H

#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE

# define IDLE_FRAMES 5
# define IDLE_SPEED 30 // below this wpm value your animation will idle
Expand All @@ -28,7 +28,6 @@ uint32_t anim_sleep = 0;
uint8_t current_idle_frame = 0;
// uint8_t current_prep_frame = 0; // uncomment if PREP_FRAMES >1
uint8_t current_tap_frame = 0;
char wpm_str[12];

/* Animation */

Expand Down Expand Up @@ -91,15 +90,6 @@ static const char PROGMEM ANIM_TAP[TAP_FRAMES][ANIM_SIZE] = {

/* Functions */

const char *wpm_state(void) {
uint8_t n = get_current_wpm();
// index: 01234567
char *wpm_counter = "WPM: ";
wpm_counter[7] = '0' + n % 10;
wpm_counter[6] = (n /= 10) % 10 ? '0' + (n) % 10 : (n / 10) % 10 ? '0' : ' ';
wpm_counter[5] = n / 10 ? '0' + n / 10 : ' ';
return wpm_counter;
}

void animation_phase(uint8_t wpm) {
// NOTE: Optimized the conditional. We don't need to recheck each.
Expand Down
5 changes: 3 additions & 2 deletions keyboards/lily58/keymaps/muppetjones/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const char *read_layer_state_user(void) {
return layer_state_str;
}

void oled_task_user(void) {
bool oled_task_user(void) {
if (is_keyboard_master()) {
// If you want to change the display of OLED, you need to change here
oled_write_ln(read_layer_state_user(), false);
Expand All @@ -215,7 +215,8 @@ void oled_task_user(void) {
} else {
render_bongo_cat();
oled_set_cursor(0, 6);
oled_write(wpm_state(), false);
oled_write_P(WPM: " false);
oled_write(get_u8_str(get_current_wpm(), ' '), false);
}
}
#endif // OLED_DRIVER_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion keyboards/lily58/keymaps/muppetjones/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OLED_DRIVER_ENABLE= yes # OLED display
OLED_ENABLE= yes # OLED display
WPM_ENABLE = yes
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = yes
Expand Down
12 changes: 12 additions & 0 deletions keyboards/planck/keymaps/muppetjones/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/* Copyright 2020 Stephen Bush <muppetjones>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#pragma once

#ifdef AUDIO_ENABLE
Expand Down