keychron_qmk_firmware/keyboards/tr60w/tr60w.h
Joule-Flow 680924777b [Keyboard] Added tr60w keyboard (#7450)
* Added tr60w configurations.

I based these files on the fox-lab/qmk_firmware repository.
After checking both licenses, which are identical, I added those
files into this feature branch.

For transparency reasons I'll add the url to the fox-lab repository.
https://github.com/fox-lab/qmk_firmware

* Using #pragma once in config.h.

* Removed '#define CCONFIG_H' from config.h.

* Changed PRODUCT_ID to '0x4140'.

* Renamed setting to 'DEBOUNCE'.

* Removed key combination, due to already default implementation.

* Removed 'PREVENT_STUCK_MODIFIERS', defaulted by QMK.

* Removed not uneccessary '#endif' statement.

* Renamed include to 'QMK_KEYBOARD_H'.

* Changed keymap structure according to pull request suggestion.

* Removed 'void matrix_init_user(void)'.

* Removed 'void matrix_scan_user(void)'.

* Removed 'bool process_record_user(...)'.

* Removed non-standard configuration in favor for 'led_update_kb'.

* Using default setup based on 'MCU' setting.

* Replaced Build Option configuration with suggested information.

* Fixed include statements as requested.

* Changed 'KEYMAP' to suggestion.

* Removed obsolete '#endif' statement.

* Added readme.md file.

* Updated readme.md with further information.

* Reverted include statement, to check if this caused ci error.

* Revert "Reverted include statement."

This reverts commit ebd992dc01133169be38ae7201bb00b4d01cc737.

* Fixed wrong mapped key

* Fixed include as per suggestion.

* Replaced 'KC_TRNS' with '_______'for readability.

* Added personal keymap.c file.

* Updated the readme.md file according to template/avr/readme.md.

* Fixed Link to Image.

* Updated readme.md as per request.

* Updated rules.mk, as per suggestion.

Set 'BOOTMAGIC_ENABLE = lite'.
2019-12-02 11:47:55 -08:00

19 lines
1.2 KiB
C

#pragma once
#include "quantum.h"
#define LAYOUT_60_tsangan_hhkb( \
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K113, \
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K213, \
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, \
K400, K401, K402, K505, K510, K511, K512 \
) { \
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, KC_NO }, \
{ K400, K401, K402, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K505, KC_NO, KC_NO, KC_NO, KC_NO, K510, K511, K512, KC_NO } \
}