Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solartempest merge #1

Merged
merged 176 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
fbd8612
Adding PS17 files
solartempest Sep 9, 2021
9877c6f
Delete firmware location.lnk
solartempest Sep 9, 2021
114fb3a
Delete firmware location.lnk
solartempest Sep 9, 2021
e7aebf7
Add 9e files.
solartempest Sep 9, 2021
b6e351e
Removed extra files
solartempest Sep 9, 2021
74e56b4
Add sofle files.
solartempest Sep 9, 2021
6a2a0f7
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Sep 9, 2021
47bc4a4
Initial commit
solartempest Sep 9, 2021
4dbd6fb
Initial commit, in progress.
solartempest Sep 9, 2021
97f5ecf
Add firmware file.
solartempest Sep 9, 2021
084d22f
Merge branch 'sofle'
solartempest Sep 9, 2021
909427a
Changed RGB enable to noeeprom.
solartempest Sep 9, 2021
1b7d27e
Changed RGB timer to be noeeprom.
solartempest Sep 9, 2021
74543cb
Initial commit.
solartempest Sep 9, 2021
fdd9f66
Merge branch 'ak21'
solartempest Sep 9, 2021
26f6b2a
Add firmware file.
solartempest Sep 9, 2021
919ab68
Merge branch 'ak21'
solartempest Sep 9, 2021
53c2cae
Merge branch 'gmmkpro'
solartempest Sep 11, 2021
0d51da7
Updated for breaking changes and encoder LED animation
solartempest Sep 11, 2021
7a2b640
Merge branch '9e'
solartempest Sep 11, 2021
3585ae6
Restore files.
solartempest Sep 11, 2021
deab6ab
Cleanup files
solartempest Sep 11, 2021
ca6a2c8
Merge branch 'ps17'
solartempest Sep 11, 2021
bdf3e21
Changed debounce to 6.
solartempest Sep 11, 2021
985f25d
Merge branch 'sofle'
solartempest Sep 11, 2021
9c482e9
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Sep 11, 2021
a0c2e8b
Increased combo duration
solartempest Sep 14, 2021
6ab2830
Merge branch 'ps17'
solartempest Sep 14, 2021
3d7d874
Commented out combo code as it is not used
solartempest Sep 14, 2021
1e22fc9
Merge branch 'sofle'
solartempest Sep 14, 2021
00073c9
Added another VIA layer.
solartempest Sep 14, 2021
b6f9c70
Merge branch 'sofle'
solartempest Sep 14, 2021
ea722b9
Updated encoder function and disabled rainbow RGB
solartempest Sep 17, 2021
7175936
Added define for OLED_LOGO in config.h for those looking to save space
solartempest Sep 18, 2021
07b13c2
Merge branch 'sofle'
solartempest Sep 18, 2021
472268e
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Sep 18, 2021
331422f
Custom functions work in progress.
solartempest Sep 27, 2021
b646305
Updated VIA layout.
solartempest Sep 27, 2021
1e61e91
Merge branch '9e'
solartempest Sep 27, 2021
1cd8345
Small file correction.
solartempest Sep 27, 2021
aa9e899
Remove file with issues.
solartempest Sep 27, 2021
f1af31c
Remove file with issues.
solartempest Sep 27, 2021
24349ce
Restore hex file.
solartempest Sep 27, 2021
826618c
Attempt to resolve merge conflict
solartempest Sep 27, 2021
910c5eb
Remove extra file
solartempest Sep 27, 2021
896dc73
Merge branch 'ps17'
solartempest Sep 27, 2021
b461d06
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Oct 28, 2021
26ea834
Merge branch 'master' of https://github.com/qmk/qmk_firmware into sofle
solartempest Oct 28, 2021
80616dc
Add pimoroni trackball support.
solartempest Oct 31, 2021
55cde80
Merge branch 'sofle'
solartempest Oct 31, 2021
dba1037
Simpler fix for trackball rotation issue. Updated readme.
solartempest Oct 31, 2021
5158b33
Merge branch 'sofle'
solartempest Oct 31, 2021
4fbaac9
Adjusted trackball precision.
solartempest Nov 4, 2021
14d65a7
Merge branch 'sofle'
solartempest Nov 4, 2021
806e168
Added rotary encoder LED animation and stretch timer first iteration.
solartempest Nov 5, 2021
6b786ca
Update stretch timer code for max timer limitations.
solartempest Nov 5, 2021
fdce7fc
Merge branch '9e'
solartempest Nov 6, 2021
3041f74
Clean up files
solartempest Nov 6, 2021
5d6ffeb
Merge branch '9e'
solartempest Nov 6, 2021
4db5c32
Updated rotary encoder code with Drashna's improvements. LED status c…
solartempest Nov 7, 2021
e146857
Add firmware file.
solartempest Nov 7, 2021
b384d37
Merge branch '9e'
solartempest Nov 7, 2021
35fd55b
Updated rotary encoder code with Drashna's improvements. Tweaked trac…
solartempest Nov 7, 2021
41da72d
Commit changes.
solartempest Nov 7, 2021
414b4b5
Fix files.
solartempest Nov 7, 2021
48fadc5
Fix files
solartempest Nov 7, 2021
6fe9375
Fix files
solartempest Nov 7, 2021
0ad5610
Fix files
solartempest Nov 7, 2021
0f790d3
Trying to fix commit errors
solartempest Nov 7, 2021
5ffa35c
Restore files
solartempest Nov 7, 2021
b2b9d7d
Attempt to fix files
solartempest Nov 7, 2021
6f39df5
Restoring files
solartempest Nov 7, 2021
45c8e9c
Update for stretch timer
solartempest Nov 7, 2021
117ea0a
Merge branch '9e'
solartempest Nov 7, 2021
ac01152
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Nov 7, 2021
537a318
Merge branch 'master' of https://github.com/qmk/qmk_firmware into 9e
solartempest Nov 7, 2021
e241d80
Merge branch 'master' of https://github.com/qmk/qmk_firmware into ps17
solartempest Nov 7, 2021
905e698
Merge branch 'master' of https://github.com/qmk/qmk_firmware into sofle
solartempest Nov 7, 2021
d9741c9
Merge branch 'master' of https://github.com/qmk/qmk_firmware into gmm…
solartempest Nov 7, 2021
e08817b
Correct encoder index for animation
solartempest Nov 7, 2021
a97aebc
Correct encoder index for animation. Add firmware file.
solartempest Nov 7, 2021
69bd503
Merge branch '9e'
solartempest Nov 7, 2021
956be50
Correct file link (Courtesy of xen). Code cleanup for clarity.
solartempest Nov 8, 2021
8a3d0da
Merge branch 'ps17'
solartempest Nov 8, 2021
ae8f23f
Add trackball click support for mouse buttons and key codes.
solartempest Nov 12, 2021
f119d8b
Merge branch 'sofle'
solartempest Nov 12, 2021
1952283
Add support for haptic feedback.
solartempest Nov 14, 2021
785f8f6
Update readme notes.
solartempest Nov 14, 2021
63155e9
Update readme notes.
solartempest Nov 14, 2021
f75e3eb
Update readme notes.
solartempest Nov 14, 2021
6a719a8
Update readme notes.
solartempest Nov 14, 2021
75f6034
Update readme notes.
solartempest Nov 14, 2021
ea02e0a
Update readme notes.
solartempest Nov 14, 2021
fd95ead
Merge branch 'sofle'
solartempest Nov 14, 2021
2e9de99
Space optimizations, code cleanup, added code comments.
solartempest Nov 25, 2021
e8c9e18
Merge branch 'sofle'
solartempest Nov 25, 2021
93194d4
Add standing timer, update LED code, code optimizations
solartempest Nov 26, 2021
13ed291
Merge branch 'ps17'
solartempest Nov 26, 2021
d66cd5a
Update firmware for standing timer, code optimizations
solartempest Nov 26, 2021
74bb197
Merge branch 'ps17'
solartempest Nov 26, 2021
7490f8b
Improved stretch timer LEDs. Add NKRO.
solartempest Nov 26, 2021
bbb4b67
Merge branch '9e'
solartempest Nov 26, 2021
4c4fa49
Test lower trackball interval
solartempest Nov 26, 2021
5f48cf8
Code cleanup
solartempest Nov 26, 2021
fac769e
Merge branch 'gmmkpro'
solartempest Nov 26, 2021
5fa4232
Merge branch 'sofle'
solartempest Nov 26, 2021
b74a5ca
Fix lock key LED indicators
solartempest Nov 26, 2021
7da2159
Merge branch 'sofle'
solartempest Nov 26, 2021
61ce7a2
Add gaming layer haptic feedback
solartempest Nov 27, 2021
51651e6
Merge branch 'sofle'
solartempest Nov 27, 2021
053ce1e
Added haptic feedback for control key on game layer.
solartempest Nov 28, 2021
be41ec4
Merge branch 'sofle'
solartempest Nov 28, 2021
6d17ddc
Update ignores
solartempest Nov 28, 2021
204a567
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Nov 28, 2021
2170eeb
Merge branch 'master' of https://github.com/qmk/qmk_firmware into sofle
solartempest Nov 28, 2021
96346e5
Updated for breaking changes. Minor code still in progress.
solartempest Nov 29, 2021
bb72963
Add firmware file for breaking changes updates.
solartempest Nov 29, 2021
2b4f48c
Merge branch 'master' of https://github.com/qmk/qmk_firmware into ps17
solartempest Nov 29, 2021
f4899eb
Updated firmware file only for breaking changes. No code changes.
solartempest Nov 29, 2021
e0d4da0
Merge branch 'master' of https://github.com/qmk/qmk_firmware into 9e
solartempest Nov 29, 2021
5d0a402
Update firmware for breaking changes. No code changes.
solartempest Nov 29, 2021
14b57ad
Merge branch 'sofle'
solartempest Nov 29, 2021
7001241
Merge branch 'ps17'
solartempest Nov 29, 2021
d2e5712
Merge branch '9e'
solartempest Nov 29, 2021
2c9db97
Merge branch 'master' of https://github.com/qmk/qmk_firmware into gmm…
solartempest Nov 29, 2021
418c347
Updates after breaking changes. Changed LED timeout and effects defin…
solartempest Nov 29, 2021
53c5cba
Merge branch 'gmmkpro'
solartempest Nov 29, 2021
a70e66c
Optimized layer lighting and updated OLED WPM. Much more space effici…
solartempest Dec 1, 2021
de8fdf0
Merge branch 'sofle'
solartempest Dec 1, 2021
d5ad8ab
Optimize layer lighting code for space saving.
solartempest Dec 1, 2021
5830cd3
Merge branch 'ps17'
solartempest Dec 1, 2021
7b85255
OLED-free version for slise.dc
solartempest Dec 1, 2021
65569fa
Added OLED ifdef
solartempest Dec 1, 2021
df4df51
Add acknowledgements and change NO_PIN.
solartempest Dec 4, 2021
d3e9ae0
Merge branch 'sofle'
solartempest Dec 4, 2021
aec6fe6
Add option for no OLED on master.
solartempest Dec 11, 2021
a872748
Merge branch 'sofle'
solartempest Dec 11, 2021
217337e
Correct splid oled sync when there is only one
solartempest Dec 12, 2021
636068d
Merge branch 'sofle'
solartempest Dec 12, 2021
c982e62
Added destiny 2 skate macro and timer
solartempest Dec 13, 2021
1d0d913
Merge branch 'sofle'
solartempest Dec 13, 2021
3f0da73
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Dec 13, 2021
7a9b635
Merge branch 'master' of https://github.com/qmk/qmk_firmware into sofle
solartempest Dec 13, 2021
bd69133
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Jan 2, 2022
13fda03
Merge branch 'master' of https://github.com/qmk/qmk_firmware into sofle
solartempest Jan 2, 2022
0468160
Merge branch 'master' of https://github.com/qmk/qmk_firmware into 9e
solartempest Jan 2, 2022
69fce48
Merge branch 'master' of https://github.com/qmk/qmk_firmware into ps17
solartempest Jan 2, 2022
60cf6e2
Adjust layer colours.
solartempest Jan 2, 2022
9fd923d
Adjust layer colours
solartempest Jan 2, 2022
02f2134
Update layer colours
solartempest Jan 2, 2022
8e11eac
Merge branch 'sofle'
solartempest Jan 2, 2022
c1d5dc3
Merge branch '9e'
solartempest Jan 2, 2022
f201559
Merge branch 'ps17'
solartempest Jan 2, 2022
3fb43b6
Increase compatibility with stock OLED code
solartempest Jan 8, 2022
eb3f4cb
Merge branch 'sofle'
solartempest Jan 8, 2022
057526c
Merge branch 'master' of https://github.com/qmk/qmk_firmware into zod…
solartempest Jan 9, 2022
ee6f48c
General updates.
solartempest Jan 11, 2022
63e75e5
Merge branch 'master' of https://github.com/qmk/qmk_firmware
solartempest Jan 14, 2022
fa6fa97
Merge branch 'master' of https://github.com/qmk/qmk_firmware into zod…
solartempest Jan 26, 2022
e33c098
Updated build options
solartempest Jan 26, 2022
2c94084
Added pimoroni trackball support
solartempest Jan 27, 2022
429f878
Added VIA remapping of rotary encoders and custom functions.
solartempest Jan 28, 2022
c05afb4
Added readme and updated VIA layout.
solartempest Jan 28, 2022
e86dbf9
Merge branch 'zodiark_solar'
solartempest Jan 28, 2022
bf5d9de
Update readme
solartempest Jan 28, 2022
bdab62e
Merge branch 'zodiark_solar'
solartempest Jan 28, 2022
3e62b49
Update readme
solartempest Jan 28, 2022
f5c0a7c
Merge branch 'zodiark_solar'
solartempest Jan 28, 2022
83a19dc
Changed product ID as VIA has issue loading layouts with the original…
solartempest Jan 28, 2022
b751e7d
Merge branch 'zodiark_solar'
solartempest Jan 28, 2022
17c4cc8
Fix skate macro. Update VIA game layout.
solartempest Feb 10, 2022
1f8c314
Merge branch 'zodiark_solar'
solartempest Feb 10, 2022
992face
Updated firmware file and various files.
solartempest Apr 13, 2022
30e3688
Removed haptic feedback by default. Functionality still can be enabled.
solartempest Apr 13, 2022
4455037
Merge branch 'sofle'
solartempest Apr 13, 2022
29b3de7
Merge branch 'zodiark_solar'
solartempest Apr 13, 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
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
api_data/v1
doxygen/
quantum/version.h
*.bin
#*.bin
*.eep
*.hex
#*.hex
*.qmk
*.uf2
.lnk

