Browse Source

wip

refactor_process_record_kb_user
skullY 4 years ago
parent
commit
c4aa18363e
144 changed files with 66 additions and 928 deletions
  1. +0
    -7
      keyboards/1upkeyboards/1up60hse/1up60hse.c
  2. +0
    -7
      keyboards/1upkeyboards/super16/super16.c
  3. +0
    -7
      keyboards/40percentclub/25/25.c
  4. +0
    -7
      keyboards/40percentclub/4pack/4pack.c
  5. +0
    -7
      keyboards/40percentclub/4x4/4x4.c
  6. +0
    -7
      keyboards/40percentclub/5x5/5x5.c
  7. +0
    -7
      keyboards/40percentclub/6lit/6lit.c
  8. +0
    -7
      keyboards/40percentclub/foobar/foobar.c
  9. +0
    -7
      keyboards/40percentclub/half_n_half/half_n_half.c
  10. +0
    -7
      keyboards/40percentclub/i75/i75.c
  11. +0
    -7
      keyboards/40percentclub/nori/nori.c
  12. +20
    -15
      keyboards/40percentclub/ut47/ut47.c
  13. +1
    -8
      keyboards/abstract/ellipse/rev1/rev1.c
  14. +0
    -7
      keyboards/acheron/shark/shark.c
  15. +0
    -7
      keyboards/ai03/orbit/orbit.c
  16. +0
    -7
      keyboards/ai03/quasar/quasar.c
  17. +0
    -7
      keyboards/ai03/soyuz/soyuz.c
  18. +0
    -7
      keyboards/akb/eb46/eb46.c
  19. +0
    -4
      keyboards/al1/al1.c
  20. +0
    -7
      keyboards/alf/dc60/dc60.c
  21. +0
    -7
      keyboards/alf/x11/x11.c
  22. +0
    -7
      keyboards/alu84/alu84.c
  23. +0
    -7
      keyboards/amj96/amj96.c
  24. +0
    -7
      keyboards/amjkeyboard/amj66/amj66.c
  25. +0
    -7
      keyboards/angel17/alpha/alpha.c
  26. +0
    -7
      keyboards/angel17/rev1/rev1.c
  27. +0
    -7
      keyboards/angel64/alpha/alpha.c
  28. +0
    -7
      keyboards/angel64/rev1/rev1.c
  29. +0
    -7
      keyboards/baguette/baguette.c
  30. +0
    -7
      keyboards/bm16a/bm16a.c
  31. +0
    -7
      keyboards/bm43a/bm43a.c
  32. +0
    -7
      keyboards/bm60rgb/bm60rgb.c
  33. +0
    -5
      keyboards/boston_meetup/2019/2019.c
  34. +1
    -8
      keyboards/bpiphany/frosty_flake/frosty_flake.c
  35. +0
    -7
      keyboards/bpiphany/kitten_paw/kitten_paw.c
  36. +1
    -8
      keyboards/bpiphany/tiger_lily/tiger_lily.c
  37. +0
    -6
      keyboards/bpiphany/unloved_bastard/unloved_bastard.c
  38. +0
    -7
      keyboards/bthlabs/geekpad/geekpad.c
  39. +0
    -7
      keyboards/business_card/alpha/alpha.c
  40. +0
    -7
      keyboards/business_card/beta/beta.c
  41. +0
    -7
      keyboards/business_card/business_card.c
  42. +0
    -6
      keyboards/butterstick/butterstick.c
  43. +7
    -2
      keyboards/cannonkeys/satisfaction75/satisfaction75.c
  44. +6
    -1
      keyboards/cannonkeys/stm32f072/keyboard.c
  45. +0
    -7
      keyboards/choco60/choco60.c
  46. +0
    -6
      keyboards/ckeys/handwire_101/handwire_101.c
  47. +0
    -7
      keyboards/ckeys/nakey/nakey.c
  48. +0
    -6
      keyboards/ckeys/obelus/obelus.c
  49. +0
    -6
      keyboards/ckeys/thedora/thedora.c
  50. +7
    -2
      keyboards/claw44/claw44.c
  51. +0
    -4
      keyboards/clueboard/2x1800/2x1800.c
  52. +0
    -7
      keyboards/clueboard/card/card.c
  53. +0
    -7
      keyboards/cocoa40/cocoa40.c
  54. +0
    -7
      keyboards/converter/modelm101/modelm101.c
  55. +0
    -7
      keyboards/converter/numeric_keypad_IIe/numeric_keypad_IIe.c
  56. +0
    -7
      keyboards/converter/siemens_tastatur/siemens_tastatur.c
  57. +7
    -2
      keyboards/crkbd/crkbd.c
  58. +6
    -1
      keyboards/cu75/cu75.c
  59. +0
    -4
      keyboards/cutie_club/wraith/wraith.c
  60. +0
    -7
      keyboards/dc01/arrow/arrow.c
  61. +0
    -7
      keyboards/dc01/left/left.c
  62. +0
    -7
      keyboards/dc01/numpad/numpad.c
  63. +0
    -7
      keyboards/dc01/right/right.c
  64. +0
    -7
      keyboards/donutcables/scrabblepad/scrabblepad.c
  65. +0
    -7
      keyboards/doro67/multi/multi.c
  66. +0
    -7
      keyboards/doro67/regular/regular.c
  67. +0
    -7
      keyboards/doro67/rgb/rgb.c
  68. +0
    -7
      keyboards/dozen0/dozen0.c
  69. +0
    -4
      keyboards/dp60/dp60.c
  70. +0
    -4
      keyboards/duck/eagle_viper/v2/v2.c
  71. +0
    -9
      keyboards/duck/jetfire/jetfire.c
  72. +0
    -4
      keyboards/duck/lightsaver/lightsaver.c
  73. +0
    -4
      keyboards/duck/octagon/v1/v1.c
  74. +0
    -4
      keyboards/duck/octagon/v2/v2.c
  75. +0
    -4
      keyboards/duck/orion/v3/v3.c
  76. +0
    -7
      keyboards/dumbpad/dumbpad.c
  77. +0
    -7
      keyboards/efreet/efreet.c
  78. +0
    -7
      keyboards/ep/40/40.c
  79. +0
    -7
      keyboards/ep/96/96.c
  80. +0
    -7
      keyboards/ep/comsn/hs68/hs68.c
  81. +0
    -7
      keyboards/ep/comsn/mollydooker/mollydooker.c
  82. +0
    -7
      keyboards/ep/comsn/tf_longeboye/tf__longeboye.c
  83. +6
    -1
      keyboards/ergodox_ez/ergodox_ez.c
  84. +0
    -7
      keyboards/espectro/espectro.c
  85. +0
    -7
      keyboards/evil80/evil80.c
  86. +0
    -7
      keyboards/exclusive/e6v2/le/le.c
  87. +0
    -7
      keyboards/exclusive/e6v2/oe/oe.c
  88. +0
    -4
      keyboards/exclusive/e7v1/e7v1.c
  89. +0
    -7
      keyboards/exclusive/e7v1se/e7v1se.c
  90. +0
    -7
      keyboards/fc660c/fc660c.c
  91. +0
    -7
      keyboards/fc980c/fc980c.c
  92. +0
    -7
      keyboards/fleuron/fleuron.c
  93. +0
    -7
      keyboards/flx/virgo/virgo.c
  94. +0
    -7
      keyboards/foxlab/leaf60/hotswap/hotswap.c
  95. +0
    -7
      keyboards/foxlab/leaf60/universal/universal.c
  96. +0
    -4
      keyboards/geekboards/tester/tester.c
  97. +0
    -7
      keyboards/gray_studio/cod67/cod67.c
  98. +0
    -7
      keyboards/gray_studio/space65/space65.c
  99. +0
    -7
      keyboards/gray_studio/think65/hotswap/hotswap.c
  100. +0
    -7
      keyboards/gray_studio/think65/solder/solder.c

