1
0
tmk_keyboard/keyboard/unquadquadium/actionmap_common.h

50 lines
3.1 KiB
C
Raw Normal View History

2017-09-17 19:59:50 +00:00
/*
Copyright 2015 Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ACTIONMAP_COMMON_H
#define ACTIONMAP_COMMON_H
/* keymap definition macro */
#define ACTIONMAP( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, \
K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, \
K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, \
K70, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, \
K80, K81, K82, K83, K84, K85, K86, K87, K88, K89, K8A, K8B, \
K90, K91, K92, K93, K94, K95, K96, K97, K98, K99, K9A, K9B, \
KA0, KA1, KA2, KA3, KA4, KA5, KA6, KA7, KA8, KA9, KAA, KAB, \
KB0, KB1, KB2, KB3, KB4, KB5, KB6, KB7, KB8, KB9, KBA, KBB \
) { \
2019-04-26 18:29:03 +00:00
{ AC_##K00, AC_##K01, AC_##K02, AC_##K03, AC_##K04, AC_##K05, AC_##K06, AC_##K07, AC_##K08, AC_##K09, AC_##K0A, AC_##K0B }, \
{ AC_##K10, AC_##K11, AC_##K12, AC_##K13, AC_##K14, AC_##K15, AC_##K16, AC_##K17, AC_##K18, AC_##K19, AC_##K1A, AC_##K1B }, \
{ AC_##K20, AC_##K21, AC_##K22, AC_##K23, AC_##K24, AC_##K25, AC_##K26, AC_##K27, AC_##K28, AC_##K29, AC_##K2A, AC_##K2B }, \
{ AC_##K30, AC_##K31, AC_##K32, AC_##K33, AC_##K34, AC_##K35, AC_##K36, AC_##K37, AC_##K38, AC_##K39, AC_##K3A, AC_##K3B }, \
{ AC_##K40, AC_##K41, AC_##K42, AC_##K43, AC_##K44, AC_##K45, AC_##K46, AC_##K47, AC_##K48, AC_##K49, AC_##K4A, AC_##K4B }, \
{ AC_##K50, AC_##K51, AC_##K52, AC_##K53, AC_##K54, AC_##K55, AC_##K56, AC_##K57, AC_##K58, AC_##K59, AC_##K5A, AC_##K5B }, \
{ AC_##K60, AC_##K61, AC_##K62, AC_##K63, AC_##K64, AC_##K65, AC_##K66, AC_##K67, AC_##K68, AC_##K69, AC_##K6A, AC_##K6B }, \
{ AC_##K70, AC_##K71, AC_##K72, AC_##K73, AC_##K74, AC_##K75, AC_##K76, AC_##K77, AC_##K78, AC_##K79, AC_##K7A, AC_##K7B }, \
{ AC_##K80, AC_##K81, AC_##K82, AC_##K83, AC_##K84, AC_##K85, AC_##K86, AC_##K87, AC_##K88, AC_##K89, AC_##K8A, AC_##K8B }, \
{ AC_##K90, AC_##K91, AC_##K92, AC_##K93, AC_##K94, AC_##K95, AC_##K96, AC_##K97, AC_##K98, AC_##K99, AC_##K9A, AC_##K9B }, \
{ AC_##KA0, AC_##KA1, AC_##KA2, AC_##KA3, AC_##KA4, AC_##KA5, AC_##KA6, AC_##KA7, AC_##KA8, AC_##KA9, AC_##KAA, AC_##KAB }, \
{ AC_##KB0, AC_##KB1, AC_##KB2, AC_##KB3, AC_##KB4, AC_##KB5, AC_##KB6, AC_##KB7, AC_##KB8, AC_##KB9, AC_##KBA, AC_##KBB } \
2017-09-17 19:59:50 +00:00
}
#endif