# Old-style QMK Makefiles
/keyboards/*/Makefile
Expand Down
2 changes: 1 addition & 1 deletion keyboards/aleblazer/zodiark/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

/* USB Device descriptor parameter */
#define VENDOR_ID 0xF901
#define PRODUCT_ID 0xF902
//#define PRODUCT_ID 0xF902
#define DEVICE_VER 0x0001
#define MANUFACTURER Aleblazer
#define PRODUCT Zodiark
Expand Down

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions keyboards/aleblazer/zodiark/keymaps/solartempest/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
Copyright 2021 Spencer Deven <splitlogicdesign@gmail.com>
Copyright 2021 solartempest
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 3 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.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#define MASTER_LEFT

#undef PRODUCT_ID
#define PRODUCT_ID 0xFF02 //Original was 0xF902. If the same ID is used, VIA will fail to reload saved layouts.

#undef MATRIX_ROWS
#undef MATRIX_COLS
#undef MATRIX_ROW_PINS
#undef MATRIX_COL_PINS
#undef ENCODER_RESOLUTION
#define MATRIX_ROWS 10
#define MATRIX_COLS 8 //Added extra column for rotary encoder VIA mapping.
#define MATRIX_ROW_PINS { C6, D7, E6, B4, F4 }
#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6, NO_PIN } //A virtual pin is needed for the encoder key matrix in via.
#define ENCODER_RESOLUTION 4 //Reduce encoder double-input issue.