+ 0
- 7
keyboards/1upkeyboards/1up60hse/1up60hse.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/1upkeyboards/super16/super16.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/25/25.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/4pack/4pack.c View File

@ -38,13 +38,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/4x4/4x4.c View File

@ -15,13 +15,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/5x5/5x5.c View File

@ -15,13 +15,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/6lit/6lit.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/foobar/foobar.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/half_n_half/half_n_half.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/i75/i75.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/40percentclub/nori/nori.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 20
- 15
keyboards/40percentclub/ut47/ut47.c View File

@ -15,32 +15,37 @@
*/
#include "ut47.h"
#ifdef LED_ENABLE
#include "protocol/serial.h"
#include "protocol/serial.h"
#endif
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
matrix_init_user();
}
void matrix_scan_kb(void) {
// put your looping keyboard code here
// runs every cycle (a lot)
// put your looping keyboard code here
// runs every cycle (a lot)
matrix_scan_user();
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
if (record->event.pressed) {
#ifdef LED_ENABLE
serial_send((record->event.key.row*16)+record->event.key.col);
#endif
}
return process_record_user(keycode, record);
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
if (record->event.pressed) {
#ifdef LED_ENABLE
serial_send((record->event.key.row*16)+record->event.key.col);
#endif
}
return true;
}
void led_set_kb(uint8_t usb_led) {


+ 1
- 8
keyboards/abstract/ellipse/rev1/rev1.c View File

@ -29,15 +29,8 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}*/
}*/

