diff options
Diffstat (limited to 'keyboards/hhkb/yang')
-rw-r--r-- | keyboards/hhkb/yang/keyboard.json (renamed from keyboards/hhkb/yang/info.json) | 6 | ||||
-rw-r--r-- | keyboards/hhkb/yang/matrix.c | 7 | ||||
-rw-r--r-- | keyboards/hhkb/yang/rules.mk | 10 |
3 files changed, 12 insertions, 11 deletions
diff --git a/keyboards/hhkb/yang/info.json b/keyboards/hhkb/yang/keyboard.json index 24cd750e09..a5725d6afa 100644 --- a/keyboards/hhkb/yang/info.json +++ b/keyboards/hhkb/yang/keyboard.json @@ -16,6 +16,12 @@ }, "processor": "atmega32u4", "bootloader": "lufa-ms", + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "command": true + }, "debounce": 0, "community_layouts": ["60_hhkb"], "layouts": { diff --git a/keyboards/hhkb/yang/matrix.c b/keyboards/hhkb/yang/matrix.c index f0eccc899d..c82c77bed3 100644 --- a/keyboards/hhkb/yang/matrix.c +++ b/keyboards/hhkb/yang/matrix.c @@ -16,7 +16,12 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "quantum.h" +#include "matrix.h" +#include "debug.h" +#include "timer.h" +#include "wait.h" +#include "suspend.h" +#include <avr/interrupt.h> #ifdef BLUETOOTH_ENABLE # include "adafruit_ble.h" diff --git a/keyboards/hhkb/yang/rules.mk b/keyboards/hhkb/yang/rules.mk index 99f77d0c16..d8acce0a36 100644 --- a/keyboards/hhkb/yang/rules.mk +++ b/keyboards/hhkb/yang/rules.mk @@ -1,16 +1,6 @@ # MCU frequency F_CPU = 8000000 -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # USB Nkey Rollover - # Custom matrix file for the HHKB CUSTOM_MATRIX = lite SRC += matrix.c |