diff options
author | Zambumon <Zambumon@users.noreply.github.com> | 2020-03-11 01:44:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 00:44:20 +0000 |
commit | 979ac0d8da29b6edf01db951ee99c31e853da2c6 (patch) | |
tree | 68bfd53fc565151731d12aad3bfa4167ceaa38a5 /keyboards/tokyo60/tokyo60.h | |
parent | 7a89b51018e21e7c317c043ba819d950ff33fff8 (diff) |
Add VIA support to Tokyo60. (#8362)
* VIA_ENABLE Tokyo60 PCB
* Update config.h
* Apply suggestions from code review
Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/tokyo60/tokyo60.h')
-rw-r--r-- | keyboards/tokyo60/tokyo60.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/tokyo60/tokyo60.h b/keyboards/tokyo60/tokyo60.h index 53f5d24a80..9eb5f3e624 100644 --- a/keyboards/tokyo60/tokyo60.h +++ b/keyboards/tokyo60/tokyo60.h @@ -1,8 +1,9 @@ -#ifndef TOKYO60_H -#define TOKYO60_H +#pragma once #include "quantum.h" +#define XXX KC_NO + #define LAYOUT_60_hhkb( \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K1D,\ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D, \ @@ -12,9 +13,7 @@ ) { \ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ - { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \ - { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ - { KC_NO, K42, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K4B, K4C, K4D } \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, XXX, K2D }, \ + { K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ + { XXX, K42, K43, XXX, XXX, K46, XXX, XXX, XXX, XXX, XXX, K4B, K4C, K4D } \ } - -#endif |