+ 0
- 7
keyboards/acheron/shark/shark.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ai03/orbit/orbit.c View File

@ -179,13 +179,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ai03/quasar/quasar.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ai03/soyuz/soyuz.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/akb/eb46/eb46.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 4
keyboards/al1/al1.c View File

@ -15,10 +15,6 @@
*/
#include "al1.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
CONFIG_LED_IO;
print_dec(usb_led);


+ 0
- 7
keyboards/alf/dc60/dc60.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
DDRB |= (1 << 7);


+ 0
- 7
keyboards/alf/x11/x11.c View File

@ -32,13 +32,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/alu84/alu84.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/amj96/amj96.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/amjkeyboard/amj66/amj66.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/angel17/alpha/alpha.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/angel17/rev1/rev1.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/angel64/alpha/alpha.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/angel64/rev1/rev1.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/baguette/baguette.c View File

@ -57,13 +57,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/bm16a/bm16a.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/bm43a/bm43a.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/bm60rgb/bm60rgb.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 5
keyboards/boston_meetup/2019/2019.c View File

@ -177,11 +177,6 @@ uint32_t layer_state_set_kb(uint32_t state) {
return state;
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
queue_for_send = true;
return process_record_user(keycode, record);
}
void encoder_update_kb(uint8_t index, bool clockwise) {
encoder_value = (encoder_value + (clockwise ? 1 : -1)) % 64;
queue_for_send = true;


+ 1
- 8
keyboards/bpiphany/frosty_flake/frosty_flake.c View File

@ -14,13 +14,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
DDRB |= (1<<7);
DDRC |= (1<<5) | (1<<6);
@ -60,4 +53,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
__attribute__ ((weak))
void led_set_user(uint8_t usb_led) {
}
}

+ 0
- 7
keyboards/bpiphany/kitten_paw/kitten_paw.c View File

@ -22,13 +22,6 @@ __attribute__ ((weak))
void matrix_scan_user(void) {
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
CONFIG_LED_IO;


+ 1
- 8
keyboards/bpiphany/tiger_lily/tiger_lily.c View File

@ -14,13 +14,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
DDRB |= (1<<7);
DDRC |= (1<<5) | (1<<6);
@ -60,4 +53,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
__attribute__ ((weak))
void led_set_user(uint8_t usb_led) {
}
}

+ 0
- 6
keyboards/bpiphany/unloved_bastard/unloved_bastard.c View File

@ -29,12 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
// C5 left
// C6 middle led
// B7 right led


+ 0
- 7
keyboards/bthlabs/geekpad/geekpad.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/business_card/alpha/alpha.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/business_card/beta/beta.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/business_card/business_card.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 6
keyboards/butterstick/butterstick.c View File

