diff options
Diffstat (limited to 'keyboards/bthlabs')
| -rw-r--r-- | keyboards/bthlabs/geekpad/geekpad.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/keyboards/bthlabs/geekpad/geekpad.h b/keyboards/bthlabs/geekpad/geekpad.h index c9f1ac9d4..4dc6800fe 100644 --- a/keyboards/bthlabs/geekpad/geekpad.h +++ b/keyboards/bthlabs/geekpad/geekpad.h | |||
| @@ -13,8 +13,8 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #ifndef GEEKPAD_H | 16 | |
| 17 | #define GEEKPAD_H | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #include "quantum.h" | 19 | #include "quantum.h" |
| 20 | 20 | ||
| @@ -27,14 +27,11 @@ | |||
| 27 | * represents the switch matrix. | 27 | * represents the switch matrix. |
| 28 | */ | 28 | */ |
| 29 | #define LAYOUT( \ | 29 | #define LAYOUT( \ |
| 30 | K00, K01, K02, \ | 30 | k00, k01, k02, \ |
| 31 | K10, K11, K12, \ | 31 | k10, k11, k12, \ |
| 32 | K20, K21, K22 \ | 32 | k20, k21, k22 \ |
| 33 | ) \ | 33 | ) { \ |
| 34 | { \ | 34 | { k00, k01, k02 }, \ |
| 35 | { K00, K01, K02 }, \ | 35 | { k10, k11, k12 }, \ |
| 36 | { K10, K11, K12 }, \ | 36 | { k20, k21, k22 } \ |
| 37 | { K20, K21, K22 } \ | ||
| 38 | } | 37 | } |
| 39 | |||
| 40 | #endif | ||
