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/trackpoint.h | |
parent | da2eedc0c2587ee8d11ee94cb61e17b4e8717265 (diff) | |
download | qmk_firmware-be8257f0a784a07e7dd93ecafe96c1d7774383f7.tar.gz |
[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/trackpoint.h')
-rw-r--r-- | keyboards/handwired/trackpoint/trackpoint.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/keyboards/handwired/trackpoint/trackpoint.h b/keyboards/handwired/trackpoint/trackpoint.h index b5d73d7db..a26000d52 100644 --- a/keyboards/handwired/trackpoint/trackpoint.h +++ b/keyboards/handwired/trackpoint/trackpoint.h @@ -1,13 +1,10 @@ -#ifndef TRACKPOINT_H -#define TRACKPOINT_H +#pragma once #include "quantum.h" -#define KEYMAP( \ - k00, k01, k02 \ +#define LAYOUT( \ + k00, k01, k02 \ ) \ { \ - { k00, k01, k02} \ + { k00, k01, k02} \ } - -#endif |