@ -40,12 +40,6 @@ void matrix_scan_kb(void) {
}
/*
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 7
- 2
keyboards/cannonkeys/satisfaction75/satisfaction75.c View File

@ -247,6 +247,11 @@ uint32_t layer_state_set_kb(uint32_t state) {
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
queue_for_send = true;
switch (keycode) {
case OLED_TOGG:
@ -291,7 +296,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
break;
}
return process_record_user(keycode, record);
return true;
}
@ -446,4 +451,4 @@ void via_eeprom_reset(void)
eeconfig_disable();
}
#endif // VIA_ENABLE
#endif // VIA_ENABLE

+ 6
- 1
keyboards/cannonkeys/stm32f072/keyboard.c View File

@ -78,6 +78,11 @@ void matrix_scan_kb(void)
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
switch (keycode) {
case BL_INC:
if (record->event.pressed) {
@ -123,7 +128,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
break;
}
return process_record_user(keycode, record);;
return true;
}
#ifdef VIA_ENABLE


+ 0
- 7
keyboards/choco60/choco60.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 6
keyboards/ckeys/handwire_101/handwire_101.c View File

@ -16,12 +16,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);


+ 0
- 7
keyboards/ckeys/nakey/nakey.c View File

@ -28,13 +28,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 6
keyboards/ckeys/obelus/obelus.c View File

@ -16,12 +16,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);


+ 0
- 6
keyboards/ckeys/thedora/thedora.c View File

@ -16,12 +16,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);


+ 7
- 2
keyboards/claw44/claw44.c View File

@ -2,9 +2,14 @@
#include "ssd1306.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
#ifdef SSD1306OLED
return process_record_gfx(keycode,record) && process_record_user(keycode, record);
return process_record_gfx(keycode,record);
#else
return process_record_user(keycode, record);
return true;
#endif
}

+ 0
- 4
keyboards/clueboard/2x1800/2x1800.c View File

@ -29,10 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// Toggle numlock as needed
if (usb_led & (1<<USB_LED_NUM_LOCK)) {


+ 0
- 7
keyboards/clueboard/card/card.c View File

@ -17,13 +17,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/cocoa40/cocoa40.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/converter/modelm101/modelm101.c View File

@ -39,13 +39,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* put your per-action keyboard code here
* runs for every action, just before processing by the firmware */
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_NUM_LOCK)) {
writePinLow(B4);


+ 0
- 7
keyboards/converter/numeric_keypad_IIe/numeric_keypad_IIe.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/converter/siemens_tastatur/siemens_tastatur.c View File

@ -30,13 +30,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 7
- 2
keyboards/crkbd/crkbd.c View File

@ -1,9 +1,14 @@
#include "crkbd.h"
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
#ifdef SSD1306OLED
return process_record_gfx(keycode,record) && process_record_user(keycode, record);
return process_record_gfx(keycode,record);
#else
return process_record_user(keycode, record);
return true;
#endif
}

+ 6
- 1
keyboards/cu75/cu75.c View File

@ -86,6 +86,11 @@ void click(uint16_t freq, uint16_t duration){
bool process_record_kb(uint16_t keycode, keyrecord_t* record)
{
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
// Test code that turns on the switch led for the key that is pressed
// set_backlight_by_keymap(record->event.key.col, record->event.key.row);
if (click_toggle && record->event.pressed){
@ -95,7 +100,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
reset_keyboard_kb();
} else {
}
return process_record_user(keycode, record);
return true;
}
void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)


+ 0
- 4
keyboards/cutie_club/wraith/wraith.c View File

@ -29,10 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinLow(B3);


+ 0
- 7
keyboards/dc01/arrow/arrow.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/dc01/left/left.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/dc01/numpad/numpad.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/dc01/right/right.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/donutcables/scrabblepad/scrabblepad.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/doro67/multi/multi.c View File

