Skip to content

Commit c04b6be

Browse files
committed
Fix: Use action_t in keymap files
1 parent e5cb846 commit c04b6be

Some content is hidden

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

75 files changed

+84
-83
lines changed

converter/adb_usb/keymap_ansi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1212
),
1313
};
1414

15-
const uint16_t PROGMEM fn_actions[] = {
15+
const action_t PROGMEM fn_actions[] = {
1616
};

converter/adb_usb/keymap_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3030

3131

3232
extern const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
33-
extern const uint16_t fn_actions[];
33+
extern const action_t fn_actions[];
3434

3535

3636
/* Common layout: ANSI+ISO

converter/adb_usb/keymap_hasu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5353
),
5454
};
5555

56-
const uint16_t PROGMEM fn_actions[] = {
56+
const action_t PROGMEM fn_actions[] = {
5757
[0] = ACTION_LAYER_TAP_KEY(1, KC_BSLS),
5858
};

converter/adb_usb/keymap_iso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1212
),
1313
};
1414

15-
const uint16_t PROGMEM fn_actions[] = {
15+
const action_t PROGMEM fn_actions[] = {
1616
};

converter/ibm4704_usb/keymap_50key.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
1111
),
1212
};
1313

14-
const uint16_t PROGMEM fn_actions[] = {
14+
const action_t PROGMEM fn_actions[] = {
1515
};
1616

1717

converter/ibm4704_usb/keymap_alps102key.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4545
),
4646
};
4747

48-
const uint16_t PROGMEM fn_actions[] = {
48+
const action_t PROGMEM fn_actions[] = {
4949
[0] = ACTION_LAYER_MOMENTARY(1),
5050
};

converter/ibm4704_usb/keymap_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3131

3232
// 32*8(256) byte array which converts PS/2 code into USB code
3333
extern const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
34-
extern const uint16_t fn_actions[];
34+
extern const action_t fn_actions[];
3535

3636

3737
/* 107-key */

converter/ibm4704_usb/keymap_hasu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ enum macro_id {
6060
ALT_TAB,
6161
};
6262

63-
const uint16_t PROGMEM fn_actions[] = {
63+
const action_t PROGMEM fn_actions[] = {
6464
[0] = ACTION_LAYER_MOMENTARY(1),
6565
[1] = ACTION_LAYER_TAP_KEY(2, KC_SCLN),
6666
[2] = ACTION_LAYER_TAP_KEY(3, KC_SLASH),

converter/ibm4704_usb/keymap_plain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4545
),
4646
};
4747

48-
const uint16_t PROGMEM fn_actions[] = {
48+
const action_t PROGMEM fn_actions[] = {
4949
[0] = ACTION_LAYER_MOMENTARY(1),
5050
};

converter/m0110_usb/keymap_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2121

2222

2323
extern const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
24-
extern const uint16_t fn_actions[];
24+
extern const action_t fn_actions[];
2525

2626

2727
/* Common layout for M0110 and M0110A

0 commit comments

Comments
 (0)