#undef DEBOUNCE
#define DEBOUNCE 6 //Default is 5

// Tapping settings
#define TAP_CODE_DELAY 10
#define TAPPING_TOGGLE 2 //Tap TT twice to toggle layer
#define TAPPING_TERM 160 //Tapping duration in ms

// Disabled to save space
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
#define NO_ACTION_ONESHOT //Save 244 bytes (-244).
#define NO_RESET //Save 40 bytes (-40).
#define LAYER_STATE_8BIT //For less than 8 bits worth of layers.
#undef LOCKING_SUPPORT_ENABLE //For MX lock keys only.
#undef LOCKING_RESYNC_ENABLE //For MX lock keys only.

#ifdef OLED_ENABLE
#define OLED_DISPLAY_128X64
#define OLED_TIMEOUT 80000 //80000 = 80secs, 120000 = 2mins in ms.
#define SPLIT_OLED_ENABLE //Synx on/off OLED state between halves (+100).
#define OLED_LOGO //Enable to print snakey custom logo on slave side (+108).
#endif

#ifdef RGBLIGHT_ENABLE
#undef RGBLIGHT_ANIMATIONS // Very memory intensive (+2604)
#define RGBLIGHT_EFFECT_STATIC_GRADIENT //Preferred RGB effect (+262)
//#define RGBLIGHT_EFFECT_BREATHING //Testing
//#define RGBLIGHT_EFFECT_SNAKE //For testing LED order
#define RGBLIGHT_SLEEP //Turn off LEDs when computer sleeping (+72)
#endif

