Skip to content

Commit 67adc29

Browse files
fauxparkdrashna
authored andcommitted
Remove empty fn_actions[]
1 parent d8eace3 commit 67adc29

File tree

175 files changed

+2
-712
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2
-712
lines changed

keyboards/412_64/keymaps/default/keymap.c

-6
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7171

7272
};
7373

74-
75-
const uint16_t PROGMEM fn_actions[] = {
76-
77-
};
78-
79-
8074
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
8175
keyevent_t event = record->event;
8276
(void)event;

keyboards/al1/keymaps/splitbs/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1515
KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_TRNS, KC_RGUI, KC_RCTRL, BL_TOGG, BL_DEC, BL_INC, KC_P0, KC_PDOT ),
1616
};
1717

18-
const uint16_t PROGMEM fn_actions[] = {
19-
20-
};
21-
2218
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
2319
{
2420
// MACRODOWN only works in this function

keyboards/alf/dc60/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
3333
),
3434
};
3535

36-
const uint16_t PROGMEM fn_actions[] = {
37-
38-
};
39-
4036
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
4137
{
4238
// MACRODOWN only works in this function

keyboards/alps64/keymaps/crd/keymap.c

-2
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2828
_______, _______, _______, _______, _______, _______, _______
2929
)
3030
};
31-
32-
const uint16_t PROGMEM fn_actions[] = {};

keyboards/alps64/keymaps/default/keymap.c

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1010
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_APP, KC_RALT, KC_RGUI, KC_RCTL
1111
),
1212
};
13-
const uint16_t PROGMEM fn_actions[] = {};

keyboards/amj96/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
3636
)
3737
};
3838

39-
const uint16_t PROGMEM fn_actions[] = {
40-
41-
};
42-
4339
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
4440
{
4541
// MACRODOWN only works in this function

keyboards/atomic/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
211211
),
212212
};
213213

214-
const uint16_t PROGMEM fn_actions[] = {
215-
216-
};
217-
218214
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
219215
// MACRODOWN only works in this function
220216
switch(id) {

keyboards/atomic/keymaps/michelle.c

-3
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
168168
),
169169
};
170170

171-
const uint16_t PROGMEM fn_actions[] = {
172-
};
173-
174171
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
175172
// MACRODOWN only works in this function
176173
switch(id) {

keyboards/atreus/keymaps/alphadox/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
3131
),
3232
};
3333

34-
const uint16_t PROGMEM fn_actions[] = {
35-
36-
};
37-
3834
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
3935
switch(id) {
4036
case TEENSY:

keyboards/atreus/keymaps/classic/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
3131
),
3232
};
3333

34-
const uint16_t PROGMEM fn_actions[] = {
35-
36-
};
37-
3834
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
3935
{
4036
// MACRODOWN only works in this function

keyboards/atreus/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4343
KC_NO, KC_VOLD, KC_LGUI, KC_LSFT, KC_BSPC, KC_LCTL, KC_LALT, KC_SPC, TO(_QW), KC_PSCR, KC_SLCK, KC_PAUS )
4444
};
4545

46-
const uint16_t PROGMEM fn_actions[] = {
47-
48-
};
49-
5046
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
5147
// MACRODOWN only works in this function
5248
switch(id) {

keyboards/atreus/keymaps/dvorak_42_key/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
6565
),
6666
};
6767

68-
const uint16_t PROGMEM fn_actions[] = {
69-
70-
};
71-
7268
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
7369
if(record->event.pressed) {
7470
switch (keycode) {

keyboards/atreus/keymaps/gerb/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4646
),
4747
};
4848

49-
const uint16_t PROGMEM fn_actions[] = {
50-
51-
};
52-
5349
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
5450
// MACRODOWN only works in this function
5551
switch(id) {

keyboards/atreus/keymaps/jeremy/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5555
),
5656
};
5757

58-
const uint16_t PROGMEM fn_actions[] = {
59-
60-
};
61-
6258
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
6359
switch(id) {}
6460

keyboards/atreus/keymaps/nojjan/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4141
KC_NO, KC_VOLD, KC_LGUI, KC_LSFT, KC_BSPC, KC_LCTL, KC_LALT, KC_SPC, TO(_QW), KC_PSCR, KC_SLCK, KC_PAUS )
4242
};
4343

44-
const uint16_t PROGMEM fn_actions[] = {
45-
46-
};
47-
4844
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
4945
{
5046
// MACRODOWN only works in this function

keyboards/atreus/keymaps/xyverz/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
163163
),
164164
};
165165

166-
const uint16_t PROGMEM fn_actions[] = {
167-
168-
};
169-
170166
void persistent_default_layer_set(uint16_t default_layer) {
171167
eeconfig_update_default_layer(default_layer);
172168
default_layer_set(default_layer);

keyboards/atreus62/keymaps/default/keymap.c

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4747
*/
4848
};
4949

50-
51-
52-
const uint16_t PROGMEM fn_actions[] = {
53-
54-
};
55-
5650
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
5751
// MACRODOWN only works in this function
5852
switch (id) {

keyboards/atreus62/keymaps/mfluid/keymap.c

-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
3838
)
3939
};
4040

41-
42-
43-
const uint16_t PROGMEM fn_actions[] = {
44-
45-
};
46-
4741
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
4842
// MACRODOWN only works in this function
4943
switch (id) {

keyboards/atreus62/keymaps/mneme/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ static void m_handle_kf (keyrecord_t *record, uint8_t id) {
171171
}
172172
}
173173

