Skip to content

Commit

Permalink
[Keyboard] Add bootmagic lite keys to both halve of A.dux (qmk#14731)
Browse files Browse the repository at this point in the history
Co-authored-by: filterpaper <filterpaper@localhost>
  • Loading branch information
2 people authored and 0xcharly committed Oct 25, 2021
1 parent 0d27cd2 commit 028a9a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keyboards/a_dux/a_dux.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{ L01, L02, L03, L04, L05 }, \
{ L06, L07, L08, L09, L10 }, \
{ L11, L12, L13, L14, L15 }, \
{ L16, L17, ___, ___ , ___}, \
{ L16, L17, ___, ___, ___ }, \
{ R01, R02, R03, R04, R05 }, \
{ R06, R07, R08, R09, R10 }, \
{ R11, R12, R13, R14, R15 }, \
Expand Down
9 changes: 8 additions & 1 deletion keyboards/a_dux/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
{ B4, B5, NO_PIN, NO_PIN, NO_PIN } \
}

#define DIRECT_PINS_RIGHT { \
#define DIRECT_PINS_RIGHT { \
{ F4, B2, F7, D2, C6 }, \
{ F5, B3, F6, D0, D7 }, \
{ B6, B1, D3, D4, E6 }, \
Expand All @@ -74,3 +74,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SOFT_SERIAL_PIN D1

#define EE_HANDS

/* Top left key on left half */
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0
/* Top right key on right half */
#define BOOTMAGIC_LITE_ROW_RIGHT 4
#define BOOTMAGIC_LITE_COLUMN_RIGHT 4
2 changes: 1 addition & 1 deletion keyboards/a_dux/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Make examples for this keyboard (after setting up your build environment):

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard. (With `EE_HANDS` configured, hold down the top right key on the right half to place the right controller in bootloader mode)
* **Physical reset**: Briefly short the RST and GND pins on the microcontroller using tweezers, a paperclip, or any other conductive material.
* **Keycode in layout**: Press the key mapped to `RESET` if it is available

Expand Down
2 changes: 1 addition & 1 deletion keyboards/a_dux/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
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
Expand Down

0 comments on commit 028a9a0

Please sign in to comment.