keychron_qmk_firmware/quantum/template/ps2avrgb
Konstantin Đorđević 4d9b11af14 Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955)
* Remove unnecessary IS_COMMAND definition in clueboard/66/rev4

* Replace keyboard_report->mods with get_mods() in IS_COMMAND definitions

* Update docs to use get_mods() instead of keyboard_report->mods

* Replace keyboard_report->mods with get_mods() in tmk_core/protocol/usb_hid/test

For some reason, this occurrence used KB_LSHIFT and KB_RSHIFT, which don't exist

* Replace keyboard_report->mods with get_mods() in Massdrop keyboards (as per @patrickmt)
2019-01-27 00:28:40 -08:00
..
config.h Fix Command feature: use get_mods() instead of keyboard_report->mods (#4955) 2019-01-27 00:28:40 -08:00
i2c.c Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00
i2c.h Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00
matrix.c Updated matrix.c for some PS2AVRGB boards and templates for new_project script (#2992) 2018-05-31 08:32:05 -07:00
readme.md Updated templates for use by new_project.sh (#3783) 2018-08-29 10:57:30 -07:00
rules.mk Update Templates (stop living in the past, its 2019) (#4897) 2019-01-20 18:41:57 -08:00
template.c Update Templates (stop living in the past, its 2019) (#4897) 2019-01-20 18:41:57 -08:00
usbconfig.h Support both AVR and ps2avrGB targets for new_project script (#2811) 2018-05-10 00:36:40 -04:00

%KEYBOARD%

![%KEYBOARD%](imgur.com image replace me!)

A short description of the keyboard/project

Keyboard Maintainer: You
Hardware Supported: The PCBs, controllers supported
Hardware Availability: links to where you can find this hardware

Make example for this keyboard (after setting up your build environment):

make %KEYBOARD%:default

Flashing

ps2avr(GB) boards use an atmega32a microcontroller and a different bootloader. It is not flashable using the regular QMK methods.

Windows:

  1. Download HIDBootFlash.
  2. Place your keyboard into reset.
  3. Press the Find Device button and ensure that your keyboard is found.
  4. Press the Open .hex File button and locate the .hex file you created.
  5. Press the Flash Device button and wait for the process to complete.

macOS:

  1. Install homebrew by typing the following:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  2. Install crosspack-avr.

    brew cask install crosspack-avr
    
  3. Install the following packages:

    brew install python
    brew install pyusb
    brew install --HEAD`https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb
    
    
  4. Place your keyboard into reset.

  5. Flash the board by typing bootloadHID -r followed by the path to your .hex file.

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.