diff options
author | Drashna Jaelre <drashna@live.com> | 2018-12-06 16:40:19 +0100 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-12-06 16:40:19 +0100 |
commit | 4e5f921496faf29e5c7f61e388346f2181fab267 (patch) | |
tree | f458a5b437e09d118727a63569f15215dc642aec | |
parent | dee2faf387e4c2a6cefa09e8531b9113dd610a1a (diff) | |
download | qmk_firmware-4e5f921496faf29e5c7f61e388346f2181fab267.tar.gz qmk_firmware-4e5f921496faf29e5c7f61e388346f2181fab267.tar.xz |
Allow HS60 to use Community Layouts (#3862)
* Add layout support to HS60
* Update Readme for HS60
* Remove defective code
* Clean up readme
* Fix typo
-rw-r--r-- | keyboards/hs60/v1/keymaps/ansi/config.h | 4 | ||||
-rw-r--r-- | keyboards/hs60/v1/readme.md | 6 | ||||
-rw-r--r-- | keyboards/hs60/v1/rules.mk | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/hs60/v1/keymaps/ansi/config.h b/keyboards/hs60/v1/keymaps/ansi/config.h index f51cc16d8..82cdc2689 100644 --- a/keyboards/hs60/v1/keymaps/ansi/config.h +++ b/keyboards/hs60/v1/keymaps/ansi/config.h @@ -18,4 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Include overwrites for specific keymap */ -#define HS60_ANSI +#ifdef KEYBOARD_hs60 + #define HS60_ANSI +#endif diff --git a/keyboards/hs60/v1/readme.md b/keyboards/hs60/v1/readme.md index a77bbc25c..9034e9b88 100644 --- a/keyboards/hs60/v1/readme.md +++ b/keyboards/hs60/v1/readme.md @@ -9,7 +9,11 @@ Keyboard Maintainer: [Yiancar](http://yiancar-designs.com/) and on [github](http Hardware Supported: HS60 ISO and ANSI PCBs with Atmega 32u4 Hardware Availability: https://mechboards.co.uk/shop/all/hs60-pcb/ -Due to the RGB implementation, the HS60 is currently not compatible with community layouts. +If you're using the [community layouts feature](https://docs.qmk.fm/#/feature_layouts) and using the 60_ansi layout, you need to make sure that you include this on your config.h to ensure that the RGB Matrix is properly configured: + + #ifdef KEYBOARD_hs60 + #define HS60_ANSI + #endif Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/hs60/v1/rules.mk b/keyboards/hs60/v1/rules.mk index bff965948..29e91aa24 100644 --- a/keyboards/hs60/v1/rules.mk +++ b/keyboards/hs60/v1/rules.mk @@ -69,6 +69,8 @@ AUDIO_ENABLE = no # Audio output on port C6 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches RGB_MATRIX_ENABLE = yes # Use RGB matrix +LAYOUTS = 60_ansi 60_iso + # Experimental features for zealcmd please do no enable #RAW_ENABLE = yes #USE_KEYMAPS_IN_EEPROM = yes |