parent
c56dc9c0bb
commit
c6ff10a257
|
@ -175,7 +175,7 @@ static const keycodedescType PROGMEM keyselection[] = {
|
||||||
{"Break", KC_PAUS},
|
{"Break", KC_PAUS},
|
||||||
{"C-A-D", KC_CAD}, // Ctrl-Alt-Del
|
{"C-A-D", KC_CAD}, // Ctrl-Alt-Del
|
||||||
{"AltF4", KC_AF4},
|
{"AltF4", KC_AF4},
|
||||||
{"QK_BOOT", QK_BOOT}, // firmware flash mode
|
{"RESET", QK_BOOT}, // firmware flash mode
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_KEYSELECTION sizeof(keyselection)/sizeof(keyselection[0])
|
#define MAX_KEYSELECTION sizeof(keyselection)/sizeof(keyselection[0])
|
||||||
|
|
|
@ -18,7 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// DEFINE MACROS
|
// DEFINE MACROS
|
||||||
|
#ifndef ARRAYSIZE
|
||||||
#define ARRAYSIZE(arr) sizeof(arr)/sizeof(arr[0])
|
#define ARRAYSIZE(arr) sizeof(arr)/sizeof(arr[0])
|
||||||
|
#endif // !ARRAYSIZE
|
||||||
|
|
||||||
|
|
||||||
// LAYERS
|
// LAYERS
|
||||||
|
|
Loading…
Reference in New Issue