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

Adding bm60ec rgb #12852

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
741a199
initial checkin
umbacos Oct 4, 2020
83b8a4c
initial commit
umbacos Oct 4, 2020
3baedf9
added makefiles
umbacos Oct 4, 2020
ac2aba1
sa
umbacos Oct 16, 2020
ecf327d
refresh
umbacos Dec 23, 2020
a477049
Create mail
umbacos Oct 21, 2020
91533ea
Delete mail
umbacos Oct 21, 2020
8bd3d4c
spi
umbacos Dec 28, 2020
652816b
bm43a updated
umbacos Dec 29, 2020
c0e46d2
added rama m65
umbacos Feb 27, 2021
d80994f
update m65b
umbacos Mar 4, 2021
4895b8e
added bm60ec rgb
umbacos May 8, 2021
9c4f42b
changed name to the directory
umbacos May 9, 2021
28f9664
fixed directories
umbacos May 9, 2021
d64e915
added readme.md
umbacos May 9, 2021
2aa3a87
rebaselined qmk
umbacos May 12, 2021
391e36a
dz60
umbacos May 14, 2021
bb439e4
okok
umbacos May 25, 2021
b6c0393
ok
umbacos Jun 12, 2021
06bb570
fixed encoders
umbacos Jun 14, 2021
9369df0
ok
umbacos Jun 15, 2021
71d8483
ok
umbacos Jun 16, 2021
9e34daa
ok
umbacos Jun 16, 2021
1f4c306
update
umbacos Jun 30, 2021
a03aea3
ok
umbacos Jul 6, 2021
0d4413d
win_mac
umbacos Jul 19, 2021
8cd49f9
abba
umbacos Jul 31, 2021
4694eae
new keymap
umbacos Aug 15, 2021
0dc2bdb
[Keyboard] Add Waka60 keyboard (#15173)
kylemccreery Dec 11, 2021
fb93869
[Keyboard] add Radialex (#14949)
takashicompany Dec 11, 2021
0aa59ee
[Keyboard] Add ginkgo65hot (#15404)
Runheme Dec 11, 2021
9294258
[Keyboard] Add KPrepublic BM60hsrgb/rev2 (#15177)
peepeetee Dec 11, 2021
711a608
bugfix (I don't know what's changed yet but something changed) (#15455)
peepeetee Dec 11, 2021
ae34dde
[Keyboard] Add XS60 (#15248)
Xelus22 Dec 11, 2021
d566c7c
a
umbacos Dec 11, 2021
67920f6
Merge branch 'master' of https://github.com/umbacos/qmk_firmware
umbacos Dec 11, 2021
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
fixed encoders
  • Loading branch information
umbacos committed Dec 10, 2021
commit 06bb570f3e65189d9977426b5fc3d6322c03d314
4 changes: 2 additions & 2 deletions keyboards/bm60ec_rgb/bm60ec_rgb.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include "quantum.h"
//#include "via.h" // only for EEPROM address

void encoder_update_user(uint8_t index, bool clockwise);
void encoder_update_kb(uint8_t index, bool clockwise);
bool encoder_update_user(uint8_t index, bool clockwise);
bool encoder_update_kb(uint8_t index, bool clockwise);

#define LAYOUT( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K21, \
Expand Down
17 changes: 9 additions & 8 deletions keyboards/bm60ec_rgb/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

};

void encoder_update_kb(uint8_t index, bool clockwise) {
encoder_update_user(index, clockwise);
bool encoder_update_kb(uint8_t index, bool clockwise) {
return encoder_update_user(index, clockwise);
}

void encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
return true;
}
17 changes: 9 additions & 8 deletions keyboards/bm60ec_rgb/keymaps/umbacos/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};

void encoder_update_kb(uint8_t index, bool clockwise) {
encoder_update_user(index, clockwise);
bool encoder_update_kb(uint8_t index, bool clockwise) {
return encoder_update_user(index, clockwise);
}

void encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
return true;
}
15 changes: 8 additions & 7 deletions keyboards/bm60ec_rgb/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};

void encoder_update_kb(uint8_t index, bool clockwise) {
bool encoder_update_kb(uint8_t index, bool clockwise) {
encoder_update_user(index, clockwise);
}

void encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
}
return true;
}