// Pimoroni trackball settings
#ifdef POINTING_DEVICE_ENABLE
//#define PIMORONI_TRACKBALL_INTERVAL_MS 6 //Default is 8ms
#define POINTING_DEVICE_ROTATION_90
#define PIMORONI_TRACKBALL_INVERT_Y
#define PIMORONI_TRACKBALL_INVERT_X
#endif

#ifdef VIA_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
#endif

#define D2SKATE_MACRO_ENABLE //Enable Destiny 2 hunter skate macro (+224)
48 changes: 48 additions & 0 deletions keyboards/aleblazer/zodiark/keymaps/solartempest/encoder.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Copyright
* 2021 solartempest
* 2021 QMK
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/


#ifdef ENCODER_ENABLE
static uint8_t encoder_state[2] = {0};
static keypos_t encoder_ccw[2] = {{7, 4}, {7, 9}}; //Use these keymap positions to specify the encoder functions on rotate.
static keypos_t encoder_cw[2] = {{7, 3}, {7, 8}};

void encoder_action_unregister(void) {
for (int index = 0; index < 2; ++index) {
if (encoder_state[index]) {
keyevent_t encoder_event = (keyevent_t){.key = encoder_state[index] >> 1 ? encoder_cw[index] : encoder_ccw[index], .pressed = false, .time = (timer_read() | 1)};
encoder_state[index] = 0;
action_exec(encoder_event);
}
}
}

void encoder_action_register(uint8_t index, bool clockwise) {
keyevent_t encoder_event = (keyevent_t){.key = clockwise ? encoder_cw[index] : encoder_ccw[index], .pressed = true, .time = (timer_read() | 1)};
encoder_state[index] = (clockwise ^ 1) | (clockwise << 1);
action_exec(encoder_event);
}

//void matrix_scan_user(void) { encoder_action_unregister(); } //Included in keymap.c instead

bool encoder_update_user(uint8_t index, bool clockwise) {
encoder_action_register(index, clockwise);
return false;
};
#endif

Loading