174-
const uint16_t PROGMEM fn_actions[] = {
175-
};
176-
177174
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
178175
{
179176
switch (id) {

keyboards/atreus62/keymaps/pcewing/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7676
*/
7777
};
7878

79-
const uint16_t PROGMEM fn_actions[] = {
80-
81-
};
82-
8379
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
8480
{
8581
// MACRODOWN only works in this function

keyboards/atreus62/keymaps/xyverz/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ void matrix_init_user(void) {
137137
#endif
138138
};
139139

140-
const uint16_t PROGMEM fn_actions[] = {
141-
};
142-
143140
void persistent_default_layer_set(uint16_t default_layer) {
144141
eeconfig_update_default_layer(default_layer);
145142
default_layer_set(default_layer);

keyboards/bantam44/keymaps/default/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2424
)
2525
};
2626

27-
const uint16_t PROGMEM fn_actions[] = {
28-
};
29-
3027
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) // MACRODOWN only works in this function
3128
{
3229
return MACRO_NONE;

keyboards/bpiphany/kitten_paw/keymaps/default/keymap.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1414
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP,KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT, KC_P0,KC_PDOT)
1515
};
1616

17-
const uint16_t PROGMEM fn_actions[] = {
18-
19-
};
20-
2117
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
2218
{
2319
// MACRODOWN only works in this function
@@ -48,4 +44,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
4844

4945
void led_set_user(uint8_t usb_led) {
5046

51-
}
47+
}

keyboards/bpiphany/unloved_bastard/keymaps/default/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2525
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT )
2626
};
2727

28-
29-
const uint16_t PROGMEM fn_actions[] = {
30-
31-
};
32-
3328
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
3429
{
3530
// MACRODOWN only works in this function

keyboards/bpiphany/unloved_bastard/keymaps/default_ansi/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2525
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT )
2626
};
2727

28-
29-
const uint16_t PROGMEM fn_actions[] = {
30-
31-
};
32-
3328
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
3429
{
3530
// MACRODOWN only works in this function

keyboards/catch22/keymaps/default/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2222
),
2323
};
2424

25-
const uint16_t PROGMEM fn_actions[] = {
26-
};
27-
2825
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) // MACRODOWN only works in this function
2926
{
3027
return MACRO_NONE;

keyboards/chibios_test/keymaps/default/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2020
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2121
{{KC_CAPS}}, // test with KC_CAPS, KC_A, RESET
2222
};
23-
24-
const uint16_t fn_actions[] = {
25-
};

keyboards/chimera_ergo/keymaps/default/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
9292

9393
};
9494

95-
96-
const uint16_t PROGMEM fn_actions[] = {
97-
98-
};
99-
10095
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
10196
{
10297
switch(id) {

keyboards/chimera_ortho/keymaps/gordon/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
301301

302302
};
303303

304-
305-
const uint16_t PROGMEM fn_actions[] = {
306-
307-
};
308-
309304
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
310305
{
311306
switch(id) {

keyboards/ckeys/nakey/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2525
),
2626
};
2727

28-
const uint16_t PROGMEM fn_actions[] = {
29-
30-
};
31-
3228
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
3329
// MACRODOWN only works in this function
3430
switch(id) {

keyboards/clueboard/17/keymaps/default/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5555
/*enum function_id {
5656
};*/
5757

58-
const uint16_t PROGMEM fn_actions[] = {
59-
};
60-
6158
void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
6259
switch (id) {
6360
}

keyboards/cod67/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2626

2727
};
2828

29-
const uint16_t PROGMEM fn_actions[] = {
30-
31-
};
32-
3329
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
3430
{
3531
// MACRODOWN only works in this function

keyboards/daisy/keymaps/default/keymap.c

-4
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7070

7171
};
7272

73-
const uint16_t PROGMEM fn_actions[] = {
74-
75-
};
76-
7773
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
7874
switch (keycode) {
7975
case LOWER:

keyboards/dichotomy/keymaps/default/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
8787

8888
};
8989

90-
91-
const uint16_t PROGMEM fn_actions[] = {
92-
93-
};
94-
9590
static uint16_t special_timers[LONGPRESS_COUNT] = {0xFFFF,0xFFFF,0xFFFF,0xFFFF};
9691
static bool special_key_states[LONGPRESS_COUNT] = {0,0,0,0};
9792
static bool special_key_pressed[LONGPRESS_COUNT] = {0,0,0,0};

keyboards/duck/lightsaver/keymaps/rasmus/keymap.c

-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
9191

9292
};
9393

94-
const uint16_t PROGMEM fn_actions[] = {
95-
};
96-
9794
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
9895
switch(id) {
9996
case SHRG:

keyboards/ergodox_ez/keymaps/matrixman/keymap.c

-5
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
162162
),
163163
};
164164

165-
const uint16_t PROGMEM fn_actions[] = {
166-
// [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Tap/Toggle Layer 1 (Symbols)
167-
// [2] = ACTION_LAYER_TAP_TOGGLE(NAV) // FN2 - Tap/Toggle Layer 2 (Nav)
168-
};
169-
170165
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
171166
{
172167
// MACRODOWN only works in this function

0 commit comments

Comments
 (0)