Keymap: Adds TheVan RoadKit Gamepad Layout (#4090)

* adds prototype firmware for wavebeem-gamepad

* adds installer script

* updates readme

* updates title

* adds prototype firmware for wavebeem-gamepad

* adds installer script

* updates readme

* updates title

* removes unused code

* removes more code

* simplify code
master
Brian Mock 2018-10-06 20:55:48 -07:00 committed by Drashna Jaelre
parent f86c0c2643
commit 370fdb89c2
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_4x4(
KC_TAB, KC_Q, KC_W, KC_E,
KC_ESC, KC_A, KC_S, KC_D,
KC_LSFT, KC_Z, KC_X, KC_C,
KC_F, KC_LALT, KC_LCTL, KC_SPC
),
};

View File

@ -0,0 +1,35 @@
![Keymap Diagram](https://i.imgur.com/hRjbhEn.png)
# Gamepad Layout by @wavebeem
The concept behind this layout is the left side of a computer keyboard,
optimized with essential keys for playing FPS games. It was designed for TheVan
RoadKit, but it should work for any 4x4 ortholinear keyboard.
I play with my pinky on `Shift`, thumb on `Space`, and the rest of my fingers on
`W A S D`. I use my thumb for `Control`, `X`, and sometimes `C`. I usually use
`Z` with my ring finger. It also helps to angle my fingers more perpendicular to
the board in order to allow my thumb to more easily access the `Z X C` row.
The number keys `1 2 3` are missing for weapon switching, but you can usually
switch with the mouse wheel or rebind those to `Z X C` or something else.
The key `R` for reloading is missing, but I prefer to use my extra mouse buttons
for that.
I don't really use `Alt` for games, but I kept it around for `Alt-Tab` in
Windows.
# Keymap Text Diagram
```
+-------+-------+-------+-------+
| Tab | Q | W | E |
+-------+-------+-------+-------+
| Esc | A | S | D |
+-------+-------+-------+-------+
| Shift | Z | X | C |
+-------+-------+-------+-------+
| F | Alt | Ctrl | Space |
+-------+-------+-------+-------+
```

View File

@ -0,0 +1,17 @@
# Build Options
# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend