diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-03-06 11:51:41 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-03-06 11:51:41 -0800 |
commit | be8257f0a784a07e7dd93ecafe96c1d7774383f7 (patch) | |
tree | 0de394aec7f74f9e457f205954d9324163c32bd9 /keyboards/handwired/trackpoint/keymaps/default | |
parent | da2eedc0c2587ee8d11ee94cb61e17b4e8717265 (diff) | |
download | qmk_firmware-be8257f0a784a07e7dd93ecafe96c1d7774383f7.tar.gz qmk_firmware-be8257f0a784a07e7dd93ecafe96c1d7774383f7.zip |
[Keyboard] handwired/trackpoint: refactor and readme cleanup (#5325)
* handwired/trackpoint: refactor
- layout macro KEYMAP renamed to LAYOUT
- keymap now uses #include QMK_KEYBOARD_H
* handwired/trackpoint: readme cleanup
- fix wiring layout image URL
- update readme structure
* handwired/trackpoint: rename readme to lowercase
* handwired/trackpoint: update header files to use #pragma once
Diffstat (limited to 'keyboards/handwired/trackpoint/keymaps/default')
-rw-r--r-- | keyboards/handwired/trackpoint/keymaps/default/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/trackpoint/keymaps/default/keymap.c b/keyboards/handwired/trackpoint/keymaps/default/keymap.c index 22e46d98a7..60da300924 100644 --- a/keyboards/handwired/trackpoint/keymaps/default/keymap.c +++ b/keyboards/handwired/trackpoint/keymaps/default/keymap.c @@ -1,7 +1,7 @@ -#include "trackpoint.h" +#include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = KEYMAP( + [0] = LAYOUT( KC_BTN1, KC_BTN3, KC_BTN2 \ ) }; |