zvecr
da9bb59055
[Keyboard] Refactor jj4x4 to current standards (#5567)
* Refactor 4x4 in line with current ps2avrgb template * Add backlight pwm bodge till #4324 lands * Disable bootmagic lite as it seems to not work on atmega32a/bootloadHID |
5 years ago | |
---|---|---|
.. | ||
keymaps/default | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
README.md | Align use of atmega32a program script (#5259) | 5 years ago |
config.h | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
info.json | [Keyboard] Refactor jj4x4 to enable ortho_4x4 LAYOUT (#5112) | 5 years ago |
jj4x4.c | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
jj4x4.h | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
rules.mk | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
usbconfig.h | [Keyboard] Refactor jj4x4 to current standards (#5567) | 5 years ago |
A 4x4 keypad kit made and KPRepublic on AliExpress. This is a chopped off version of the jj40 with rearranged keys.
Keyboard Maintainer: QMK Community
Hardware Supported: Atmega32A
Hardware Availability: AliExpress
Make example for this keyboard (after setting up your build environment):
make jj4x4:default:program
See build environment setup then the make instructions for more information.
Note that this is a complete replacement for the firmware, so you won't be using Bootmapper Client to change any keyboard settings, since not all the USB report options are supported.
In addition you may need the AVR toolchain and bootloadHID
(GitHub repo) for flashing:
For macOS:
$ brew cask install crosspack-avr
$ brew install --HEAD https://raw.githubusercontent.com/robertgzr/homebrew-tap/master/bootloadhid.rb
For Linux:
$ sudo apt install libusb-dev
$ wget https://www.obdev.at/downloads/vusb/bootloadHID.2012-12-08.tar.gz
$ tar -xzf bootloadHID.2012-12-08.tar.gz
$ cd bootloadHID.2012-12-08/commandline
$ make
$ sudo cp bootloadHID /usr/bin
In order to use the ./util/atmega32a_program.py
script, which can reboot the board into
the bootloader, you'll need Python 2 with PyUSB installed:
$ pip install pyusb
If you prefer (or are having issues with a program
flash), you can just build it (make jj40:<keymap-name>
and flash the firmware (.hex
file) directly with
bootloadHID
if you boot the board while holding down 8
(second from top, second from left, with usb plug is at the top) to keep it
in the bootloader:
$ make jj40
$ bootloadHID -r jj4x4_default.hex
For Windows 10: Windows sometimes doesn't recognize the jj4x4. The easiest way of flashing a new layout is probably using HIDBootFlash.
8
(second from top, second from left, with usb plug is at the top)). It can be found under Human Interface Devices or under Keyboards.make jj4x4:<keymap-name>
to generate the .hex file in the qmk basis folder. Select the .hex file in HIDBootFlash and press Flash Device.8
(usb plug at top, second from top, second from left). This will force it
to boot only the bootloader without loading the firmware. Once this is
done, just reflash the board with the original firmware.tools/usb_detach.c
. See tools/README.md
for more info.