@ -30,13 +30,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/doro67/regular/regular.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {


+ 0
- 7
keyboards/doro67/rgb/rgb.c View File

@ -36,13 +36,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {


+ 0
- 7
keyboards/dozen0/dozen0.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 4
keyboards/dp60/dp60.c View File

@ -161,11 +161,7 @@ webusb_pos_t webusb_keymap[] = {
};
#endif
#ifndef RAW_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
#else
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#endif
if (record->event.pressed) {
switch(keycode) {
#ifdef RGBLIGHT_ENABLE


+ 0
- 4
keyboards/duck/eagle_viper/v2/v2.c View File

@ -59,7 +59,3 @@ void led_set_kb(uint8_t usb_led) {
indicator_leds_set(status);
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}

+ 0
- 9
keyboards/duck/jetfire/jetfire.c View File

@ -122,15 +122,6 @@ void backlight_set(uint8_t level)
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void backlight_update_state()
{
cli();


+ 0
- 4
keyboards/duck/lightsaver/lightsaver.c View File

@ -54,7 +54,3 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}

+ 0
- 4
keyboards/duck/octagon/v1/v1.c View File

@ -44,7 +44,3 @@ void led_set_kb(uint8_t usb_led) {
backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001);
backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000);
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}

+ 0
- 4
keyboards/duck/octagon/v2/v2.c View File

@ -111,7 +111,3 @@ void led_set_kb(uint8_t usb_led) {
backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001);
backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000);
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}

+ 0
- 4
keyboards/duck/orion/v3/v3.c View File

@ -37,7 +37,3 @@ bool led_update_kb(led_t led_state) {
}
return true;
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}

+ 0
- 7
keyboards/dumbpad/dumbpad.c View File

@ -69,13 +69,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/efreet/efreet.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ep/40/40.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ep/96/96.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ep/comsn/hs68/hs68.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ep/comsn/mollydooker/mollydooker.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/ep/comsn/tf_longeboye/tf__longeboye.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 6
- 1
keyboards/ergodox_ez/ergodox_ez.c View File

@ -337,6 +337,11 @@ void keyboard_post_init_kb(void) {
#ifdef ORYX_CONFIGURATOR
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
/* FIXME(skullydazed):
* Originally this code always ran no matter what process_record_user() did.
* With this PR it will only run if process_record_user() returns true. We
* should think through the implications here.
*/
switch (keycode) {
case LED_LEVEL:
if (record->event.pressed) {
@ -378,7 +383,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return false;
#endif
}
return process_record_user(keycode, record);
return true;
}
#endif


+ 0
- 7
keyboards/espectro/espectro.c View File

@ -26,13 +26,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/evil80/evil80.c View File

@ -13,13 +13,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_init_ports(void) {
DDRB |= (1<<6) | (1<<7); // OUT
}


+ 0
- 7
keyboards/exclusive/e6v2/le/le.c View File

@ -14,13 +14,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_user(uint8_t usb_led) {
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
DDRB |= (1 << 7);


+ 0
- 7
keyboards/exclusive/e6v2/oe/oe.c View File

@ -14,13 +14,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
DDRB |= (1<<6);


+ 0
- 4
keyboards/exclusive/e7v1/e7v1.c View File

@ -9,10 +9,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
writePinHigh(F0);


+ 0
- 7
keyboards/exclusive/e7v1se/e7v1se.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
bool led_update_kb(led_t led_state) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/fc660c/fc660c.c View File

@ -38,13 +38,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
PORTB &= ~(1<<6);


+ 0
- 7
keyboards/fc980c/fc980c.c View File

@ -39,13 +39,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_NUM_LOCK)) {
PORTB |= (1<<4);


+ 0
- 7
keyboards/fleuron/fleuron.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/flx/virgo/virgo.c View File

@ -32,13 +32,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(E6, !led_state.caps_lock);


+ 0
- 7
keyboards/foxlab/leaf60/hotswap/hotswap.c View File

@ -34,13 +34,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/foxlab/leaf60/universal/universal.c View File

@ -35,13 +35,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 4
keyboards/geekboards/tester/tester.c View File

@ -39,10 +39,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);


+ 0
- 7
keyboards/gray_studio/cod67/cod67.c View File

@ -29,13 +29,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/gray_studio/space65/space65.c View File

@ -30,13 +30,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {


+ 0
- 7
keyboards/gray_studio/think65/hotswap/hotswap.c View File

@ -38,13 +38,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here


+ 0
- 7
keyboards/gray_studio/think65/solder/solder.c View File

@ -28,13 +28,6 @@ void matrix_init_kb(void) {
matrix_init_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
return process_record_user(keycode, record);
}
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(C7, !led_state.caps_lock);


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save