Skip to content

Commit

Permalink
Consolidate readme, set better debounce, remove tests
Browse files Browse the repository at this point in the history
The tests never worked anyway
  • Loading branch information
Patrick Tsai committed Jun 15, 2017
1 parent efeb995 commit 9c29708
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 123 deletions.
21 changes: 0 additions & 21 deletions Keymaps.md

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ flash:
$(DFU) erase; $(DFU) flash $(TARGET).hex

launch:
$(DFU) launch
$(DFU) reset

# Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa_core.mk
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,29 @@ Again, this firmware uses the LUFA USB stack so make sure you've got the LUFA bo
`make flash` flashes the built firmware to the board.
`make launch` will run the program on the board. You can also just power cycle your GH60; the bootloader will automatically run the firmware unless you've changed your fuses.

## Keymaps
On Windows and Linux, I like to use the regular keymap. Note I've moved Escape to the bottom right since I really need the tilde at the regular spot (going to home directories, etc.).

```C
{ KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSPACE },
{ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRACKET, KC_RBRACKET, KC_BSLASH },
{ KC_CAPSLOCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, KC_QUOTE, KC_NONE, KC_ENTER },
{ KC_LSHIFT, KC_NONE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_NONE, KC_RSHIFT },
{ KC_LCTRL, KC_LGUI, KC_LALT, KC_NONE, KC_NONE, KC_SPACE, KC_NONE, KC_NONE, KC_NONE, KC_NONE, KC_LAYER_0, KC_LAYER_1, KC_MUTE, KC_ESCAPE }
```
On OS X, I swap the Alt (Alt) and Command (Win) keys so I don't need to stretch my fingers as far.
```C
{ KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSPACE },
{ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRACKET, KC_RBRACKET, KC_BSLASH },
{ KC_CAPSLOCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, KC_QUOTE, KC_NONE, KC_ENTER },
{ KC_LSHIFT, KC_NONE, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_NONE, KC_RSHIFT },
{ KC_LCTRL, KC_LALT, KC_LGUI, KC_NONE, KC_NONE, KC_SPACE, KC_NONE, KC_NONE, KC_NONE, KC_NONE, KC_LAYER_0, KC_LAYER_1, KC_MUTE, KC_ESCAPE }
```

You can find all the possible keys in `include/keycodes.h`

## License
MIT

2 changes: 1 addition & 1 deletion src/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "matrix.h"

#ifdef DEBOUNCE_ENABLED
#define DEBOUNCE_AMOUNT 5
#define DEBOUNCE_AMOUNT 15
#endif


Expand Down
27 changes: 0 additions & 27 deletions test/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion test/Unity
Submodule Unity deleted from b3bc19
6 changes: 0 additions & 6 deletions test/main.c

This file was deleted.

50 changes: 0 additions & 50 deletions test/mock/include/avr/io.h

This file was deleted.

7 changes: 0 additions & 7 deletions test/mock/include/avr/pgmspace.h

This file was deleted.

9 changes: 0 additions & 9 deletions test/mock/include/util/delay.h

This file was deleted.

0 comments on commit 9c29708

Please # to comment.