Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
@ -0,0 +1,93 @@
|
||||
# auto for anything unspecified
|
||||
* text=auto
|
||||
|
||||
# sources
|
||||
*.c text
|
||||
*.cc text
|
||||
*.cxx text
|
||||
*.cpp text
|
||||
*.c++ text
|
||||
*.hpp text
|
||||
*.h text
|
||||
*.h++ text
|
||||
*.hh text
|
||||
*.bat text
|
||||
*.coffee text
|
||||
*.css text
|
||||
*.htm text
|
||||
*.html text
|
||||
*.inc text
|
||||
*.ini text
|
||||
*.js text
|
||||
*.jsx text
|
||||
*.json text
|
||||
*.less text
|
||||
*.php text
|
||||
*.pl text
|
||||
*.py text
|
||||
*.rb text
|
||||
*.sass text
|
||||
*.scm text
|
||||
*.scss text
|
||||
*.sh text
|
||||
*.sql text
|
||||
*.styl text
|
||||
*.ts text
|
||||
*.xml text
|
||||
*.xhtml text
|
||||
|
||||
# make files (need to always use lf for compatibility with Windows 10 bash)
|
||||
Makefile eol=lf
|
||||
*.mk eol=lf
|
||||
|
||||
# make files (need to always use lf for compatibility with Windows 10 bash)
|
||||
*.sh eol=lf
|
||||
|
||||
# documentation
|
||||
*.markdown text
|
||||
*.md text
|
||||
*.mdwn text
|
||||
*.mdown text
|
||||
*.mkd text
|
||||
*.mkdn text
|
||||
*.mdtxt text
|
||||
*.mdtext text
|
||||
*.txt text
|
||||
AUTHORS text
|
||||
CHANGELOG text
|
||||
CHANGES text
|
||||
CONTRIBUTING text
|
||||
COPYING text
|
||||
INSTALL text
|
||||
license text
|
||||
LICENSE text
|
||||
NEWS text
|
||||
readme text
|
||||
*README* text
|
||||
TODO text
|
||||
|
||||
GRAPHICS
|
||||
*.ai binary
|
||||
*.bmp binary
|
||||
*.eps binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.jng binary
|
||||
*.jp2 binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.jpx binary
|
||||
*.jxr binary
|
||||
*.pdf binary
|
||||
*.png binary
|
||||
*.psb binary
|
||||
*.psd binary
|
||||
*.svg text
|
||||
*.svgz binary
|
||||
*.tif binary
|
||||
*.tiff binary
|
||||
*.wbmp binary
|
||||
*.webp binary
|
||||
|
||||
# hex files
|
||||
*.hex binary
|
@ -0,0 +1,70 @@
|
||||
|
||||
# MCU name
|
||||
#MCU = at90usb1287
|
||||
MCU = atmega32u4
|
||||
|
||||
# Processor frequency.
|
||||
# This will define a symbol, F_CPU, in all source code files equal to the
|
||||
# processor frequency in Hz. You can then use this symbol in your source code to
|
||||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
|
||||
# automatically to create a 32-bit value in your source code.
|
||||
#
|
||||
# This will be an integer division of F_USB below, as it is sourced by
|
||||
# F_USB after it has run through any CPU prescalers. Note that this value
|
||||
# does not *change* the processor frequency - it should merely be updated to
|
||||
# reflect the processor speed set externally so that the code can use accurate
|
||||
# software delays.
|
||||
F_CPU = 16000000
|
||||
|
||||
|
||||
#
|
||||
# LUFA specific
|
||||
#
|
||||
# Target architecture (see library "Board Types" documentation).
|
||||
ARCH = AVR8
|
||||
|
||||
# Input clock frequency.
|
||||
# This will define a symbol, F_USB, in all source code files equal to the
|
||||
# input clock frequency (before any prescaling is performed) in Hz. This value may
|
||||
# differ from F_CPU if prescaling is used on the latter, and is required as the
|
||||
# raw input clock is fed directly to the PLL sections of the AVR for high speed
|
||||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
|
||||
# at the end, this will be done automatically to create a 32-bit value in your
|
||||
# source code.
|
||||
#
|
||||
# If no clock division is performed on the input clock inside the AVR (via the
|
||||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
|
||||
F_USB = $(F_CPU)
|
||||
|
||||
# Interrupt driven control endpoint task(+60)
|
||||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
|
||||
|
||||
|
||||
# Boot Section Size in *bytes*
|
||||
# Teensy halfKay 512
|
||||
# Teensy++ halfKay 1024
|
||||
# Atmel DFU loader 4096
|
||||
# LUFA bootloader 4096
|
||||
# USBaspLoader 2048
|
||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
||||
|
||||
|
||||
# Build Options
|
||||
# comment out to disable the options.
|
||||
#
|
||||
BOOTMAGIC_ENABLE ?= no # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE ?= no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE ?= yes # Console for debug(+400)
|
||||
COMMAND_ENABLE ?= yes # Commands for debug and configuration
|
||||
NKRO_ENABLE ?= yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
RGBLIGHT_ENABLE ?= yes # Enable keyboard underlight functionality (+4870)
|
||||
BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality (+1150)
|
||||
MIDI_ENABLE ?= no # MIDI controls
|
||||
AUDIO_ENABLE ?= no
|
||||
UNICODE_ENABLE ?= no # Unicode
|
||||
BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../Makefile
|
||||
endif
|
@ -0,0 +1,30 @@
|
||||
#include "amj60.h"
|
||||
#include "led.h"
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
// put your keyboard start-up code here
|
||||
// runs once when the firmware starts up
|
||||
matrix_init_user();
|
||||
led_init_ports();
|
||||
};
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
// put your looping keyboard code here
|
||||
// runs every cycle (a lot)
|
||||
matrix_scan_user();
|
||||
};
|
||||
|
||||
void led_init_ports(void) {
|
||||
// * Set our LED pins as output
|
||||
DDRB |= (1<<2);
|
||||
}
|
||||
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
||||
// Turn capslock on
|
||||
PORTB &= ~(1<<2);
|
||||
} else {
|
||||
// Turn capslock off
|
||||
PORTB |= (1<<2);
|
||||
}
|
||||
}
|
@ -0,0 +1,153 @@
|
||||
#ifndef AMJ60_H
|
||||
#define AMJ60_H
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
// readability
|
||||
#define XXX KC_NO
|
||||
|
||||
/* AMJ60 layout to the best of my knowledge matrix layout
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 |01| 02| 03| 04| 05| 06| 07| 08| 09| 0a| 0b| 0c| 0d| 49|
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11| 12| 13| 14| 15| 16| 17| 18| 19| 1a| 1b| 1c| 1d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21| 22| 23| 24| 25| 26| 27| 28| 29| 2a| 2b| 2d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 31| 32| 33| 34| 35| 36| 37| 38| 39| 3a| 3b| 3c | 3d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 40 | 41 | 42 | 45 | 4a | 4b | 4c | 4d |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define KEYMAP( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k49,\
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k42, k45, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4a, k4b, k4c, k4d} \
|
||||
}
|
||||
|
||||
/*
|
||||
* ANSI
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 |01| 02| 03| 04| 05| 06| 07| 08| 09| 0a| 0b| 0c| 0d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11| 12| 13| 14| 15| 16| 17| 18| 19| 1a| 1b| 1c| 1d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21| 22| 23| 24| 25| 26| 27| 28| 29| 2a| 2b| 2d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 32| 33| 34| 35| 36| 37| 38| 39| 3a| 3b| 3d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 40 | 41 | 42 | 45 | 4a | 4b | 4c | 4d |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define KEYMAP_ANSI( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
|
||||
k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \
|
||||
k40, k41, k42, k45, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d}, \
|
||||
{k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d}, \
|
||||
{k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, XXX, k4a, k4b, k4c, k4d} \
|
||||
}
|
||||
|
||||
/* AMJ60 HHKB matrix layout
|
||||
* ,------------------------------------------------------------.
|
||||
* | 00 |01| 02| 03| 04| 05| 06| 07| 08| 09| 0a| 0b| 0c| 0d| 49 |
|
||||
* |------------------------------------------------------------|
|
||||
* | 10 | 11| 12| 13| 14| 15| 16| 17| 18| 19| 1a| 1b| 1c| 1d |
|
||||
* |------------------------------------------------------------|
|
||||
* | 20 | 21| 22| 23| 24| 25| 26| 27| 28| 29| 2a| 2b| 2d |
|
||||
* |------------------------------------------------------------|
|
||||
* | 30 | 32| 33| 34| 35| 36| 37| 38| 39| 3a| 3b| 3d | 3c |
|
||||
* |------------------------------------------------------------|
|
||||
* | 40 | 41 | 42 | 45 | 4a | 4b | 4c | 4d |
|
||||
* `------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
#define KEYMAP_HHKB( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k49, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
|
||||
k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3c, \
|
||||
k40, k41, k42, k45, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d}, \
|
||||
{k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4a, k4b, k4c, k4d} \
|
||||
}
|
||||
|
||||
/* ISO
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 |01| 02| 03| 04| 05| 06| 07| 08| 09| 0a| 0b| 0c| 0d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11| 12| 13| 14| 15| 16| 17| 18| 19| 1a| 1b| 1c| 1d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21| 22| 23| 24| 25| 26| 27| 28| 29| 2a| 2b| 2c|2d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 31| 32| 33| 34| 35| 36| 37| 38| 39| 3a| 3b| 3d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 40 | 41 | 42 | 45 | 4a | 4b | 4c | 4d |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define KEYMAP_ISO( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \
|
||||
k40, k41, k42, k45, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, XXX}, \
|
||||
{k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, XXX, k4a, k4b, k4c, k4d} \
|
||||
}
|
||||
/* ISO w/ split right shift key matrix layout
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 |01| 02| 03| 04| 05| 06| 07| 08| 09| 0a| 0b| 0c| 0d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11| 12| 13| 14| 15| 16| 17| 18| 19| 1a| 1b| 1c| 1d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21| 22| 23| 24| 25| 26| 27| 28| 29| 2a| 2b| 2c|2d |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 31| 32| 33| 34| 35| 36| 37| 38| 39| 3a| 3b| 3d | 3c |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 40 | 41 | 42 | 45 | 4a | 4b | 4c | 4d |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define KEYMAP_ISO_SPLITRSHIFT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3c, \
|
||||
k40, k41, k42, k45, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, XXX, k4a, k4b, k4c, k4d} \
|
||||
}
|
||||
|
||||
void matrix_init_user(void);
|
||||
void matrix_scan_user(void);
|
||||
|
||||
#endif
|
@ -0,0 +1,94 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6066
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Han Chen
|
||||
#define PRODUCT AMJ60
|
||||
#define DESCRIPTION qmk port of AMJ60 PCB
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 14
|
||||
|
||||
// ROWS: Top to bottom, COLS: Left to right
|
||||
|
||||
#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5}
|
||||
#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7, D6, B3}
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCING_DELAY 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* key combination for command */
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
||||
)
|
||||
|
||||
/* Backlight configuration
|
||||
*/
|
||||
#define BACKLIGHT_LEVELS 4
|
||||
|
||||
/* Underlight configuration
|
||||
*/
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#define RGBLIGHT_TIMER
|
||||
#define RGBLED_NUM 8 // Number of LEDs
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
#endif
|
@ -0,0 +1,23 @@
|
||||
# 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 = no # 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.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
# adjust for cpu
|
||||
# -j 16 gave best result on a hyperthreaded quad core core i7
|
||||
|
||||
LIMIT=10
|
||||
THREADS="-j 16"
|
||||
KMAP=iso_split_rshift
|
||||
|
||||
echo "We need sudo later"
|
||||
sudo ls 2>&1 /dev/null
|
||||
|
||||
function wait_bootloader {
|
||||
echo "Waiting for Bootloader..."
|
||||
local STARTTIME=$(date +"%s")
|
||||
local REMIND=0
|
||||
local EXEC=dfu-programmer
|
||||
local TARGET=atmega32u4
|
||||
while true
|
||||
do
|
||||
sudo $EXEC $TARGET get > /dev/null 2>&1
|
||||
[ $? -eq 0 ] && break
|
||||
ENDTIME=$(date +"%s")
|
||||
DURATION=$(($ENDTIME-$STARTTIME))
|
||||
if [ $REMIND -eq 0 -a $DURATION -gt $LIMIT ]
|
||||
then
|
||||
echo "Did you forget to press the reset button?"
|
||||
REMIND=1
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
make clean
|
||||
make KEYMAP=${KMAP} ${THREADS}
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
echo "please trigger flashing!"
|
||||
wait_bootloader
|
||||
sudo make KEYMAP=${KMAP} dfu ${THREADS}
|
||||
else
|
||||
echo "make failed"
|
||||
exit 77
|
||||
fi
|
@ -0,0 +1,147 @@
|
||||
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
|
||||
// this is the style you want to emulate.
|
||||
|
||||
#include "amj60.h"
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _DEF 0
|
||||
#define _SPC 1
|
||||
#define _TAB 2
|
||||
#define _SFX 3
|
||||
|
||||
// dual-role shortcuts
|
||||
#define TABDUAL LT(_TAB, KC_TAB)
|
||||
#define CAPSDUAL CTL_T(KC_ESC)
|
||||
#define SPACEDUAL LT(_SPC, KC_SPACE)
|
||||
#define ENTERDUAL CTL_T(KC_ENT)
|
||||
// arrow cluster duality bottom right corner
|
||||
#define ARRLEFT ALT_T(KC_LEFT)
|
||||
#define ARRDOWN GUI_T(KC_DOWN)
|
||||
#define ARRUP SFT_T(KC_UP)
|
||||
#define ARRRIGHT CTL_T(KC_RIGHT)
|
||||
// german brackets
|
||||
#define GER_CUR_L RALT(KC_7) // [
|
||||
#define GER_CUR_R RALT(KC_0) // ]
|
||||
#define GER_PAR_L LSFT(KC_8) // (
|
||||
#define GER_PAR_R LSFT(KC_9) // )
|
||||
#define GER_ANG_L KC_NUBS // <
|
||||
#define GER_ANG_R LSFT(KC_NUBS) // >
|
||||
#define GER_BRC_L RALT(KC_8) // [
|
||||
#define GER_BRC_R RALT(KC_9) // ]
|
||||
|
||||
// increase readability
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _DEF: Default Layer
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Grv| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | Tab is Fn1
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Sft | < | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn2| RShift is UP
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space/Fn0 |Alt |Win |Menu|RCtl| Gui Menu, RCtrl is
|
||||
* `-----------------------------------------------------------' LEFT DWN RIGHT
|
||||
*/
|
||||
[_DEF] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \
|
||||
TABDUAL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \
|
||||
CAPSDUAL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, ENTERDUAL, \
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, ARRUP, TG(_SFX), \
|
||||
KC_LCTL, KC_LGUI, KC_LALT, SPACEDUAL, KC_RALT, ARRLEFT, ARRDOWN, ARRRIGHT),
|
||||
|
||||
/* Keymap 1: F-and-vim Layer, modified with Space (by holding space)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |PrSc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete|
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Paus| Up| [ | ] | | | | ( | ) | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Lft|Dwn|Rgt| | |Left|Down|Right|Up| | | PLAY |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | < | > | |M0 | | | | | Vol+ | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |Alt |Prev|Vol-|Next|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_SPC] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_PSCR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, \
|
||||
_______, KC_PAUS, KC_UP, GER_BRC_L, GER_BRC_R, _______, _______, GER_PAR_L, GER_PAR_R, _______, _______, _______, _______, _______, \
|
||||
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_MPLY, \
|
||||
_______, _______, _______, _______, GER_ANG_L, GER_ANG_R, KC_SPACE, M(0), _______, _______, _______, _______, KC_VOLU, _______, \
|
||||
_______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT),
|
||||
|
||||
/* Keymap 2: Tab Layer w/ vim pageup, modified with Tab (by holding tab)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |WAKE| | | | | | | | | | | | |Insert| TAB+GRC = WAKE
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | { | } | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | |Pos1|PgDn|PgUp|End| | |Retrn |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | |AF2| | | | | PgUp | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |Alt |Pos1|PgDn|End |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_TAB] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_WAKE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, \
|
||||
_______, _______, _______, _______, _______, _______, _______, GER_CUR_L, GER_CUR_R, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, _______, KC_ENT, \
|
||||
_______, _______, _______, _______, _______, _______, _______, M(1), _______, _______, _______, _______, KC_PGUP, _______, \
|
||||
_______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END),
|
||||
|
||||
/* Keymap 3: Split right shift Numpad toggle Layer (by tapping the split rshift key)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |RSET| | | | | | | 7| 8| 9| | | |Backsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | 4 | 5 | 6 | | | | \ |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | L | L | | | | | 1 | 2 | 3 | | | Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | L | L | L | L | L | L | | 0 | | /| Up | | All "L"s represent
|
||||
* |-----------------------------------------------------------| LED controlling
|
||||
* |Ctrl|Win |Alt | |Alt |Left|Down|Right|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_SFX] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
RESET, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, KC_BSPC, \
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______, KC_BSLS, \
|
||||
_______, F(2), F(3), _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, XXXXXXX, KC_ENT, \
|
||||
_______, F(4), F(5), F(6), F(7), F(8), F(9), _______, _______, KC_0, _______, KC_SLSH, KC_UP, _______, \
|
||||
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
};
|
||||
|
||||
enum function_id {
|
||||
LAUNCH,
|
||||
RGBLED_TOGGLE,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[1] = ACTION_FUNCTION(LAUNCH),
|
||||
[10] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ENT),
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
// MACRODOWN only works in this function
|
||||
switch(id) {
|
||||
case 0:
|
||||
return (record->event.pressed ?
|
||||
MACRO( D(RALT), T(SPC), U(RALT), END )
|
||||
:MACRO( END ));
|
||||
break;
|
||||
case 1:
|
||||
return (record->event.pressed ?
|
||||
MACRO( D(LALT), T(F2), U(LALT), END )
|
||||
:MACRO( END ));
|
||||
break;
|
||||
}
|
||||
return MACRO_NONE;
|
||||
};
|
@ -0,0 +1,30 @@
|
||||
toneman77's custom spacefn Layout
|
||||
=====================
|
||||
|
||||
##Quantum MK Firmware
|
||||
For the full Quantum feature list, see the parent readme.md.
|
||||
|
||||
# Features
|
||||
* heavily modified ISO (!) layout with split right shift key
|
||||
* spaceFn
|
||||
* Dual-Role keys:
|
||||
*
|
||||
| Original key | when tapped | when held |
|
||||
| ---------------- | ------------- | ------------- |
|
||||
| Space | Space | layer change |
|
||||
| Caps lock | Escape | Control |
|
||||
| Tab | Tab | layer change |
|
||||
| Enter | Enter | Control |
|
||||
|
||||
* vim-style arrow keys on hjkl (spacefn layer)
|
||||
* corresponding Home/PgDn/PgUp/End on hjkl (tab layer)
|
||||
* bonus arrow keys in the bottom right corner on Alt/Win/Menu/rCtrl/Shift
|
||||
* more bonus arrow keys on wasd (spacefn layer)
|
||||
* media keys prev/next/play/vol+/vol- (spacefn layer)
|
||||
* firmware bootloader button
|
||||
* additional brackets that only work in german layout due to horrible placement
|
||||
in the default qwertz layout
|
||||
|
||||
|
||||
### Additional Credits
|
||||
* visualization of the layers [here](http://www.keyboard-layout-editor.com/#/gists/aba4e4396459ede85bc66a22cee88e48) (without the LED keys)
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
git checkout amj60 # gets you on branch amj60
|
||||
git fetch origin # gets you up to date with origin
|
||||
git merge origin/master
|
@ -0,0 +1,57 @@
|
||||
AMJ60 keyboard firmware
|
||||
======================
|
||||
DIY/Assembled compact 60% keyboard.
|
||||
|
||||
## Quantum MK Firmware
|
||||
|
||||
For the full Quantum feature list, see [the parent readme.md](/readme.md).
|
||||
|
||||
## Building
|
||||
|
||||
Download or clone the whole firmware and navigate to the keyboards/amj60
|
||||
folder. Once your dev env is setup, you'll be able to type `make` to generate
|
||||
your .hex - you can then use `make dfu` to program your PCB once you hit the
|
||||
reset button.
|
||||
|
||||
Depending on which keymap you would like to use, you will have to compile
|
||||
slightly differently.
|
||||
|
||||
### Default
|
||||
To build with the default keymap, simply run `make`.
|
||||
|
||||
### Other Keymaps
|
||||
Several version of keymap are available in advance but you are recommended to
|
||||
define your favorite layout yourself. To define your own keymap create file
|
||||
named `<name>.c` in the keymaps folder, and see keymap document (you can find
|
||||
in top readme.md) and existent keymap files.
|
||||
|
||||
To build the firmware binary hex file with a keymap just do `make` with
|
||||
`KEYMAP` option like:
|
||||
``
|
||||
$ make KEYMAP=[default|jack|<name>]
|
||||
``
|
||||
Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps`
|
||||
folder.
|
||||
|
||||
## Variations
|
||||
KEYMAP macros for the following layouts are available:
|
||||
|
||||
* default, for all the available, possible keys
|
||||
* ANSI, for 60% ANSI keyboard
|
||||
* ISO
|
||||
* ISO w/ split right shift key
|
||||
* HHKB
|
||||
|
||||
Remark: all but "ISO w/ split right shift key" are untested and were done to the best of my knowledge.
|
||||
|
||||
### Original tmk firmware
|
||||
The original firmware that was used to port to qmk can be found [here](https://github.com/AMJKeyboard/AMJ60).
|
||||
|
||||
## Further information
|
||||
Since information and documentation for this board are sparse, (at least for non-chinese speaking ppl) here is everything that could be found
|
||||
|
||||
* [geekhack discussion](https://geekhack.org/index.php?topic=53070.0)
|
||||
* [chinese discussion](https://www.v2ex.com/t/161887)
|
||||
* Board has [dedicated pinouts](https://i.imgur.com/D0sWhyh.jpg?1) for a bluetooth module
|
||||
* has pins for external power [picture](https://i.imgur.com/00VrtIp.jpg?1).
|
||||
* most information comes from [reddit](https://www.reddit.com/r/MechanicalKeyboards/comments/32oonr/gh60_pcb_for_your_custom_keyboard/)
|
@ -0,0 +1,10 @@
|
||||
These are notes on how to build and deploy the firmware to Ez, but they are
|
||||
from before the qmk restructuring.
|
||||
|
||||
cd qmk_firmware/keyboard/ergodox_ez
|
||||
make KEYMAP=jafo
|
||||
cp ergodox_ez.hex keymaps/jafo/
|
||||
/tmp/teensy.64bit
|
||||
Open hex keymap file
|
||||
Program
|
||||
Upload
|
After Width: | Height: | Size: 175 KiB |
@ -0,0 +1,183 @@
|
||||
#include "ergodox.h"
|
||||
#include "debug.h"
|
||||
#include "action_layer.h"
|
||||
#include "version.h"
|
||||
|
||||
#define BASE 0 // default layer
|
||||
#define SYMB 1 // symbols
|
||||
#define MDIA 2 // media keys
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap 0: Basic layer
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | Grv | 1 | 2 | 3 | 4 | 5 | LEFT | | RIGHT| 6 | 7 | 8 | 9 | 0 | - |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | = | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | \ |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | Esc/Cmd| A | S | D | F | G |------| |------| H | J | K | L |; / L2|' / Cmd |
|
||||
* |--------+------+------+------+------+------| L2 | | L2 |------+------+------+------+------+--------|
|
||||
* | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* |Grv/L1| '" | Del | Left | Right| | Up | Down | [ | ] | ~L1 |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* |Ctrl/Esc| Alt| | Alt |Ctrl/Esc|
|
||||
* ,------|------|------| |------+--------+------.
|
||||
* | | | Home | | PgUp | | |
|
||||
* | Space|Backsp|------| |------| Tab |Enter |
|
||||
* | |ace | End | | PgDn | | |
|
||||
* `--------------------' `----------------------'
|
||||
*/
|
||||
// If it accepts an argument (i.e, is a function), it doesn't need KC_.
|
||||
// Otherwise, it needs KC_*
|
||||
[BASE] = KEYMAP( // layer 0 : default
|
||||
// left hand
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LEFT,
|
||||
KC_EQL, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(SYMB),
|
||||
GUI_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G,
|
||||
KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, TG(MDIA),
|
||||
LT(SYMB,KC_GRV),KC_QUOT, KC_DELT, KC_LEFT,KC_RGHT,
|
||||
CTL_T(KC_ESC), KC_LALT,
|
||||
KC_HOME,
|
||||
KC_SPC,KC_BSPC,KC_END,
|
||||
// right hand
|
||||
KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT),
|
||||
TG(MDIA), KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT,
|
||||
KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1,
|
||||
KC_LALT, CTL_T(KC_ESC),
|
||||
KC_PGUP,
|
||||
KC_PGDN,KC_TAB, KC_ENT
|
||||
),
|
||||
/* Keymap 1: Symbol Layer
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | | | | | | | | . | 0 | = | |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* | | | | | |
|
||||
* ,------|------|------| |------+------+------.
|
||||
* | | | | | | | |
|
||||
* | | |------| |------| | |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
// SYMBOLS
|
||||
[SYMB] = KEYMAP(
|
||||
// left hand
|
||||
KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
|
||||
KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR,KC_PIPE,KC_TRNS,
|
||||
KC_TRNS,KC_HASH,KC_DLR, KC_LPRN,KC_RPRN,KC_GRV,
|
||||
KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS,KC_TRNS,KC_TRNS,
|
||||
// right hand
|
||||
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||
KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
|
||||
KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS,
|
||||
KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
),
|
||||
/* Keymap 2: Media and mouse keys
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | | | MsUp | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | |MsLeft|MsDown|MsRght| |------| |------| LEFT | DOWN | UP | RIGHT| | Play |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | Prev | Next | | |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | | | Lclk | Mclk | Rclk | |VolUp |VolDn | Mute | | |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* | | | | | |
|
||||
* ,------|------|------| |------+------+------.
|
||||
* | | | | | | |Brwser|
|
||||
* | | |------| |------| |Back |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
// MEDIA AND MOUSE
|
||||
[MDIA] = KEYMAP(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN3, KC_BTN2,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
// right hand
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_WBAK
|
||||
),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols)
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
// MACRODOWN only works in this function
|
||||
switch(id) {
|
||||
case 0:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION);
|
||||
}
|
||||
break;
|
||||
}
|
||||
return MACRO_NONE;
|
||||
};
|
||||
|
||||
// Runs just one time when the keyboard initializes.
|
||||
void matrix_init_user(void) {
|
||||
|
||||
};
|
||||
|
||||
// Runs constantly in the background, in a loop.
|
||||
void matrix_scan_user(void) {
|
||||
|
||||
uint8_t layer = biton32(layer_state);
|
||||
|
||||
ergodox_board_led_off();
|
||||
ergodox_right_led_1_off();
|
||||
ergodox_right_led_2_off();
|
||||
ergodox_right_led_3_off();
|
||||
switch (layer) {
|
||||
// TODO: Make this relevant to the ErgoDox EZ.
|
||||
case 1:
|
||||
ergodox_right_led_1_on();
|
||||
break;
|
||||
case 2:
|
||||
ergodox_right_led_2_on();
|
||||
break;
|
||||
default:
|
||||
// none
|
||||
break;
|
||||
}
|
||||
|
||||
};
|
@ -0,0 +1,20 @@
|
||||
# ErgoDox EZ "jafo" Configuration
|
||||
|
||||
This is a layout based on the ErgoDox Ez default layout, but with some
|
||||
customizations I made for my use-case. I use Linux, vi and the i3 window
|
||||
manager, so I made these changes:
|
||||
|
||||
- Arrow keys laid out in vi positions in media layer.
|
||||
|
||||
- Esc (tap) and Win (held) to the left of A. i3 uses Win key for navigation
|
||||
and having that be symmetric on the left and right makes it easier.
|
||||
|
||||
- Grave accent below equals, I was having a hard time using ~
|
||||
|
||||
- Layer 2 switch below the L1 switch, so I can go into a mode where I get
|
||||
arrow keys under my vi motion fingers.
|
||||
|
||||
- Making the Ctrl (held) and Esc (tap) on my thumbs symmetric. Not sure I
|
||||
need that with the Esc left of A and Ctrl on the Z and / keys when held...
|
||||
|
||||
![Jafo](jafo_highres.png)
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 120 KiB |
@ -1,27 +1,27 @@
|
||||
[{x:3.5,c:"#99de2a"},"F13",{x:10.5},"F18"],
|
||||
[{y:-0.875,x:2.5},"F12",{x:1},"F14",{x:8.5},"F17",{x:1},"F19"],
|
||||
[{y:-0.875,x:5.5},"F15",{c:"#ff4444"},"Esc",{x:4.5,c:"#737373",a:7},"",{c:"#99de2a",a:4},"F16"],
|
||||
[{y:-0.875,c:"#2277ff",w:1.5},"Special\n\n\n\n\n\nShift",{c:"#99de2a"},"F11",{x:14.5},"F20",{c:"#2277ff",w:1.5},"\n\nSpecial\n\n\n\n\nShift"],
|
||||
[{y:-0.375,x:3.5,c:"#ff8500"},"Mouse\n\n\n\n\n\nUp",{x:10.5},"Cursor\n\n\n\n\n\nUp"],
|
||||
[{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nUpLeft",{x:1},"Mouse\n\n\n\n\n\nUpRgt",{x:8.5,c:"#ffb063"},"Home",{x:1},"Page\n\n\n\n\n\nUp"],
|
||||
[{y:-0.875,x:5.5,c:"#e6e067"},"Vol\n\n\n\n\n\nUp",{c:"#ffb063",h:1.5},"Scroll\n\n\n\n\n\nUp",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nUp",{c:"#e6e067"},"Print\n\n\n\n\n\nScreen"],
|
||||
[{y:-0.875,c:"#000000",t:"#ff0000",w:1.5},"Media\n\n\n\n\n\nShift",{c:"#e6e067",t:"#000000"},"Shut\n\n\n\n\n\nDown",{x:14.5},"Mail",{c:"#000000",t:"#ff0000",w:1.5},"\n\nMedia\n\n\n\n\nShift"],
|
||||
[{y:-0.375,x:3.5,c:"#ff8500",t:"#000000"},"Mouse\n\n\n\n\n\nDown",{x:10.5},"Cursor\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,c:"#c6c600",w:1.5},"Shift\n\n\n\n\n\nLock",{c:"#99de2a"},"F11",{x:14.5},"F20",{c:"#c6c600",w:1.5},"\n\nShift\n\n\n\n\nLock"],
|
||||
[{y:-0.375,x:3.5,c:"#0066cc"},"Mouse\n\n\n\n\n\nUp",{x:10.5},"Cursor\n\n\n\n\n\nUp"],
|
||||
[{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nUpLeft",{x:1},"Mouse\n\n\n\n\n\nUpRgt",{x:8.5,c:"#1e8fff"},"Home",{x:1},"Page\n\n\n\n\n\nUp"],
|
||||
[{y:-0.875,x:5.5,c:"#9977ee"},"Vol\n\n\n\n\n\nUp",{c:"#1e8fff",h:1.5},"Scroll\n\n\n\n\n\nUp",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nUp",{c:"#9977ee"},"Print\n\n\n\n\n\nScreen"],
|
||||
[{y:-0.875,c:"#000000",t:"#3f68ff",w:1.5},"Media\n\n\n\n\n\nShift",{c:"#9977ee",t:"#000000"},"Shut\n\n\n\n\n\nDown",{x:14.5},"Mail",{c:"#000000",t:"#3f68ff",w:1.5},"\n\nMedia\n\n\n\n\nShift"],
|
||||
[{y:-0.375,x:3.5,c:"#0066cc",t:"#000000"},"Mouse\n\n\n\n\n\nDown",{x:10.5},"Cursor\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nLeft",{x:1},"Mouse\n\n\n\n\n\nRight",{x:8.5},"Cursor\n\n\n\n\n\nLeft",{x:1},"Cursor\n\n\n\n\n\nRight"],
|
||||
[{y:-0.875,x:5.5,c:"#e6e067"},"Vol\n\n\n\n\n\nDown",{x:6.5},"Num\n\n\n\n\n\nLock"],
|
||||
[{y:-0.875,c:"#2277ff",w:1.5},"Symbols\n\n\n\n\n\nShift",{c:"#e6e067"},"Sleep",{x:14.5},"My\n\n\n\n\n\nComp",{c:"#2277ff",w:1.5},"\n\nSymbols\n\n\n\n\nShift"],
|
||||
[{y:-0.625,x:6.5,c:"#ffb063",h:1.5},"Scroll\n\n\n\n\n\nDown",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nDown"],
|
||||
[{y:-0.75,x:3.5,c:"#ff8500"},"Mouse\n\n\n\n\n\nDown",{x:10.5},"Cursor\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nDnLeft",{x:1},"Mouse\n\n\n\n\n\nDnRgt",{x:8.5,c:"#ffb063"},"End",{x:1},"Page\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,x:5.5,c:"#e6e067"},"Mute",{x:6.5,c:"#737373",a:7},""],
|
||||
[{y:-0.875,c:"#2277ff",a:4,w:1.5},"Capitals\n\n\n\n\n\nShift",{c:"#737373",a:7},"",{x:14.5},"",{c:"#2277ff",a:4,w:1.5},"\n\nCapitals\n\n\n\n\nShift"],
|
||||
[{y:-0.375,x:3.5,c:"#ff8500"},"Middle\n\n\n\n\n\nClick",{x:10.5,c:"#ffb063",fa:[0,0,0,1]},"Delete\n\n\nOption"],
|
||||
[{y:-0.875,x:2.5,c:"#ff8500"},"Left\n\n\n\n\n\nClick",{x:1},"Right\n\n\n\n\n\nClick",{x:8.5,c:"#ffb063"},"Insert\n\n\nCmd",{x:1,c:"#77aaff"},"Hyper"],
|
||||
[{y:-0.875,x:5.5,c:"#9977ee"},"Vol\n\n\n\n\n\nDown",{x:6.5},"Num\n\n\n\n\n\nLock"],
|
||||
[{y:-0.875,c:"#c6c600",t:"#007d00",w:1.5},"Symbols\n\n\n\n\n\nShift",{c:"#9977ee",t:"#000000"},"Sleep",{x:14.5},"My\n\n\n\n\n\nComp",{c:"#c6c600",t:"#007d00",w:1.5},"\n\nSymbols\n\n\n\n\nShift"],
|
||||
[{y:-0.625,x:6.5,c:"#1e8fff",t:"#000000",h:1.5},"Scroll\n\n\n\n\n\nDown",{x:4.5,h:1.5},"Scroll\n\n\n\n\n\nDown"],
|
||||
[{y:-0.75,x:3.5,c:"#0066cc"},"Mouse\n\n\n\n\n\nDown",{x:10.5},"Cursor\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,x:2.5},"Mouse\n\n\n\n\n\nDnLeft",{x:1},"Mouse\n\n\n\n\n\nDnRgt",{x:8.5,c:"#1e8fff"},"End",{x:1},"Page\n\n\n\n\n\nDown"],
|
||||
[{y:-0.875,x:5.5,c:"#9977ee"},"Mute",{x:6.5,c:"#737373",a:7},""],
|
||||
[{y:-0.875,c:"#c6c600",t:"#9e0000",a:4,w:1.5},"Capitals\n\n\n\n\n\nShift",{c:"#737373",t:"#000000",a:7},"",{x:14.5},"",{c:"#c6c600",t:"#9e0000",a:4,w:1.5},"\n\nCapitals\n\n\n\n\nShift"],
|
||||
[{y:-0.375,x:3.5,c:"#0066cc",t:"#000000"},"Middle\n\n\n\n\n\nClick",{x:10.5,c:"#1e8fff",fa:[0,0,0,1]},"Delete\n\n\nOption"],
|
||||
[{y:-0.875,x:2.5,c:"#0066cc"},"Left\n\n\n\n\n\nClick",{x:1},"Right\n\n\n\n\n\nClick",{x:8.5,c:"#1e8fff"},"Insert\n\n\nCmd",{x:1,c:"#dddd77"},"Hyper"],
|
||||
[{y:-0.75,x:0.5},"Ctrl\n\n\nLCtrl","Meh",{x:14.5},"Meh","Crtl\n\n\nRCtrl"],
|
||||
[{r:30,rx:6.5,ry:4.25,y:-1,x:1,c:"#ccbb00"},"Stop\n\n\nBrowser","Reload\n\n\nBrowser"],
|
||||
[{r:30,rx:6.5,ry:4.25,y:-1,x:1,c:"#6633ee"},"Stop\n\n\nBrowser","Reload\n\n\nBrowser"],
|
||||
[{h:2},"< Web\n\n\nBrowser",{h:2},"Web >\n\n\nBrowser","Search\n\n\nBrowser"],
|
||||
[{x:2},"Home\n\n\nBrowser"],
|
||||
[{r:-30,rx:13,y:-1,x:-3},"Prev\n\n\nAudio\n\n\nTrack","Next\n\n\nAudio\n\n\nTrack"],
|
||||
[{x:-3,c:"#e6e067"},"Vol\n\n\n\n\n\nUp",{c:"#ccbb00",h:2},"Stop\n\n\nAudio",{h:2},"Play\n\n\nAudio\n\n\nPause"],
|
||||
[{x:-3,c:"#e6e067"},"Vol\n\n\n\n\n\nDown"]
|
||||
[{x:-3,c:"#9977ee"},"Vol\n\n\n\n\n\nUp",{c:"#6633ee",h:2},"Stop\n\n\nAudio",{h:2},"Play\n\n\nAudio\n\n\nPause"],
|
||||
[{x:-3,c:"#9977ee"},"Vol\n\n\n\n\n\nDown"]
|
||||
|
||||
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 99 KiB |
@ -0,0 +1,122 @@
|
||||
# Xyverz's ErgoDox EZ Keymap
|
||||
|
||||
## About this keymap:
|
||||
|
||||
The Dvorak layout shown herestems from my early Kinesis years, using the Contour PS/2 with a Dvorak software layout. Because of this, the RBRC and LBRC were on opposite sides of the board in the corner keys. I've decided to continue using this layout with my ErgoDox.
|
||||
|
||||
The QWERTY layout shown here is based entirely on the Kinesis Advantage layout, with the additional keys as shown in the diagrams. The Colemak layout is merely an adaptation of that.
|
||||
|
||||
I've enabled persistent keymaps for Qwerty, Dvorak and Colemak layers, similar to the default Planck layouts.
|
||||
|
||||
## Still to do:
|
||||
|
||||
* Need to figure out a better position for the ESC key.
|
||||
* Come up with a function for the empty keys shown in the alpha layers below.
|
||||
* Fix the CapsLock, NumLock, and ScrLck LEDs.
|
||||
|
||||
### Layer 0: Dvorak layer
|
||||
|
||||
,--------------------------------------------------.,--------------------------------------------------.
|
||||
| ] | 1 | 2 | 3 | 4 | 5 | ESC || ESC | 6 | 7 | 8 | 9 | 0 | [ |
|
||||
|--------+------+------+------+------+-------------||------+------+------+------+------+------+--------|
|
||||
| Tab | ' | , | . | Y | Y | || | F | G | C | R | L | \ |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| CapsLk | A | O | E | U | I |------||------| D | H | T | N | S | - |
|
||||
|--------+------+------+------+------+------| _MD || _KP |------+------+------+------+------+--------|
|
||||
| LShift | Z | X | C | V | X | || | B | M | W | V | Z | RShift |
|
||||
`--------+------+------+------+------+-------------'`-------------+------+------+------+------+--------'
|
||||
| LGUI | ` | INS | Left | Rght | | Up | Dn | / | = | RGUI |
|
||||
`----------------------------------' `----------------------------------'
|
||||
,-------------.,-------------.
|
||||
| LCtr | LAlt || Ralt | RCtr |
|
||||
,------|------|------||------+------+------.
|
||||
| | | Home || PgUp | | |
|
||||
| BkSp | Del |------||------| Enter| Space|
|
||||
| | | End || PgDn | | |
|
||||
`--------------------'`--------------------'
|
||||
|
||||
### Layer 1: QWERTY layer
|
||||
|
||||
,--------------------------------------------------.,--------------------------------------------------.
|
||||
| = | 1 | 2 | 3 | 4 | 5 | ESC || ESC | 6 | 7 | 8 | 9 | 0 | - |
|
||||
|--------+------+------+------+------+-------------||------+------+------+------+------+------+--------|
|
||||
| Tab | Q | W | E | R | T | || | Y | U | I | O | P | \ |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| CapsLk | A | S | D | F | G |------||------| H | J | K | L | ; | ' |
|
||||
|--------+------+------+------+------+------| _MD || _KP |------+------+------+------+------+--------|
|
||||
| LShift | Z | X | C | V | B | || | N | M | , | . | / | RShift |
|
||||
`--------+------+------+------+------+-------------'`-------------+------+------+------+------+--------'
|
||||
| LGUI | ` | INS | Left | Rght | | Up | Dn | [ | ] | RGUI |
|
||||
`----------------------------------' `----------------------------------'
|
||||
,-------------.,-------------.
|
||||
| LCtr | LAlt || Ralt | RCtr |
|
||||
,------|------|------||------+------+------.
|
||||
| | | Home || PgUp | | |
|
||||
| BkSp | Del |------||------| Enter| Space|
|
||||
| | | End || PgDn | | |
|
||||
`--------------------'`--------------------'
|
||||
|
||||
### Keymap 2: Colemak layer
|
||||
|
||||
,--------------------------------------------------.,--------------------------------------------------.
|
||||
| = | 1 | 2 | 3 | 4 | 5 | ESC || ESC | 6 | 7 | 8 | 9 | 0 | - |
|
||||
|--------+------+------+------+------+-------------||------+------+------+------+------+------+--------|
|
||||
| Tab | Q | W | F | P | G | || | J | L | U | Y | ; | \ |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| BkSpc | A | R | S | T | D |------||------| H | N | E | I | O | ' |
|
||||
|--------+------+------+------+------+------| _MD || _KP |------+------+------+------+------+--------|
|
||||
| LShift | Z | X | C | V | B | || | K | M | , | . | / | RShift |
|
||||
`--------+------+------+------+------+-------------'`-------------+------+------+------+------+--------'
|
||||
| LGUI | ` | INS | Left | Rght | | Up | Dn | [ | ] | RGUI |
|
||||
`----------------------------------' `----------------------------------'
|
||||
,-------------.,-------------.
|
||||
| LCtr | LAlt || Ralt | RCtr |
|
||||
,------|------|------||------+------+------.
|
||||
| | | Home || PgUp | | |
|
||||
| BkSp | Del |------||------| Enter| Space|
|
||||
| | | End || PgDn | | |
|
||||
`--------------------'`--------------------'
|
||||
|
||||
### layer 3 : Media layer
|
||||
|
||||
,--------------------------------------------------.,--------------------------------------------------.
|
||||
| TEENSY | F1 | F2 | F3 | F4 | F5 | F11 || F12 | F6 | F7 | F8 | F9 | F10 | |
|
||||
|--------+------+------+------+------+-------------||------+------+------+------+------+------+--------|
|
||||
| | | PrSc | ScLk | Paus | | || | | Mute | Vol- | Vol+ | | |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| | | | | | |------||------| Stop | Prev | Play | Next | Sel | |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| | |Dvorak|Qwerty|Colemk| | || | | | | | | |
|
||||
`--------+------+------+------+------+-------------'`-------------+------+------+------+------+--------'
|
||||
| | | | | | | | | | | |
|
||||
`----------------------------------' `----------------------------------'
|
||||
,-------------.,-------------.
|
||||
| | || | |
|
||||
,------|------|------||------+------+------.
|
||||
| | | || | | |
|
||||
| | |------||------| | |
|
||||
| | | || | | |
|
||||
`--------------------'`--------------------'
|
||||
|
||||
|
||||
|
||||
### Keymap 4: Keypad layer
|
||||
|
||||
,--------------------------------------------------.,--------------------------------------------------.
|
||||
| Power | | | | | | || | | NmLk | KP = | KP / | KP * | |
|
||||
|--------+------+------+------+------+-------------||------+------+------+------+------+------+--------|
|
||||
| Sleep | | | | | | || | | KP 7 | KP 8 | KP 9 | KP - | |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| Wake | | | | | |------||------| | KP 4 | KP 5 | KP 6 | KP + | |
|
||||
|--------+------+------+------+------+------| || |------+------+------+------+------+--------|
|
||||
| | | | | | | || | | KP 1 | KP 2 | KP 3 |KP Ent| |
|
||||
`--------+------+------+------+------+-------------'`-------------+------+------+------+------+--------'
|
||||
| | | | | | | KP 0 | | KP . |KP Ent| |
|
||||
`----------------------------------' `----------------------------------'
|
||||
,-------------.,-------------.
|
||||
| | || | |
|
||||
,------|------|------||------+------+------.
|
||||
| | | || | | |
|
||||
| | |------||------| | |
|
||||
| | | || | | |
|
||||
`--------------------'`--------------------'
|
@ -0,0 +1,17 @@
|
||||
# Workman dead with spacefn (kc60 @ QMK)
|
||||
|
||||
## Layout reference
|
||||
![workman dead with spacefn](./kc60-wm-dead.png)
|
||||
|
||||
## Build
|
||||
|
||||
To build this keymap, simply run `make KEYMAP=workman-dead`.
|
||||
|
||||
## Notes
|
||||
|
||||
* the default layout is `workman` (try it out, it's awesome!), but it can be changed to `qwerty` with the `rebel` key (the function layer won't change though)
|
||||
* `comma` acts as a dead key, that means tapping/holding it will activate the **oneshot** `dead key` layer (marked red in the reference)
|
||||
* hold `space` to access the `function` layer (marked blue in the reference)
|
||||
* hold `tab` to activate the mouse layer
|
||||
* the `function` layer contains mostly osx specific shortcuts
|
||||
* on the right side of the bottom row `alt` and `super` are switched compared to a standard layout
|
After Width: | Height: | Size: 114 KiB |
@ -0,0 +1,183 @@
|
||||
#include "kc60.h"
|
||||
|
||||
#define _WM 0
|
||||
#define _QW 1
|
||||
#define _DK 2
|
||||
#define _FUN 3
|
||||
#define _MS 4
|
||||
|
||||
#define _______ KC_NO
|
||||
#define XXXXXXX KC_TRNS
|
||||
|
||||
#define _DK_ACT 0
|
||||
#define _DK_REL 1
|
||||
#define _KC_COMS 2
|
||||
#define _KC_CENT 3
|
||||
|
||||
#define DK_ACT M(_DK_ACT) // activate dead key layer
|
||||
#define DK_REL M(_DK_REL) // release dead key layer
|
||||
#define KC_COMS M(_KC_COMS) // comma + space
|
||||
#define KC_CENT M(_KC_CENT) // comma + enter
|
||||
#define KC_TABM LT(_MS, KC_TAB) // press for tab, hold for mouse layer
|
||||
#define KC_SPFN LT(_FUN, KC_SPC) // press for space, hold for function layer (aka spacefn)
|
||||
#define KC_DFQW DF(_QW) // set default layer to qwerty
|
||||
#define KC_DFWM DF(_WM) // set default layer to workman
|
||||
#define KC_CMDQ LGUI(KC_Q) // command + q
|
||||
#define KC_CMDD LGUI(KC_D) // command + d
|
||||
#define KC_CMDA LGUI(KC_A) // command + a
|
||||
#define KC_CMDS LGUI(KC_S) // command + s
|
||||
#define KC_CMDZ LGUI(KC_Z) // command + z
|
||||
#define KC_CMDX LGUI(KC_X) // command + x
|
||||
#define KC_CMDC LGUI(KC_C) // command + c
|
||||
#define KC_CMDV LGUI(KC_V) // command + v
|
||||
#define KC_CSTB S(RCTL(KC_TAB)) // shift + control + tab
|
||||
#define KC_C_TB RCTL(KC_TAB) // control + tab
|
||||
#define KC_C_LF RCTL(KC_LEFT) // control + left
|
||||
#define KC_C_RT RCTL(KC_RGHT) // control + right
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
// Workman
|
||||
/*
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| Bsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab/M| Q| D| R| W| B| J| F| U| P| ;| [| ]| \ |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| H| T| G| Y| N| E| O| I| '| Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Z| X| M| C| V| K| L| ,| .| /| Shift |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | Alt | GUI | Space/FN | Alt | GUI | Ctrl | qwerty |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_WM] = KEYMAP( /* Workman */
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \
|
||||
KC_TABM, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, \
|
||||
KC_LCTL, KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I, KC_QUOT, _______, KC_ENT, \
|
||||
KC_LSFT, _______, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, DK_ACT, KC_DOT, KC_SLSH, _______, KC_RSFT, \
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPFN, KC_RALT, KC_RGUI, KC_RCTL, KC_DFQW),
|
||||
|
||||
// QWERTY
|
||||
/*
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| Bsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab/M| Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | Alt | GUI | Space/FN | Alt | GUI | Ctrl | workman |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_QW] = KEYMAP( /* QWERTY */
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \
|
||||
KC_TABM, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, _______, KC_ENT, \
|
||||
KC_LSFT, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, DK_ACT, KC_DOT, KC_SLSH, _______, KC_RSFT, \
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_SPFN, KC_RALT, KC_RGUI, KC_RCTL, KC_DOWN),
|
||||
|
||||
// dead key layer
|
||||
/*
|
||||
* ,-----------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | Bsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | %| &| ?| +| @| $| _| [| ]| !| ~| ^| |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | #| (| =| 0| {| }| 1| *| )| -| `| Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | 6| 7| 8| 9| || \| 2| 3| 4| 5| |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | Alt | GUI | , | Alt | GUI | Ctrl | |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_DK] = KEYMAP( /* dead key layer */
|
||||
XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BSPC, \
|
||||
XXXXXXX, KC_PERC, KC_AMPR, KC_QUES, KC_PLUS, KC_AT, KC_DLR, KC_UNDS, KC_LBRC, KC_RBRC, KC_EXLM, KC_TILD, KC_CIRC, _______, \
|
||||
_______, KC_HASH, KC_LPRN, KC_EQL, KC_0, KC_LCBR, KC_RCBR, KC_1, KC_ASTR, KC_RPRN, KC_MINS, KC_GRV, _______, KC_CENT, \
|
||||
_______, _______, KC_6, KC_7, KC_8, KC_9, KC_PIPE, KC_BSLS, KC_2, DK_REL, KC_4, KC_5, _______, _______, \
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_COMS, KC_RALT, KC_RGUI, KC_RCTL, _______),
|
||||
|
||||
// function layer
|
||||
/*
|
||||
* ,-----------------------------------------------------------.
|
||||
* | | F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|Del |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Esc | Cq| Cd|cstb|ctb| | |pgd| up|pgu| | | |ins |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Ca| Cs|clt|crt| | | lt| dw| rt|home|end| Bsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Cz| Cx| | Cc| Cv| V-| V+|mute| | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | Alt | GUI | | Alt | GUI | Ctrl | Reset |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_FUN] = KEYMAP( /* function layer */
|
||||
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, \
|
||||
KC_ESC, KC_CMDQ, KC_CMDD, KC_CSTB, KC_C_TB, _______, _______, KC_PGDN, KC_UP, KC_PGUP, _______, _______, _______, KC_INS, \
|
||||
KC_LSFT, KC_CMDA, KC_CMDS, KC_C_LF, KC_C_RT, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, KC_END, _______, KC_BSPC, \
|
||||
KC_LSFT, _______, KC_CMDZ, KC_CMDX, _______, KC_CMDC, KC_CMDV, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, \
|
||||
KC_LCTL, KC_LALT, KC_LGUI, KC_TRNS, KC_RALT, KC_RGUI, KC_RCTL, RESET),
|
||||
|
||||
// mouse layer
|
||||
/*
|
||||
* ,-----------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |fast|med|slow| | | | | up| | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | lt| dw| rt| rc| | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | lc | | | | |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_MS] = KEYMAP( /* mouse layer */
|
||||
XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
XXXXXXX, KC_ACL2, KC_ACL1, KC_ACL0, _______, _______, _______, _______, KC_MS_U, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN2, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, KC_BTN1, _______, _______, _______, _______),
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
switch(id) {
|
||||
case _KC_COMS:
|
||||
if (record->event.pressed) {
|
||||
return MACRO(T(COMM), T(SPC), END); // comma + space
|
||||
}
|
||||
break;
|
||||
case _KC_CENT:
|
||||
if (record->event.pressed) {
|
||||
return MACRO(T(COMM), T(ENT), END); // comma + enter
|
||||
}
|
||||
break;
|
||||
case _DK_ACT:
|
||||
if (record->event.pressed) {
|
||||
if (keyboard_report->mods & MOD_BIT(KC_LSFT) || keyboard_report->mods & MOD_BIT(KC_RSFT)) { // act as comma when shift is pressed (eg <)
|
||||
register_code(KC_COMM);
|
||||
} else { // activate oneshot dead key layer otherwise
|
||||
layer_on(_DK);
|
||||
set_oneshot_layer(_DK, ONESHOT_START);
|
||||
}
|
||||
} else { // make sure to deactive dead key layer on key release
|
||||
clear_oneshot_layer_state(ONESHOT_PRESSED);
|
||||
unregister_code(KC_COMM);
|
||||
}
|
||||
break;
|
||||
case _DK_REL:
|
||||
if (record->event.pressed) { // act as 3 on keypress
|
||||
register_code(KC_3);
|
||||
} else { // make sure to deactive dead key layer on key release
|
||||
clear_oneshot_layer_state(ONESHOT_PRESSED);
|
||||
unregister_code(KC_3);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return MACRO_NONE;
|
||||
};
|
@ -0,0 +1,25 @@
|
||||
|
||||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the makefile.mk in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = no # 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.
|
||||
TAP_DANCE_ENABLE = yes # Enables the double-tap functionality of keys
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
@ -0,0 +1,44 @@
|
||||
##Design goals:
|
||||
1. Arrow keys always available.
|
||||
2. As close to a to my US layout 107-key QWERTY keyboard as I could manage, (i.e. as few arbitrary decisions as possible).
|
||||
3. Togglable DVORAK keyboard.
|
||||
4. most frequently used things in the easiest to reach places.
|
||||
5. Ability to game on it, just for fun.
|
||||
|
||||
My layout differs from most in the placement the ARROW keys, `ESC`, VOL keys, use of double-tap `CAPS`, and the GAME LOCK function.
|
||||
|
||||
I put the layer buttons in the usual spots. I originally wanted only function/symbols layer, but that proved detrimental. I use some timed press actions to save some space, but this has been accounted for, (see GAME LOCK below). I'm not fully satisfied with the current product (see NOTES below), so it may change in the future.
|
||||
|
||||
##Effective layers:
|
||||
* Default later is obviously your letters and modifiers.
|
||||
* Lower layer [NUMBER] is your numbers and punctuation.
|
||||
* Upper layer [ACTION] is your symbols and actions.
|
||||
* Function layer is the infrequently used function keys, layout toggle, game lock, and reset.
|
||||
|
||||
There is also a toggle for the DVORAK/QWERTY layers, but in normal typing this is not of concern.
|
||||
|
||||
###Special keys:
|
||||
* `RSHFT` and `ENTER` are combined. Tap once for `ENTER` and hold for `RSHFT`. `ENTER` will be registered on release if released within 200 ms, else `RSHFT` is registered starting at 201 ms until release.
|
||||
* If for some reason, this interferes with the normal usage of the `ENTER` key in any way, (some problem that may never happen), I have added a regular non-modified `ENTER` key on the same key in the [ACTION] layer.
|
||||
* `LSHFT` and `CAPS` are also combined. The key works like a normal `LSHFT` unless double-tapped, in which case it counts as `CAPS`. This functionality unfortunately delays all key presses by at most 200 ms, but I have added ways to disable this both temporarily or permanently, described below.
|
||||
* A failsafe `CAPS` key is on the same key in the [ACTION] layer.
|
||||
* There are `UNDO`, `CUT`, `COPY`, and `PASTE` keys. This was intended to be a universal way to use these commands since in macOS cut is `⌘ + C` but in Windows it is `⌃ + C`. Unfortunately these special keys only work in Windows. ¯\\\_(ツ)\_/¯
|
||||
|
||||
##Game lock:
|
||||
**TL;DR** the game lock toggle disables the double-tap `CAPS`, and disables `GUI` keys (WINDOWS key).
|
||||
|
||||
I wished for this keyboard to be fully usable in the most demanding of games. The most demanding game I know of is ARMA 3 which has a binding to practically every individual key of a 107-key keyboard. This means I need to have pretty much every key possible somewhere. I also wanted the keyboard to be responsive in games for every critical keypress. This means having a way to disable features that introduce an inherent delay to registering keys, such as double-tap.
|
||||
|
||||
I do not expect to see this used by the pros, but I enjoyed making it. As for use in ARMA 3, I got a little ways into the APEX campaign, but I found a few flaws. For Example, I cannot enable my HUD GPS since that requires `RCTRL`+`M` but `RCTRL` is not bound. The obvious fix is to rebind the action to a new key, but I still take this as a shortcoming of my layout.
|
||||
|
||||
###If you wish to disable double-tap
|
||||
####Disable it temporarily
|
||||
Turn on the game lock. While on, it registers as normal `LSHFT` and has no delay. Whether in game mode or not, `CAPS` is on the same key in the [ACTION] layer.
|
||||
|
||||
####Disable it permanently
|
||||
Open the `Makefile` and set `TAP_DANCE_ENABLE = no`. I wrote the layout to compensate for this change, and no further changes to the code should be necessary. Whether or not it's disabled, `CAPS` is on the same key in the [ACTION] layer.
|
||||
|
||||
##Notes:
|
||||
* `ALT` and `GUI` are reversed compared to the normal US layout. I will also be using my Planck on my mac, and that's the standard in the Apple ecosystem. I may add a special compiler flag in the future to swap the two.
|
||||
* The DVORAK `Z` key is to the right of the `S` key instead of under it as part of a compromise I made to keep the ARROW keys available on the default layer. I prioritize the ARROW keys, so the DVORAK layout is the one to suffer.
|
||||
* I also support the little tones that the default Planck layout features, identical to them too, (minus those for layouts I don't support). To enable it, open the `Makefile` and set `AUDIO_ENABLE = yes`.
|
@ -0,0 +1,91 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* Tap-dance interval definition */
|
||||
#define TAPPING_TERM 200
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6060
|
||||
#define MANUFACTURER Ortholinear Keyboards
|
||||
#define PRODUCT The Planck Keyboard
|
||||
#define DESCRIPTION A compact ortholinear keyboard
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 4
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
/* Planck PCB default pin-out */
|
||||
#define MATRIX_ROW_PINS { D0, D5, B5, B6 }
|
||||
#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define BACKLIGHT_PIN B7
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCING_DELAY 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* key combination for command */
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
||||
)
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
#ifdef SUBPROJECT_rev3
|
||||
#include "rev3/config.h"
|
||||
#endif
|
||||
#ifdef SUBPROJECT_rev4
|
||||
#include "rev4/config.h"
|
||||
#endif
|
||||
|
||||
#endif
|
After Width: | Height: | Size: 151 KiB |
@ -0,0 +1,258 @@
|
||||
// Layout picture at http://www.keyboard-layout-editor.com/#/gists/125febfad6960add078e6f14256539b6
|
||||
|
||||
#include "planck.h"
|
||||
#include "action_layer.h"
|
||||
#ifdef AUDIO_ENABLE
|
||||
#include "audio.h"
|
||||
#endif
|
||||
#include "eeconfig.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _DVORAK 1
|
||||
#define _LOCKED 2
|
||||
#define _NUMBER 3
|
||||
#define _ACTION 4
|
||||
#define _FUNCTN 5
|
||||
|
||||
enum planck_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
DVORAK,
|
||||
NUMBER,
|
||||
ACTION
|
||||
};
|
||||
|
||||
// Key code names
|
||||
#define SFT_ENT FUNC(0) // Tap for enter, hold for right shift
|
||||
#define LOCK FUNC(1)
|
||||
#define KC_PSTE KC_PASTE
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
#define SFT_CAP TD(0) // Left shift, double tap for caps
|
||||
#endif
|
||||
#ifndef TAP_DANCE_ENABLE
|
||||
#define SFT_CAP KC_LSFT // Regular left shift
|
||||
#endif
|
||||
|
||||
// Tap Dance Definitions
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
[0] = ACTION_TAP_DANCE_DOUBLE(KC_LSFT, KC_CAPS)
|
||||
};
|
||||
#endif
|
||||
|
||||
// Function definitions
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_ENT),
|
||||
[1] = ACTION_LAYER_TOGGLE(_LOCKED)
|
||||
};
|
||||
|
||||
// Layout definitions
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* QWERTY
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Esc | Q | W | E | R | T | Y | U | I | O | P | BKSP |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Tab | A | S | D | F | G | H | J | K | L | ; | ' |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* |*Shift| Z | X | C | V | B | N | M | , | . | Up |SftEnt|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Ctrl | Alt | Cmd | Vol- | ACTN | Space | NUMS | Vol+ | Left | Down | Left |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = {
|
||||
{KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
|
||||
{KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT},
|
||||
{SFT_CAP, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, SFT_ENT},
|
||||
{KC_LCTL, KC_LALT, KC_LGUI, KC_VOLD, ACTION, KC_SPC, KC_SPC, NUMBER, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT}
|
||||
},
|
||||
|
||||
/* DVORAK
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | ' | , | . | P | Y | F | G | C | R | L | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | A | O | E | U | I | D | H | T | N | S | Z |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | ; | Q | J | K | X | B | M | W | V | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_DVORAK] = {
|
||||
{_______, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, _______},
|
||||
{_______, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_Z },
|
||||
{_______, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, _______, _______},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}
|
||||
},
|
||||
|
||||
/* LOCK
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Shift| | | | | | | | | | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | NULL | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOCKED] = {
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
|
||||
{KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______},
|
||||
{_______, _______, XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, _______}
|
||||
},
|
||||
|
||||
/* NUMBERS
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | ~ | NULL | NULL | NULL | | | _ | + | { | } | ? | / |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | ` | NULL | NULL | NULL | \ | - | = | [ | ] | | |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | NULL | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_NUMBER] = {
|
||||
{_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______},
|
||||
{_______, KC_TILD, XXXXXXX, XXXXXXX, XXXXXXX, KC_PIPE, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_QUES, KC_SLSH},
|
||||
{_______, KC_GRV, XXXXXXX, XXXXXXX, XXXXXXX, KC_BSLS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______, _______},
|
||||
{_______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______}
|
||||
},
|
||||
|
||||
/* ACTIONS
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | CAPS | Undo | Cut | Copy | Paste| NULL | NULL | NULL | NULL | NULL | PgUp | Enter|
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | Mute | | NULL | | NULL | Home | PgDn | End |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ACTION] = {
|
||||
{_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL },
|
||||
{_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX},
|
||||
{KC_CAPS, KC_UNDO, KC_CUT, KC_COPY, KC_PSTE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGUP, KC_ENT },
|
||||
{_______, _______, _______, KC_MUTE, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, KC_HOME, KC_PGDN, KC_END }
|
||||
},
|
||||
|
||||
/* FUNCTIONS
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | F13 | F14 | F15 | F16 | F17 | F18 | F19 | F20 | F21 | F22 | F23 | F24 |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | NULL | NULL | NULL | NULL | NULL |QWERTY|DVORAK| NULL | NULL | NULL | NULL | NULL |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Reset| NULL | Lock | NULL | | NULL | | NULL | NULL | NULL | NULL |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FUNCTN] = {
|
||||
{KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 },
|
||||
{KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24 },
|
||||
{XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QWERTY, DVORAK, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX},
|
||||
{RESET, XXXXXXX, LOCK, XXXXXXX, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
||||
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
|
||||
float tone_dvorak[][2] = SONG(DVORAK_SOUND);
|
||||
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
|
||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
||||
#endif
|
||||
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case QWERTY:
|
||||
if (record->event.pressed) {
|
||||
if (IS_LAYER_ON(_DVORAK)) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_qwerty, false, 0);
|
||||
#endif
|
||||
layer_off(_DVORAK);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DVORAK:
|
||||
if (record->event.pressed) {
|
||||
if (!IS_LAYER_ON(_DVORAK)) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_dvorak, false, 0);
|
||||
#endif
|
||||
layer_on(_DVORAK);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case NUMBER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_NUMBER);
|
||||
update_tri_layer(_NUMBER, _ACTION, _FUNCTN);
|
||||
} else {
|
||||
layer_off(_NUMBER);
|
||||
update_tri_layer(_NUMBER, _ACTION, _FUNCTN);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case ACTION:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_ACTION);
|
||||
update_tri_layer(_NUMBER, _ACTION, _FUNCTN);
|
||||
} else {
|
||||
layer_off(_ACTION);
|
||||
update_tri_layer(_NUMBER, _ACTION, _FUNCTN);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_init_user(void) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
startup_user();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
void startup_user()
|
||||
{
|
||||
_delay_ms(20); // gets rid of tick
|
||||
PLAY_NOTE_ARRAY(tone_startup, false, 0);
|
||||
}
|
||||
|
||||
void shutdown_user()
|
||||
{
|
||||
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
|
||||
_delay_ms(150);
|
||||
stop_all_notes();
|
||||
}
|
||||
|
||||
void music_on_user(void)
|
||||
{
|
||||
music_scale_user();
|
||||
}
|
||||
|
||||
void music_scale_user(void)
|
||||
{
|
||||
PLAY_NOTE_ARRAY(music_scale, false, 0);
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,314 @@
|
||||
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
|
||||
// this is the style you want to emulate.
|
||||
|
||||
#include "planck.h"
|
||||
#include "action_layer.h"
|
||||
#ifdef AUDIO_ENABLE
|
||||
#include "audio.h"
|
||||
#endif
|
||||
#include "eeconfig.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _COLEMAK 1
|
||||
#define _DVORAK 2
|
||||
#define _LOWER 3
|
||||
#define _RAISE 4
|
||||
#define _PLOVER 5
|
||||
#define _ADJUST 16
|
||||
|
||||
enum planck_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
COLEMAK,
|
||||
DVORAK,
|
||||
PLOVER,
|
||||
LOWER,
|
||||
RAISE,
|
||||
BACKLIT,
|
||||
EXT_PLV
|
||||
};
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Qwerty
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | S | D | F | G | H | J | K | L | ; | " |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | N | M | , | . | / |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Ctrl | GUI | | Alt |Lower | Space |Raise |AltGr | [ | ] | \ |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_QWERTY] = {
|
||||
{KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
|
||||
{KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT},
|
||||
{KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT },
|
||||
{KC_LCTL, KC_LGUI, _______, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_RALT, KC_LBRC, KC_RBRC, KC_BSLS}
|
||||
},
|
||||
|
||||
/* Colemak
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | R | S | T | D | H | N | E | I | O | " |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| Z | X | C | V | B | K | M | , | . | / |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_COLEMAK] = {
|
||||
{KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC},
|
||||
{KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT},
|
||||
{KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT },
|
||||
{BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
|
||||
},
|
||||
|
||||
/* Dvorak
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | Esc | A | O | E | U | I | D | H | T | N | S | / |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_DVORAK] = {
|
||||
{KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC},
|
||||
{KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH},
|
||||
{KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT },
|
||||
{BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
|
||||
},
|
||||
|
||||
/* Lower
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | Home | PgDwn| PgUp | End | | |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |Insert|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Brite| | | | | | | | | | Del |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_LOWER] = {
|
||||
{KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12},
|
||||
{_______,_______,_______,_______,_______,_______,KC_HOME,KC_PGDN,KC_PGUP,KC_END,_______,_______},
|
||||
{_______, _______, _______, _______, _______, _______, _______,_______,_______,_______, _______, KC_INS},
|
||||
{BACKLIT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL}
|
||||
},
|
||||
|
||||
/* Raise
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | - | = |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | | | | | Left | Down | Up | Right| | ` |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | | | | | | Mute | Vol+ | Vol- | | | |Insert|
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | Prev | Play | Next | Del |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_RAISE] = {
|
||||
{KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL},
|
||||
{_______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_GRV},
|
||||
{_______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, KC_VOLD, _______, _______, _______, KC_INS},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_DEL}
|
||||
},
|
||||
|
||||
/* Plover layer (http://opensteno.org)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | # | # | # | # | # | # | # | # | # | # | # | # |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | S | T | P | H | * | * | F | P | L | T | D |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* |TogOut| S | K | W | R | * | * | R | B | G | S | Z |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | Exit | | | A | O | | E | U | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
|
||||
[_PLOVER] = {
|
||||
{KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 },
|
||||
{XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC},
|
||||
{XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT},
|
||||
{EXT_PLV, XXXXXXX, XXXXXXX, KC_C, KC_V, XXXXXXX, XXXXXXX, KC_N, KC_M, XXXXXXX, XXXXXXX, XXXXXXX}
|
||||
},
|
||||
|
||||
/* Adjust (Lower + Raise)
|
||||
* ,-----------------------------------------------------------------------------------.
|
||||
* | | Reset| | | | | | | | | | Del |
|
||||
* |------+------+------+------+------+-------------+------+------+------+------+------|
|
||||
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak|Plover| |
|
||||
* |------+------+------+------+------+------|------+------+------+------+------+------|
|
||||
* | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | |
|
||||
* |------+------+------+------+------+------+------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | |
|
||||
* `-----------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_ADJUST] = {
|
||||
{_______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL},
|
||||
{_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______},
|
||||
{_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
||||
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
|
||||
float tone_dvorak[][2] = SONG(DVORAK_SOUND);
|
||||
float tone_colemak[][2] = SONG(COLEMAK_SOUND);
|
||||
float tone_plover[][2] = SONG(PLOVER_SOUND);
|
||||
float tone_plover_gb[][2] = SONG(PLOVER_GOODBYE_SOUND);
|
||||
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
|
||||
|
||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
||||
#endif
|
||||
|
||||
|
||||
void persistant_default_layer_set(uint16_t default_layer) {
|
||||
eeconfig_update_default_layer(default_layer);
|
||||
default_layer_set(default_layer);
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case QWERTY:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_qwerty, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_QWERTY);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case COLEMAK:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_colemak, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_COLEMAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DVORAK:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_dvorak, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_DVORAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case BACKLIT:
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_RSFT);
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
backlight_step();
|
||||
#endif
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case PLOVER:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
stop_all_notes();
|
||||
PLAY_NOTE_ARRAY(tone_plover, false, 0);
|
||||
#endif
|
||||
layer_off(_RAISE);
|
||||
layer_off(_LOWER);
|
||||
layer_off(_ADJUST);
|
||||
layer_on(_PLOVER);
|
||||
if (!eeconfig_is_enabled()) {
|
||||
eeconfig_init();
|
||||
}
|
||||
keymap_config.raw = eeconfig_read_keymap();
|
||||
keymap_config.nkro = 1;
|
||||
eeconfig_update_keymap(keymap_config.raw);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case EXT_PLV:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_plover_gb, false, 0);
|
||||
#endif
|
||||
layer_off(_PLOVER);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_init_user(void) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
startup_user();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
void startup_user()
|
||||
{
|
||||
_delay_ms(20); // gets rid of tick
|
||||
PLAY_NOTE_ARRAY(tone_startup, false, 0);
|
||||
}
|
||||
|
||||
void shutdown_user()
|
||||
{
|
||||
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
|
||||
_delay_ms(150);
|
||||
stop_all_notes();
|
||||
}
|
||||
|
||||
void music_on_user(void)
|
||||
{
|
||||
music_scale_user();
|
||||
}
|
||||
|
||||
void music_scale_user(void)
|
||||
{
|
||||
PLAY_NOTE_ARRAY(music_scale, false, 0);
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
# 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 = yes # Enable keyboard backlight functionality
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = yes # 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.
|
||||
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
@ -0,0 +1,231 @@
|
||||
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
|
||||
// this is the style you want to emulate.
|
||||
|
||||
#include "planck.h"
|
||||
#include "action_layer.h"
|
||||
#ifdef AUDIO_ENABLE
|
||||
#include "audio.h"
|
||||
#endif
|
||||
#include "eeconfig.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _QWERTY 0
|
||||
#define _COLEMAK 1
|
||||
#define _DVORAK 2
|
||||
#define _LOWER 3
|
||||
#define _RAISE 4
|
||||
#define _PLOVER 5
|
||||
#define _ADJUST 16
|
||||
|
||||
enum planck_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
COLEMAK,
|
||||
DVORAK,
|
||||
PLOVER,
|
||||
LOWER,
|
||||
RAISE,
|
||||
BACKLIT,
|
||||
EXT_PLV
|
||||
};
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = {
|
||||
{KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_DEL, KC_Y, KC_U, KC_I, KC_O, KC_P },
|
||||
{KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_TAB, KC_H, KC_J, KC_K, KC_L, KC_SCLN},
|
||||
{KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH},
|
||||
{KC_LGUI, _______, _______, KC_LALT, LOWER, KC_SPC, KC_ENT, KC_SPC, RAISE, KC_RALT, _______, KC_RGUI}
|
||||
},
|
||||
[_COLEMAK] = {
|
||||
{KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC},
|
||||
{KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT},
|
||||
{KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT },
|
||||
{BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
|
||||
},
|
||||
[_DVORAK] = {
|
||||
{KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC},
|
||||
{KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH},
|
||||
{KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT },
|
||||
{BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
|
||||
},
|
||||
[_LOWER] = {
|
||||
{KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, _______, KC_6, KC_7, KC_8, KC_9, KC_0},
|
||||
{_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, KC_F6, KC_HOME, KC_PGDN, KC_PGUP, KC_END },
|
||||
{_______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, KC_F12, KC_PLUS, KC_PIPE, KC_LCBR, KC_RCBR},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}
|
||||
},
|
||||
[_RAISE] = {
|
||||
{KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN},
|
||||
{_______, _______, _______, KC_QUOT, KC_MINS, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT},
|
||||
{_______, KC_TILD, KC_GRV, KC_PLUS, KC_EQL, KC_PIPE, _______, KC_BSLS, KC_LBRC, KC_RBRC, KC_LCBR, KC_RCBR},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MPLY}
|
||||
},
|
||||
|
||||
[_PLOVER] = {
|
||||
{KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 },
|
||||
{XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC},
|
||||
{XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT},
|
||||
{EXT_PLV, XXXXXXX, XXXXXXX, KC_C, KC_V, XXXXXXX, XXXXXXX, KC_N, KC_M, XXXXXXX, XXXXXXX, XXXXXXX}
|
||||
},
|
||||
[_ADJUST] = {
|
||||
{_______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL},
|
||||
{_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______},
|
||||
{_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______},
|
||||
{_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
||||
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
|
||||
float tone_dvorak[][2] = SONG(DVORAK_SOUND);
|
||||
float tone_colemak[][2] = SONG(COLEMAK_SOUND);
|
||||
float tone_plover[][2] = SONG(PLOVER_SOUND);
|
||||
float tone_plover_gb[][2] = SONG(PLOVER_GOODBYE_SOUND);
|
||||
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
|
||||
|
||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
||||
#endif
|
||||
|
||||
|
||||
void persistant_default_layer_set(uint16_t default_layer) {
|
||||
eeconfig_update_default_layer(default_layer);
|
||||
default_layer_set(default_layer);
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case QWERTY:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_qwerty, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_QWERTY);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case COLEMAK:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_colemak, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_COLEMAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DVORAK:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_dvorak, false, 0);
|
||||
#endif
|
||||
persistant_default_layer_set(1UL<<_DVORAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_LOWER);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RAISE:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
} else {
|
||||
layer_off(_RAISE);
|
||||
update_tri_layer(_LOWER, _RAISE, _ADJUST);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case BACKLIT:
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_RSFT);
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
backlight_step();
|
||||
#endif
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case PLOVER:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
stop_all_notes();
|
||||
PLAY_NOTE_ARRAY(tone_plover, false, 0);
|
||||
#endif
|
||||
layer_off(_RAISE);
|
||||
layer_off(_LOWER);
|
||||
layer_off(_ADJUST);
|
||||
layer_on(_PLOVER);
|
||||
if (!eeconfig_is_enabled()) {
|
||||
eeconfig_init();
|
||||
}
|
||||
keymap_config.raw = eeconfig_read_keymap();
|
||||
keymap_config.nkro = 1;
|
||||
eeconfig_update_keymap(keymap_config.raw);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case EXT_PLV:
|
||||
if (record->event.pressed) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_plover_gb, false, 0);
|
||||
#endif
|
||||
layer_off(_PLOVER);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_init_user(void) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
startup_user();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
||||
void startup_user()
|
||||
{
|
||||
_delay_ms(20); // gets rid of tick
|
||||
PLAY_NOTE_ARRAY(tone_startup, false, 0);
|
||||
}
|
||||
|
||||
void shutdown_user()
|
||||
{
|
||||
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
|
||||
_delay_ms(150);
|
||||
stop_all_notes();
|
||||
}
|
||||
|
||||
void music_on_user(void)
|
||||
{
|
||||
music_scale_user();
|
||||
}
|
||||
|
||||
void music_scale_user(void)
|
||||
{
|
||||
PLAY_NOTE_ARRAY(music_scale, false, 0);
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,4 @@
|
||||
# Split Layout
|
||||
Inspired by TECK
|
||||
|
||||
[Layout](http://www.keyboard-layout-editor.com/##@_switchMount=cherry&switchBrand=gateron&switchType=KS-3-Tea&pcb:true%3B&@_c=%23e6e6e6&t=%23757575&a:7&fa@:5%3B%3B&=Esc&_a:4&fa@:5&:0&:0&:0&:0&:0&:0&:0&:0&:5%3B%3B&=%0A%0A!%0A1%0A%0A%0A%0A%0A%0AQ&=%0A%0A%2F@%0A2%0A%0A%0A%0A%0A%0AW&=%0A%0A%23%0A3%0A%0A%0A%0A%0A%0AE&=%0A%0A$%0A4%0A%0A%0A%0A%0A%0AR&=%0A%0A%25%0A5%0A%0A%0A%0A%0A%0AT&_c=%23e3b02d&a:7%3B&=Del&_c=%23e6e6e6&a:4%3B&=%0A%0A%5E%0A6%0A%0A%0A%0A%0A%0AY&=%0A%0A%2F&%0A7%0A%0A%0A%0A%0A%0AU&=%0A%0A*%0A8%0A%0A%0A%0A%0A%0AI&=%0A%0A(%0A9%0A%0A%0A%0A%0A%0AO&=%0A%0A)%0A0%0A%0A%0A%0A%0A%0AP%3B&@_a:7%3B&=Shift&_a:4%3B&=%0A%0A%0AF1%0A%0A%0A%0A%0A%0AA&=%0A%0A%0AF2%0A%0A%0A%0A%0A%0AS&=%0A%0A'%0AF3%0A%0A%0A%0A%0A%0AD&_c=%23e3b02d&n:true%3B&=%0A%0A-%0AF4%0A%0A%0A%0A%0A%0AF&_c=%23e6e6e6%3B&=%0A%0A%0AF5%0A%0A%0A%0A%0A%0AG&_c=%23e3b02d&a:7%3B&=Tab&_c=%23e6e6e6&a:4%3B&=%0A%0A%0AF6%0A%0A%0A%0A%0A%0AH&_c=%23e3b02d&n:true%3B&=%0A%0A%2F&larr%2F%3B%0AHom%0A%0A%0A%0A%0A%0AJ&_c=%23e6e6e6%3B&=%0A%0A%2F&darr%2F%3B%0APgD%0A%0A%0A%0A%0A%0AK&=%0A%0A%2F&uarr%2F%3B%0APgU%0A%0A%0A%0A%0A%0AL&=%0A%0A%2F&rarr%2F%3B%0AEnd%0A%0A%0A%0A%0A%0A%2F%3B%3B&@_a:7%3B&=Ctrl&_a:4%3B&=%0A%0A~%0AF7%0A%0A%0A%0A%0A%0AZ&=%0A%0A%60%0AF8%0A%0A%0A%0A%0A%0AX&=%0A%0A+%0AF9%0A%0A%0A%0A%0A%0AC&=%0A%0A%2F=%0AF10%0A%0A%0A%0A%0A%0AV&=%0A%0A%7C%0AF11%0A%0A%0A%0A%0A%0AB&_c=%23e3b02d&a:7%3B&=BSp&_c=%23e6e6e6&a:4%3B&=%0A%0A%5C%0AF12%0A%0A%0A%0A%0A%0AN&=%0A%0A%5B%0A%0A%0A%0A%0A%0A%0AM&=%0A%0A%5D%0A%0A%0A%0A%0A%0A%0A,&=%0A%0A%7B%0A%0A%0A%0A%0A%0A%0A.&=%0A%0A%7D%0A%0A%0A%0A%0A%0A%0A%2F%2F%3B&@_a:7%3B&=&=&=&=Alt&_c=%23e3b02d%3B&=%2F&dArr%2F%3B&_c=%23e6e6e6%3B&=spc&_c=%23e3b02d%3B&=%2F&crarr%2F%3B&_c=%23e6e6e6%3B&=spc&_c=%23e3b02d%3B&=%2F&uArr%2F%3B&_c=%23e6e6e6%3B&=Alt&=&=)
|
@ -0,0 +1,75 @@
|
||||
|
||||
|
||||
# MCU name
|
||||
#MCU = at90usb1287
|
||||
MCU = atmega32u4
|
||||
|
||||
# Processor frequency.
|
||||
# This will define a symbol, F_CPU, in all source code files equal to the
|
||||
# processor frequency in Hz. You can then use this symbol in your source code to
|
||||
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
|
||||
# automatically to create a 32-bit value in your source code.
|
||||
#
|
||||
# This will be an integer division of F_USB below, as it is sourced by
|
||||
# F_USB after it has run through any CPU prescalers. Note that this value
|
||||
# does not *change* the processor frequency - it should merely be updated to
|
||||
# reflect the processor speed set externally so that the code can use accurate
|
||||
# software delays.
|
||||
F_CPU = 16000000
|
||||
|
||||
|
||||
#
|
||||
# LUFA specific
|
||||
#
|
||||
# Target architecture (see library "Board Types" documentation).
|
||||
ARCH = AVR8
|
||||
|
||||
# Input clock frequency.
|
||||
# This will define a symbol, F_USB, in all source code files equal to the
|
||||
# input clock frequency (before any prescaling is performed) in Hz. This value may
|
||||
# differ from F_CPU if prescaling is used on the latter, and is required as the
|
||||
# raw input clock is fed directly to the PLL sections of the AVR for high speed
|
||||
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
|
||||
# at the end, this will be done automatically to create a 32-bit value in your
|
||||
# source code.
|
||||
#
|
||||
# If no clock division is performed on the input clock inside the AVR (via the
|
||||
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
|
||||
F_USB = $(F_CPU)
|
||||
|
||||
# Interrupt driven control endpoint task(+60)
|
||||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
|
||||
|
||||
|
||||
# Boot Section Size in *bytes*
|
||||
# Teensy halfKay 512
|
||||
# Teensy++ halfKay 1024
|
||||
# Atmel DFU loader 4096
|
||||
# LUFA bootloader 4096
|
||||
# USBaspLoader 2048
|
||||
OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
||||
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE ?= yes # Console for debug(+400)
|
||||
COMMAND_ENABLE ?= yes # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE ?= no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality on B7 by default
|
||||
MIDI_ENABLE ?= no # MIDI controls
|
||||
UNICODE_ENABLE ?= no # Unicode
|
||||
BLUETOOTH_ENABLE ?= no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE ?= no # Audio output on port C6
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../Makefile
|
||||
endif
|
||||
|
||||
|
@ -0,0 +1,164 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2016 Julien Pecqueur <julien@peclu.net>
|
||||
Copyright 2016 Felix Uhl <ifreilicht@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6060
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Massdrop
|
||||
#define PRODUCT S60-X
|
||||
#define DESCRIPTION q.m.k. keyboard firmware for S60-X
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 15
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
|
||||
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
|
||||
#define UNUSED_PINS { F0 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// #define BACKLIGHT_PIN B7
|
||||
// #define BACKLIGHT_BREATHING
|
||||
// #define BACKLIGHT_LEVELS 3
|
||||
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCING_DELAY 5
|
||||
|
||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Force NKRO
|
||||
*
|
||||
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||
* makefile for this to work.)
|
||||
*
|
||||
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||
* until the next keyboard reset.
|
||||
*
|
||||
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||
* fully operational during normal computer usage.
|
||||
*
|
||||
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||
* power-up.
|
||||
*
|
||||
*/
|
||||
//#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* Magic Key Options
|
||||
*
|
||||
* Magic keys are hotkey commands that allow control over firmware functions of
|
||||
* the keyboard. They are best used in combination with the HID Listen program,
|
||||
* found here: https://www.pjrc.com/teensy/hid_listen.html
|
||||
*
|
||||
* The options below allow the magic key functionality to be changed. This is
|
||||
* useful if your keyboard/keypad is missing keys and you want magic key support.
|
||||
*
|
||||
*/
|
||||
|
||||
/* key combination for magic key command */
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
||||
)
|
||||
|
||||
/* control how magic key switches layers */
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
|
||||
|
||||
/* override magic key keymap */
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
|
||||
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
|
||||
//#define MAGIC_KEY_HELP1 H
|
||||
//#define MAGIC_KEY_HELP2 SLASH
|
||||
//#define MAGIC_KEY_DEBUG D
|
||||
//#define MAGIC_KEY_DEBUG_MATRIX X
|
||||
//#define MAGIC_KEY_DEBUG_KBD K
|
||||
//#define MAGIC_KEY_DEBUG_MOUSE M
|
||||
//#define MAGIC_KEY_VERSION V
|
||||
//#define MAGIC_KEY_STATUS S
|
||||
//#define MAGIC_KEY_CONSOLE C
|
||||
//#define MAGIC_KEY_LAYER0_ALT1 ESC
|
||||
//#define MAGIC_KEY_LAYER0_ALT2 GRAVE
|
||||
//#define MAGIC_KEY_LAYER0 0
|
||||
//#define MAGIC_KEY_LAYER1 1
|
||||
//#define MAGIC_KEY_LAYER2 2
|
||||
//#define MAGIC_KEY_LAYER3 3
|
||||
//#define MAGIC_KEY_LAYER4 4
|
||||
//#define MAGIC_KEY_LAYER5 5
|
||||
//#define MAGIC_KEY_LAYER6 6
|
||||
//#define MAGIC_KEY_LAYER7 7
|
||||
//#define MAGIC_KEY_LAYER8 8
|
||||
//#define MAGIC_KEY_LAYER9 9
|
||||
//#define MAGIC_KEY_BOOTLOADER PAUSE
|
||||
//#define MAGIC_KEY_LOCK CAPS
|
||||
//#define MAGIC_KEY_EEPROM E
|
||||
//#define MAGIC_KEY_NKRO N
|
||||
//#define MAGIC_KEY_SLEEP_LED Z
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
#define NO_ACTION_ONESHOT
|
||||
#define NO_ACTION_MACRO
|
||||
#define NO_ACTION_FUNCTION
|
||||
|
||||
#endif
|
@ -0,0 +1,21 @@
|
||||
# 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 = yes # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = no # 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
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
@ -0,0 +1,14 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// keymap needs oneshot functionality
|
||||
#undef NO_ACTION_ONESHOT
|
||||
|
||||
#undef IS_COMMAND
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
||||
)
|
||||
|
||||
#endif
|
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 213 KiB |
After Width: | Height: | Size: 213 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,237 @@
|
||||
/*
|
||||
Copyright 2016 Julien Pecqueur <julien@peclu.net>
|
||||
Copyright 2016 Felix Uhl <ifreilicht@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "s60-x.h"
|
||||
|
||||
//make keymap a little easier to read
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
#define ONESHOT_TAP_TOGGLE 2
|
||||
#define ONESHOT_TIMEOUT 1
|
||||
|
||||
//uncomment to activate dead keys
|
||||
//#define DONT_REVIVE_DEADKEYS 1
|
||||
|
||||
//Function keycodes for better readability
|
||||
//SpaceFN
|
||||
//OneShot LeftShift
|
||||
//GamingMode Lock (disables SpaceFn and OneShot LShift)
|
||||
//Function
|
||||
//Mute microphone
|
||||
#define KC_SPACEFN KC_FN0
|
||||
#define KC_OSLS KC_FN3
|
||||
#define KC_GMLK KC_FN1
|
||||
#define KC_FUNC KC_FN2
|
||||
#define MICMUTE RCTL(KC_LCTL)
|
||||
|
||||
enum function_codes {
|
||||
F_SPACEFN = 0,
|
||||
F_OSLS = 3,
|
||||
F_GMLK = 1,
|
||||
F_FUNC = 2
|
||||
};
|
||||
|
||||
enum layer_names {
|
||||
DEFAULT,
|
||||
GAMING,
|
||||
FUNCTION
|
||||
};
|
||||
|
||||
enum languages {
|
||||
GERMAN
|
||||
};
|
||||
|
||||
#define LANGUAGE GERMAN
|
||||
|
||||
enum custom_keycodes {
|
||||
KC_CM_A = SAFE_RANGE,
|
||||
// KC_CM_B,
|
||||
KC_CM_C,
|
||||
// KC_CM_D,
|
||||
KC_CM_E,
|
||||
// KC_CM_F,
|
||||
KC_CM_G,
|
||||
// KC_CM_H,
|
||||
KC_CM_I,
|
||||
// KC_CM_J,
|
||||
KC_CM_K,
|
||||
KC_CM_L,
|
||||
KC_CM_M,
|
||||
KC_CM_N,
|
||||
KC_CM_O,
|
||||
KC_CM_P,
|
||||
// KC_CM_Q,
|
||||
KC_CM_R,
|
||||
KC_CM_S,
|
||||
// KC_CM_T,
|
||||
KC_CM_U,
|
||||
// KC_CM_V,
|
||||
KC_CM_W,
|
||||
// KC_CM_X,
|
||||
KC_CM_Y,
|
||||
KC_CM_Z
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Layout 0: Default Layer
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \|Del|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Z| U| I| O| P| [| ]|BckSp|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Y| X| C| V| B| N| M| ,| .| /| Up |RSft|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Fn2 |Gui |Alt | SpaceFn |Alt |Left|Down|Right|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[DEFAULT] = KEYMAP(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL, \
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \
|
||||
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, \
|
||||
KC_LSFT, KC_NUBS, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, KC_UP, KC_RSFT, \
|
||||
KC_FUNC, KC_LGUI, KC_LALT, KC_SPACEFN, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/* Layout 1: Gaming Layer, SpaceFn disabled
|
||||
* ,-----------------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | | | | |Fn1 |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |RSft| | Space | | | | |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[GAMING] = KEYMAP(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_GMLK, \
|
||||
_______, KC_RSFT, _______, KC_SPC, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
/* Layout 2: Function Layer
|
||||
* MicMute requires special software to be installed. Check readme.md for more information
|
||||
* ,-----------------------------------------------------------.
|
||||
* |` | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|RES|
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |Prv|Ply|Nxt| Ü | | Ö | |Prt|Slk|Pau |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | Ä | ß | |Vl-|Mut|Vl+| | | | | |PEnt |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |MicMut|Cal| | | | |Pau |PUp |Fn1 |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | |Home|PDn |End |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[FUNCTION] = KEYMAP(
|
||||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, RESET, \
|
||||
_______, _______, KC_CM_W, KC_CM_E, KC_MPRV, KC_MPLY, KC_MNXT, KC_CM_U, KC_CM_I, KC_CM_O, KC_CM_P, KC_PSCR, KC_SLCK, KC_PAUS, \
|
||||
_______, KC_CM_A, KC_CM_S, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, KC_CM_K, KC_CM_L, _______, _______, _______, KC_PENT, \
|
||||
_______, _______, KC_CM_Y, _______, KC_CM_C, MICMUTE, KC_CALC, KC_CM_N, KC_CM_M, _______, _______, _______, _______, KC_PGUP, KC_GMLK, \
|
||||
_______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
|
||||
),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[F_SPACEFN] = ACTION_LAYER_TAP_KEY(2, KC_SPACE), // SpaceFn layout 1
|
||||
[F_GMLK] = ACTION_LAYER_TOGGLE(1), // Disable SpaceFn and Oneshot Shift
|
||||
[F_FUNC] = ACTION_LAYER_MOMENTARY(2), // SpaceFn layout 1
|
||||
[F_OSLS] = ACTION_MODS_ONESHOT(MOD_LSFT) // Oneshot Leftshift
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
return MACRO_NONE;
|
||||
};
|
||||
|
||||
void matrix_init_user(void) {
|
||||
|
||||
}
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
|
||||
}
|
||||
|
||||
bool process_german(uint16_t keycode, keyrecord_t *record) {
|
||||
uint16_t send_code = 0;
|
||||
if (record->event.pressed) {
|
||||
switch (keycode) {
|
||||
case KC_CM_A:
|
||||
send_code = KC_Q;
|
||||
break;
|
||||
case KC_CM_O:
|
||||
send_code = KC_P;
|
||||
break;
|
||||
case KC_CM_U:
|
||||
send_code = KC_Y;
|
||||
break;
|
||||
case KC_CM_S:
|
||||
send_code = KC_S;
|
||||
break;
|
||||
}
|
||||
|
||||
if (send_code == 0) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
register_code(KC_RALT);
|
||||
register_code(send_code);
|
||||
unregister_code(send_code);
|
||||
unregister_code(KC_RALT);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
//revive dead keys
|
||||
#ifndef DONT_REVIVE_DEADKEYS
|
||||
bool shift_active = keyboard_report->mods & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_LSFT));
|
||||
bool altgr_active = keyboard_report->mods & (MOD_BIT(KC_RALT));
|
||||
if ((keycode == KC_QUOT && !altgr_active) ||
|
||||
keycode == KC_GRV ||
|
||||
(keycode == KC_6 && shift_active))
|
||||
{
|
||||
if (record->event.pressed) {
|
||||
register_code(keycode);
|
||||
unregister_code(keycode);
|
||||
register_code(KC_SPACE);
|
||||
unregister_code(KC_SPACE);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
#if LANGUAGE == GERMAN
|
||||
return process_german(keycode, record);
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# ANSI_QWERTZ
|
||||
|
||||
[Click here to go to the layers directly.](readme.md#1-layers)
|
||||
|
||||
This keymap was specifically designed to support keycaps with ANSI layout and legends, while retaining the possibility of inputting characters
|
||||
with diacritics that are normally not used in the english language.
|
||||
|
||||
It currently relies on the US-International keyboard layout, which can be installed in any current operating system without the use of third party hardware.
|
||||
|
||||
##0 Features
|
||||
* Input of letters with diacritics on familiar QWERTZ layout
|
||||
* Support for ANSI-legend keycaps
|
||||
* Option to "revive" all dead keys
|
||||
* Dedicated arrow cluster
|
||||
* SpaceFN for easy access to Function keys and diacritic input
|
||||
* Locking "Gaming Mode" that disables SpaceFN and allows to bind GUI key in Games
|
||||
* Reset key binding, no need to press hardware reset button to program
|
||||
* Microphone Mute key (requires 3rd-party software, see below)
|
||||
|
||||
###0.0 Languages
|
||||
The US-International Layout is currently required for the support of non-english languages. This keymap swaps Y and Z to provide the familiar QWERTZ position for characters when using that layout.
|
||||
All diacritic characters are input by either holding `Space` or `Fn` and pressing the corresponding key. For languages that aren't yet supported explicitly,
|
||||
one can also use AltGr to input the characters as intended by the US-Intl layout or the dead keys, if they're kept from being [revived](readme.md#04-revive-dead-keys).
|
||||
|
||||
The illustration below shows the "US International" layout available in the Language settings of Windows, Linux and Mac OS.
|
||||
|
||||
![KB_US-International](docs/KB_US-International.png)
|
||||
|
||||
Not all languages are supported by this layout. Linux also offers the "US International Alternative" layout,
|
||||
which contains more dead keys to input pretty much every diacritic character in a language using latin letters. More information can be found [here](http://web.archive.org/web/20160818101234/http://dry.sailingissues.com/us-international-keyboard-layout.html).
|
||||
|
||||
![KB_US-International-Alternative](docs/KB_US-International-Alternative.png)
|
||||
|
||||
####0.0.0 Explicitly Supported Languages
|
||||
* German
|
||||
|
||||
####0.0.1 Implicitly Supported Languages
|
||||
This list only applies to Windows. Linux systems support all languages, see above. This list might be incomplete! Please add your language if you find it's supported.
|
||||
|
||||
* French
|
||||
|
||||
###0.1 SpaceFN
|
||||
SpaceFN basically means that `Space` acts as a normal spacebar when tapped, but acts as a layer-key when held down.
|
||||
This means that you can't hold space to output multiple spaces consecutively and that space only registers once released.
|
||||
The advantage is that the spacebar is easier to reach than any other `Fn`-key could be.
|
||||
|
||||
###0.2 "Gaming Mode"
|
||||
To alleviate the problems SpaceFN would cause when gaming, the Gaming Mode is pretty much a layer that can be turned on by pressing Fn+RShift.
|
||||
This will turn the double-role Spacebar into a normal one, so the Fn-layer (and thus function and media keys) can only be accessed with the Fn-key.
|
||||
It also turns the GUI-key (aka Win-key aka Super-key) into Right Shift, so it can be bound in Games. This is especially useful when playing with ESDF instead of WASD.
|
||||
|
||||
###0.3 Mute Microphone
|
||||
The function layer has a "Mute Microphone"-key. As this is not an existing media key and you can't normally set a shortcut to this function,
|
||||
you need to set this up in software before using it, see below. This key is bound to `RCtrl+LCtrl`, a keycombination that
|
||||
no other program in existence uses for anything, at least to my knowledge. It also can't be pressed with this keymap in any other way.
|
||||
|
||||
####0.3.0 Linux
|
||||
Follow [these instructions](http://askubuntu.com/a/13364).
|
||||
|
||||
#####0.3.1 Windows (Requires 3rd Party Software)
|
||||
*DISCLAIMER: I take no responsibility for any potential harm caused by third party applications!*
|
||||
|
||||
You'll need a utility called "MicMute". It is available on [Sourceforge](https://sourceforge.net/projects/micmute/).
|
||||
After installing and running the tool, you only need to use the "Setup Shortcut" option to bind the key to muting the microphone
|
||||
and check whether your microphone is selected under "Devices".
|
||||
|
||||
###0.4 Revive Dead Keys
|
||||
Some diacritics that are commonly used are dead keys on the international layouts, for example `` ` ``, `'`, or `"`.
|
||||
The dead keys on the regular international layout (shown in red [here](readme.md#00-languages)) are revived with this keymap by automatically inserting a space if one of those characters is typed.
|
||||
If you don't want this to be the case, uncomment the following line in `keymap.c` prior to compiling:
|
||||
```
|
||||
//#define DONT_REVIVE_DEADKEYS 1
|
||||
```
|
||||
|
||||
##1 Layers
|
||||
###1.0 Base Layer
|
||||
The base layer is shown here for ANSI keysm, HHKB-style right shift and split backspace. If you use a 2U backspace key there, `Del` will not be available.
|
||||
Again, the Y and Z keys are swapped, so you get the QWERTZ-positions of Y and Z when using the US-International layout.
|
||||
|
||||
![base_layer](docs/base_layer.PNG)
|
||||
|
||||
###1.1 Gaming layer
|
||||
To turn this layer on, please use the combination `Fn+RShift`, not `Space+RShift`. If you do the latter, the Function layer will become stuck. You can press `Fn` once to unstick it if this happens to you. A solution is being worked on.
|
||||
|
||||
![gaming_layer](docs/gaming_layer.PNG)
|
||||
|
||||
###1.2 Function Layer
|
||||
This is the function layer for German diacritics. It can be accessed via the `Fn` or by holding `Space` on the base layer.
|
||||
|
||||
![function_layer](docs/function_layer.PNG)
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,28 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/* Main layer: Test layout, using all keys.
|
||||
|
||||
0 1 2 3 4 5 6 7 8 9 A B C D E
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
0 │GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │PGUP │BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
1 │ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
2 │CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │PGDN │ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
3 │LSHFT│HOME │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ END │RSHFT│ UP │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
4 │LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│R_GUI│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: ANSI qwerty */
|
||||
LEGACY_KEYMAP(GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, PGUP, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, PGDN, ENT , \
|
||||
LSFT, HOME, Z, X, C, V, B, N, M, COMM, DOT, SLSH, END, RSFT, UP, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, RCTL),
|
||||
};
|
||||
const uint16_t PROGMEM fn_actions[] = {};
|
||||
|
@ -0,0 +1,15 @@
|
||||
### 8 Custom
|
||||
The custom keymap - [keymap_custom.c](keymap_custom.c) - is where I tested all the switches, not being concerned with a specific layout or layers. It's a plain layout option with the extra keys used on ISO & HHKB layouts being assigned some other keys.
|
||||
|
||||
#### 8.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │PgUp │BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │PgDwn│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│Home │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ End │Shift│ Up │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,48 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/* 0: Main layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: ANSI qwerty */
|
||||
LEGACY_KEYMAP(ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT , \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, FN0, APP, RCTL),
|
||||
|
||||
/* 1: Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, TRNS, UP, TRNS, TRNS, TRNS, TRNS, TRNS, PGUP, PGDN, PSCR, SLCK, PAUS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_MOMENTARY(1), // to Fn overlay
|
||||
};
|
@ -0,0 +1,27 @@
|
||||
### 1 Standard - ANSI
|
||||
The standard keymap is the one that is pre-flashed on the S60-X.
|
||||
|
||||
#### 1.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 1.1 Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,182 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/*
|
||||
* Hasu
|
||||
*/
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap 0: Default Layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ Fn2 │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ Fn1 │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ Fn3 │ Fn3 │ Fn0 │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, FN2, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, FN1, NO, FN9, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, FN3, FN3, FN0),
|
||||
/* Keymap 1: colemak
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ F │ P │ G │ J │ L │ U │ Y │ ; │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│BKSPC│ A │ R │ S │ T │ D │ H │ N │ E │ I │ O │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ K │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│R_WIN│ APP │ Fn0 │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, F, P, G, J, L, U, Y, SCLN, LBRC, RBRC, BSLS, \
|
||||
BSPC, A, R, S, T, D, H, N, E, I, O, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, K, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, FN0),
|
||||
/* Keymap 2: dvorak
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ [ │ ] │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ ' │ , │ . │ P │ Y │ F │ G │ C │ R │ L │ / │ = │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ O │ E │ U │ I │ D │ H │ T │ N │ S │ - │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ ; │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│R_WIN│ APP │ FN0 │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, LBRC, RBRC, NO, BSPC, \
|
||||
TAB, QUOT, COMM, DOT, P, Y, F, G, C, R, L, SLSH, EQL, BSLS, \
|
||||
CAPS, A, O, E, U, I, D, H, T, N, S, MINS, NO, ENT, \
|
||||
LSFT, NO, SCLN, Q, J, K, X, B, M, W, V, Z, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, FN0),
|
||||
/* Keymap 3: workman
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ D │ E │ W │ B │ J │ F │ U │ P │ ; │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│BKSPC│ A │ S │ H │ T │ G │ Y │ N │ E │ O │ I │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ M │ C │ V │ K │ L │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│R_WIN│ APP │ FN0 │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, D, R, W, B, J, F, U, P, SCLN, LBRC, RBRC, BSLS, \
|
||||
BSPC, A, S, H, T, G, Y, N, E, O, I, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, M, C, V, K, L, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, FN0),
|
||||
/* Overlay 4: HHKB mode
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│Grave│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ │ │ │ │ │ │ │ Psc │ Slk │Pause│ Up │ │ Ins │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│ VoD │ VoU │Mute │ │ │NP_* │NP_/ │Home │PgUp │Left │Right│▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ │ │ │ │ │NP_+ │NP_- │ End │PgDwn│Down │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│Space│█████│█████│█████│R_ALT│R_GUI│ App │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, DEL, \
|
||||
CAPS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PSCR, SLCK, PAUS, UP, TRNS, INS, \
|
||||
LCTL, VOLD, VOLU, MUTE, TRNS, TRNS, PAST, PSLS, HOME, PGUP, LEFT, RGHT, TRNS, ENT, \
|
||||
LSFT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PPLS, PMNS, END, PGDN, DOWN, TRNS, RSFT, TRNS, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, FN4, TRNS),
|
||||
/* Overlay 5: Vi mode (Slash)
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│Grave│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │Home │PgDwn│ Up │PgUp │ End │Home │PgDwn│PgUp │ End │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│ │Left │Down │Right│ │Left │Down │ Up │Right│ │ │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ │ │ │ │ │Home │PgDwn│PgUp │ End │ │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│Space│█████│█████│█████│R_ALT│R_GUI│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, BSPC, \
|
||||
TAB, HOME, PGDN, UP, PGUP, END, HOME, PGDN, PGUP, END, TRNS, TRNS, TRNS, TRNS, \
|
||||
LCTL, TRNS, LEFT, DOWN, RGHT, TRNS, LEFT, DOWN, UP, RGHT, TRNS, TRNS, TRNS, ENT, \
|
||||
LSFT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END, TRNS, TRNS, RSFT, TRNS, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, RCTL),
|
||||
/* Overlay 6: Mouse mode (Semicolon/App)
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│Grave│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ │ │ │ │ │ MwL │ MwD │ MwU │ MwR │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│ │ Ac0 │ Ac1 │ Ac2 │ │ McL │ McD │ McU │ McR │ │ │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSFHT│▒▒▒▒▒│ │ │ │ │ Mb3 │ Mb2 │ Mb1 │ Mb4 │ Mb5 │ │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ Mb1 │█████│█████│█████│ │ │ │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
* Mc: Mouse Cursor / Mb: Mouse Button / Mw: Mouse Wheel
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, BSPC, \
|
||||
TAB, TRNS, TRNS, TRNS, TRNS, TRNS, WH_L, WH_D, WH_U, WH_R, TRNS, TRNS, TRNS, TRNS, \
|
||||
LCTL, TRNS, ACL0, ACL1, ACL2, TRNS, MS_L, MS_D, MS_U, MS_R, TRNS, TRNS, TRNS, ENT, \
|
||||
LSFT, TRNS, TRNS, TRNS, TRNS, TRNS, BTN3, BTN2, BTN1, BTN4, BTN5, TRNS, TRNS, RSFT, TRNS, \
|
||||
LCTL, LGUI, LALT, BTN1, TRNS, TRNS, TRNS, RCTL),
|
||||
/* Overlay 7: Layout selector
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Lq │ Lc │ Ld │ Lw │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Lq │ Lw │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ Ld │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ Lc │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
Lq: set Qwerty layout
|
||||
Lc: set Colemak layout
|
||||
Ld: set Dvorak layout
|
||||
Lw: set Workman layout
|
||||
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
FN5, FN6, FN7, FN8, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, FN5, FN8, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN7, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN6, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_MOMENTARY(4),
|
||||
[1] = ACTION_LAYER_TAP_KEY(5, KC_SLASH),
|
||||
[2] = ACTION_LAYER_TAP_KEY(6, KC_SCLN),
|
||||
[3] = ACTION_LAYER_MOMENTARY(6),
|
||||
[4] = ACTION_LAYER_MOMENTARY(7), // to Layout selector
|
||||
[5] = ACTION_DEFAULT_LAYER_SET(0), // set qwerty layout
|
||||
[6] = ACTION_DEFAULT_LAYER_SET(1), // set colemak layout
|
||||
[7] = ACTION_DEFAULT_LAYER_SET(2), // set dvorak layout
|
||||
[8] = ACTION_DEFAULT_LAYER_SET(3), // set workman layout
|
||||
[9] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_GRV),
|
||||
};
|
@ -0,0 +1,4 @@
|
||||
### 5. Hasu
|
||||
This is Hasu's favorite keymap with HHKB Fn, Vi cursor and Mousekey layer. See [keymap_hasu.c](keymap_hasu.c) for detail.
|
||||
|
||||
(Hasu is the initial creator of the TMK firmware, in case you weren't aware.)
|
@ -0,0 +1,52 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/*
|
||||
* HHKB Layout
|
||||
*/
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BkSpc│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Fn3 │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│ Fn │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│▒▒▒▒▒│ Alt │ Gui │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSLS, GRV, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSPC, \
|
||||
LCTL, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, FN0, \
|
||||
NO, LGUI, LALT, SPC, NO, RALT, RGUI, NO),
|
||||
/* 1: HHKB Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Pwr │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Ins │ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ │ │ │ │ │ │ │ Psc │ Slk │ Pus │ Up │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ VoD │ VoU │ Mut │ Ejc │ │NP_* │NP_/ │Home │PgUp │Left │Right│▒▒▒▒▒│NPEnt│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │NP_+ │NP_- │ End │PgDwn│Down │▒▒▒▒▒│ │ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ │ │█████│█████│█████│ │█████│█████│█████│▒▒▒▒▒│ │ │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \
|
||||
CAPS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PSCR, SLCK, PAUS, UP, TRNS, TRNS, \
|
||||
TRNS, VOLD, VOLU, MUTE, EJCT, TRNS, PAST, PSLS, HOME, PGUP, LEFT, RGHT, NO, PENT, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PPLS, PMNS, END, PGDN, DOWN, NO, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_MOMENTARY(1),
|
||||
};
|
@ -0,0 +1,26 @@
|
||||
### 7. HHKB
|
||||
[keymap_hhkb.c](keymap_hhkb.c) emulates original HHKB layers.
|
||||
#### 7.0: Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BkSpc│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Fn3 │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│ Fn │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│▒▒▒▒▒│ Alt │ Gui │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 7.1: HHKB Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Pwr │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Ins │ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ │ │ │ │ │ │ │ Psc │ Slk │ Pus │ Up │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ VoD │ VoU │ Mut │ Ejc │ │ * │ / │Home │PgUp │Left │Right│▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ + │ - │ End │PgDwn│Down │▒▒▒▒▒│ │ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ │ │█████│█████│█████│ │█████│█████│█████│▒▒▒▒▒│ │ │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,48 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/* 0: Main layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │NUHS │ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: ANSI qwerty */
|
||||
LEGACY_KEYMAP(ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, NO, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NUHS, ENT , \
|
||||
LSFT, BSLS, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, FN0, APP, RCTL),
|
||||
|
||||
/* 1: Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, TRNS, UP, TRNS, TRNS, TRNS, TRNS, TRNS, PGUP, PGDN, PSCR, SLCK, PAUS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_MOMENTARY(1), // to Fn overlay
|
||||
};
|
@ -0,0 +1,28 @@
|
||||
### 2 Standard - ISO
|
||||
The same as the standard keymap, but with additional ISO keys.
|
||||
|
||||
|
||||
#### 2.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │NUHS │ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 2.1 Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,92 @@
|
||||
/*
|
||||
Copyright 2016 Julien Pecqueur <julien@peclu.net>
|
||||
Copyright 2016 Felix Uhl <ifreilicht@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "s60-x.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Layout 0: Default Layer
|
||||
* ,-----------------------------------------------------------.
|
||||
* |` | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \|
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Fn1 |Gui |Alt | SpaceFn |Alt |Gui |App |Ctrl|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
LCTL, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NUHS, ENT, \
|
||||
LSFT, NUBS, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
FN1, LGUI, LALT, FN0, RALT, RGUI, APP, RCTL),
|
||||
|
||||
/* Layout 1: Function Layer
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Prv|Ply|Nxt|Stp| | |PUp|Up |PDn| |Slk|Pau|Ins |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Vl-|Mut|Vl+| | |Hom|Lef|Dow|Rig|End| |PEnt |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Prt|Cut|Cop|Pst|Cal| | | | | |CapsLock |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, DEL, \
|
||||
TRNS, MPRV, MPLY, MNXT, MSTP, TRNS, TRNS, PGUP, UP, PGDN, TRNS, SLCK, PAUS, INS, \
|
||||
TRNS, VOLD, MUTE, VOLU, TRNS, TRNS, HOME, LEFT, DOWN, RGHT, END, TRNS, TRNS, PENT, \
|
||||
TRNS, TRNS, PSCR, FN2, FN3, FN4, CALC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CAPS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_TAP_KEY(1, KC_SPACE), /* SpaceFn layout 1 */
|
||||
[1] = ACTION_LAYER_MOMENTARY(1), /* Momentary layout 1 */
|
||||
[2] = ACTION_MODS_KEY(MOD_LSFT, KC_DEL), /* Cut */
|
||||
[3] = ACTION_MODS_KEY(MOD_LCTL, KC_INS), /* Copy */
|
||||
[4] = ACTION_MODS_KEY(MOD_LSFT, KC_INS), /* Paste */
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
return MACRO_NONE;
|
||||
};
|
||||
|
||||
|
||||
void matrix_init_user(void) {
|
||||
|
||||
}
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
|
||||
}
|
@ -0,0 +1 @@
|
||||
# The default keymap for s60-x
|
@ -0,0 +1,25 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/* Main layer:
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│R_GUI│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: qwerty */
|
||||
LEGACY_KEYMAP(ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, RALT, RGUI, APP, RCTL),
|
||||
};
|
||||
const uint16_t PROGMEM fn_actions[] = {};
|
@ -0,0 +1,16 @@
|
||||
### 4. Plain
|
||||
Without any Fn layer this will be useful if you want to use key remapping tool like AHK on host.
|
||||
See [keymap_plain.c](keymap_plain.c) for detail.
|
||||
|
||||
#### 4.0 Plain Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,180 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: qwerty
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 1: colemak
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ F │ P │ G │ J │ L │ U │ Y │ ; │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│BKSPC│ A │ R │ S │ T │ D │ H │ N │ E │ I │ O │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ K │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, F, P, G, J, L, U, Y, SCLN, LBRC, RBRC, BSLS, \
|
||||
BSPC, A, R, S, T, D, H, N, E, I, O, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, K, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 2: dvorak
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ [ │ ] │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ ' │ , │ . │ P │ Y │ F │ G │ C │ R │ L │ / │ = │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ O │ E │ U │ I │ D │ H │ T │ N │ S │ - │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ ; │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, LBRC, RBRC, NO, BSPC, \
|
||||
TAB, QUOT, COMM, DOT, P, Y, F, G, C, R, L, SLSH, EQL, BSLS, \
|
||||
CAPS, A, O, E, U, I, D, H, T, N, S, MINS, NO, ENT, \
|
||||
LSFT, NO, SCLN, Q, J, K, X, B, M, W, V, Z, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 3: workman
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ D │ E │ W │ B │ J │ F │ U │ P │ ; │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│BKSPC│ A │ S │ H │ T │ G │ Y │ N │ E │ O │ I │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ M │ C │ V │ K │ L │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, D, R, W, B, J, F, U, P, SCLN, LBRC, RBRC, BSLS, \
|
||||
BSPC, A, S, H, T, G, Y, N, E, O, I, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, M, C, V, K, L, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 4: Poker with Arrow
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, UP, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, LEFT, DOWN, RGHT),
|
||||
/* 5: Poker with Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
/* 6: Poker Fn
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ FnQ │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ FnL │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Tsk │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ FnS │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
Fn: to Fn overlay
|
||||
FnL: to Layout selector overaly
|
||||
FnQ: toggle Esc overlay
|
||||
FnS: toggle Arrow overlay
|
||||
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, FN2, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, FN4, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN3, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN1, TRNS, TRNS, TRNS, TRNS),
|
||||
/* 7: Layout selector
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Lq │ Lc │ Ld │ Lw │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Lq │ Lw │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ Ld │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ Lc │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
Lq: set Qwerty layout
|
||||
Lc: set Colemak layout
|
||||
Ld: set Dvorak layout
|
||||
Lw: set Workman layout
|
||||
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
FN5, FN6, FN7, FN8, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, FN5, FN8, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN7, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN6, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
/* Poker Layout */
|
||||
[0] = ACTION_LAYER_MOMENTARY(6), // to Fn overlay
|
||||
[1] = ACTION_LAYER_TOGGLE(4), // toggle arrow overlay
|
||||
[2] = ACTION_LAYER_TOGGLE(5), // toggle Esc overlay
|
||||
[3] = ACTION_MODS_KEY(MOD_RCTL|MOD_RSFT, KC_ESC), // Task(RControl,RShift+Esc)
|
||||
[4] = ACTION_LAYER_MOMENTARY(7), // to Layout selector
|
||||
[5] = ACTION_DEFAULT_LAYER_SET(0), // set qwerty layout
|
||||
[6] = ACTION_DEFAULT_LAYER_SET(1), // set colemak layout
|
||||
[7] = ACTION_DEFAULT_LAYER_SET(2), // set dvorak layout
|
||||
[8] = ACTION_DEFAULT_LAYER_SET(3), // set workman layout
|
||||
};
|
@ -0,0 +1,31 @@
|
||||
### 3 Poker
|
||||
[keymap_poker.c](keymap_poker.c) emulates original Poker layers
|
||||
while both [keymap_poker_bit.c](keymap_poker_bit.c) and [keymap_poker_set.c](keymap_poker_set.c) implements same layout in different way and they fix a minor issue of original Poker and enhance arrow keys.
|
||||
|
||||
Fn + Esc = `
|
||||
Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
|
||||
#### 3.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Fn │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 3.1 Poker Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ FnQ │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Tsk │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ FnS │█████│█████│█████│ Fn │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,110 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
// Poker fix with toggle and bit operation
|
||||
// Fn + Esc = `
|
||||
// Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: qwerty
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
LCTL, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 4: Poker Default + Fn'd
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ Fn2 │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Fn4 │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn1 │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
[4] = LEGACY_KEYMAP(
|
||||
TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
CAPS, FN2, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN4, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN1, TRNS, TRNS, TRNS, TRNS),
|
||||
/* 5: Poker with Arrow
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│PgUp │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ Fn3 │Home │PgDwn│ End │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PGUP, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN3, HOME, PGDN, END),
|
||||
/* 6: Poker with Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
/* 7: Poker with Arrow + Fn'd
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, UP, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, LEFT, DOWN, RGHT),
|
||||
};
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
/* Poker Layout */
|
||||
[0] = ACTION_LAYER_BIT_XOR(1, 0b0101, ON_BOTH), // Poker Fn(with fix for Esc)
|
||||
[1] = ACTION_LAYER_TOGGLE(5), // Poker Arrow toggle
|
||||
[2] = ACTION_LAYER_TOGGLE(6), // Poker Esc toggle
|
||||
[3] = ACTION_LAYER_BIT_XOR(1, 0b1101, ON_BOTH), // Poker Fn(with fix for Arrow)
|
||||
[4] = ACTION_MODS_KEY(MOD_RCTL|MOD_RSFT, KC_ESC), // FN3 Task(RControl,RShift+Esc)
|
||||
};
|
@ -0,0 +1,31 @@
|
||||
### 3 Poker
|
||||
[keymap_poker.c](keymap_poker.c) emulates original Poker layers
|
||||
while both [keymap_poker_bit.c](keymap_poker_bit.c) and [keymap_poker_set.c](keymap_poker_set.c) implements same layout in different way and they fix a minor issue of original Poker and enhance arrow keys.
|
||||
|
||||
Fn + Esc = `
|
||||
Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
|
||||
#### 3.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Fn │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 3.1 Poker Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ FnQ │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Tsk │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ FnS │█████│█████│█████│ Fn │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,178 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
// Poker fix with set(state transition)
|
||||
// Fn + Esc = `
|
||||
// Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* 0: qwerty
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_WIN│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│ Fn0 │R_WIN│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
LCTL, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, SPC, FN0, RGUI, APP, RCTL),
|
||||
/* 1: Poker with Arrow
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ Fn1 │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, UP, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN1, LEFT, DOWN, RGHT),
|
||||
/* 2: Poker with Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ Fn2 │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN2, TRNS, TRNS, TRNS),
|
||||
/* 3: Poker with Arrow and Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ Fn3 │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, UP, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, FN3, LEFT, DOWN, RGHT),
|
||||
/* 4: Poker Fn'd
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Fn6 │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Fn8 │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn5 │█████│█████│█████│ Fn4 │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, FN6, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN8, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN5, FN4, TRNS, TRNS, TRNS),
|
||||
/* 5: Poker Fn'd arrow
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Fn7 │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Fn8 │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│PgUp │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn4 │█████│█████│█████│ Fn5 │Home │PgDwn│ End │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, FN7, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN8, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, PGUP, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN4, FN5, HOME, PGDN, END),
|
||||
/* 6: Poker Fn'd Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│Grave│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Fn4 │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Fn8 │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn7 │█████│█████│█████│ Fn6 │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, FN4, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN8, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN7, FN6, TRNS, TRNS, TRNS),
|
||||
/* 7: Poker Fn'd Arrow + Esc
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│Grave│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ Fn5 │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Fn8 │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│PgUp │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn6 │█████│█████│█████│ Fn7 │Home │PgDwn│ End │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, TRNS, \
|
||||
TRNS, FN5, UP, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, CALC, TRNS, HOME, INS, TRNS, \
|
||||
TRNS, LEFT, DOWN, RGHT, TRNS, TRNS, PSCR, SLCK, PAUS, TRNS, FN8, END, TRNS, TRNS, \
|
||||
TRNS, TRNS, DEL, TRNS, WHOM, MUTE, VOLU, VOLD, TRNS, PGUP, PGDN, DEL, TRNS, PGUP, TRNS, \
|
||||
TRNS, TRNS, TRNS, FN6, FN7, HOME, PGDN, END),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
/* Poker Layout */
|
||||
[0] = ACTION_LAYER_SET(4, ON_PRESS), // FN0 move to Fn'd when press
|
||||
[1] = ACTION_LAYER_SET(5, ON_PRESS), // FN1 move to Fn'd arrow when press
|
||||
[2] = ACTION_LAYER_SET(6, ON_PRESS), // FN2 move to Fn'd Esc when press
|
||||
[3] = ACTION_LAYER_SET(7, ON_PRESS), // FN3 move to Fn'd arrow + Esc when press
|
||||
|
||||
//[4] = ACTION_LAYER_CLEAR(ON_RELEASE), // FN4 clear overlay when release
|
||||
[4] = ACTION_LAYER_SET(0, ON_RELEASE), // FN4 clear overlay when release
|
||||
[5] = ACTION_LAYER_SET(1, ON_RELEASE), // FN5 move to arrow when release
|
||||
[6] = ACTION_LAYER_SET(2, ON_RELEASE), // FN6 move to Esc when release
|
||||
[7] = ACTION_LAYER_SET(3, ON_RELEASE), // FN7 move to arrow + Esc when release
|
||||
|
||||
[8] = ACTION_MODS_KEY(MOD_RCTL|MOD_RSFT, KC_ESC), // FN8 Task(RControl,RShift+Esc)
|
||||
};
|
@ -0,0 +1,31 @@
|
||||
### 3 Poker
|
||||
[keymap_poker.c](keymap_poker.c) emulates original Poker layers
|
||||
while both [keymap_poker_bit.c](keymap_poker_bit.c) and [keymap_poker_set.c](keymap_poker_set.c) implements same layout in different way and they fix a minor issue of original Poker and enhance arrow keys.
|
||||
|
||||
Fn + Esc = `
|
||||
Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
|
||||
#### 3.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Fn │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 3.1 Poker Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ FnQ │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Tsk │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ FnS │█████│█████│█████│ Fn │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,55 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
/*
|
||||
* SpaceFN
|
||||
* http://geekhack.org/index.php?topic=51069.0
|
||||
*/
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap 0: Default Layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████Spc/Fn0█████│█████│█████│R_ALT│R_GUI│ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, BSPC, \
|
||||
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, \
|
||||
CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, NO, ENT, \
|
||||
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
|
||||
LCTL, LGUI, LALT, FN0, RALT, RGUI, APP, RCTL),
|
||||
|
||||
/* Overlay 1: SpaceFN
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ Esc │ │ │ │Home │ Up │ End │Pscr │Slck │Pause│ Ins │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │PgUp │Left │Down │Right│ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │Space│PgDwn│ ` │ ~ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
*/
|
||||
LEGACY_KEYMAP(
|
||||
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, DEL, \
|
||||
TRNS, TRNS, TRNS, ESC, TRNS, TRNS, TRNS, HOME, UP, END, PSCR, SLCK, PAUS, INS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, PGUP, LEFT, DOWN, RGHT, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, SPC, PGDN, GRV, FN1, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
|
||||
};
|
||||
|
||||
/*
|
||||
* Fn action definition
|
||||
*/
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[0] = ACTION_LAYER_TAP_KEY(1, KC_SPACE),
|
||||
[1] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV), // tilde
|
||||
};
|
@ -0,0 +1,27 @@
|
||||
### 6. SpaceFN
|
||||
This layout proposed by spiceBar uses space bar to change layer with using Dual role key technique. See [keymap_spacefn.c](keymap_spacefn.c) and [SpaceFN discussion](http://geekhack.org/index.php?topic=51069.0).
|
||||
|
||||
#### 6.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│████ Space/Fn ███│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 6.1 SpaceFN layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │Home │ Up │ End │ Psc │ Slk │Pause│ Ins │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │PgUp │Left │Down │Right│ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │Space│PgDwn│ ` │ ~ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn │█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
@ -0,0 +1,260 @@
|
||||
S60-x keyboard firmware
|
||||
======================
|
||||
DIY compact keyboard designed by VinnyCordeiro for Sentraq. Most of the keymaps are based on GH60 code. This is a port from TMK to QMK based on the [original S60-X Repo](https://github.com/VinnyCordeiro/tmk_keyboard).
|
||||
|
||||
## S60X Resources
|
||||
- [Massdrop page](https://www.massdrop.com/buy/sentraq-60-diy-keyboard-kit?mode=guest_open)
|
||||
|
||||
## Quickstart
|
||||
|
||||
If you just want to test a few layouts, the archive [s60-x_precompiled.zip](s60-x_precompiled.zip) contains pre-compiled .hex-files for all available keymaps. Not all of them are tested.
|
||||
You only need to flash them onto your keyboard, which is explained below, there's no need to setup a build environment. For a full list
|
||||
|
||||
## Flashing your keyboard
|
||||
The recommended programs for flashing your keyboard are [Atmel FLIP](http://www.atmel.com/tools/FLIP.aspx) (Windows) and [dfu-programmer](http://dfu-programmer.sourceforge.net/) (Linux/Windows).
|
||||
|
||||
[QMK Firmware Flasher](https://github.com/jackhumbert/qmk_firmware_flasher/releases) may work, as the S60-X keyboard uses the ATMega32U4 microcontroller, but it is untested. Use at your own risk.
|
||||
|
||||
[Easy AVR USB Keyboard Firmware](https://deskthority.net/wiki/Easy_AVR_USB_Keyboard_Firmware) also supports S60-X, but it is completely unrelated to TMK firmware. Use at your own risk.
|
||||
|
||||
**Programming the firmware (Windows)**
|
||||
|
||||
1. download and install FLIP (http://www.atmel.com/tools/FLIP.aspx)
|
||||
2. connect the keyboard, press the program button on the underside of the board (S1) and wait until it enumerates (you'll hear the "disconnect" and "connect" sound)
|
||||
3. go to device manager, find the atmega32u4 chip and click "update driver"
|
||||
4. choose location manually: folder named "usb" inside the installation directory of FLIP
|
||||
5. once the driver is installed, run flip
|
||||
6. Device -> Select: choose ATMega32U4
|
||||
7. Settings -> Communication -> USB, FLIP should show the signature at this point (58 1E 95 87)
|
||||
8. File -> Load HEX file: choose the hex firmware: <firmware>.hex
|
||||
9. click "Run"
|
||||
10. after programming is done, disconnect the device from USB and connect again.
|
||||
|
||||
|
||||
**Programming the firmware (Linux)**
|
||||
|
||||
1. Download and install/compile/unpack dfu-programmer from http://dfu-programmer.sourceforge.net/.
|
||||
2. Issue the following commands in the command prompt after connecting the device and pressing the programming button (S1). You may need root permissions or udev rules to do that.
|
||||
1. `sudo dfu-programmer atmega32u4 erase`
|
||||
2. `sudo dfu-programmer atmega32u4 flash <firmware>.hex`
|
||||
3. `sudo dfu-programmer atmega32u4 start`
|
||||
3. The keyboard should start working. If it doesn't, reconnect the cable.
|
||||
|
||||
## Building the firmware
|
||||
|
||||
To build firmware binary hex file with a certain keymap just run `make` with the `keymap` option like:
|
||||
|
||||
$ make keymap=[custom|poker|poker_set|poker_bit|plain|hasu|spacefn|hhkb|<name>]
|
||||
|
||||
For a more detailed explanation of the build process and the environment setup, see the ["Getting Started" section](/readme.md#getting-started).
|
||||
|
||||
## List of included Keymaps
|
||||
|
||||
Several versions of keymaps are available in advance but you are recommended to define your favorite layout yourself.
|
||||
To define your own keymap, copy the [default keymap template](/quantum/template/keymaps/default) directory into the `keymaps` directory and start modifying the `keymap.c` file. Some options might require you to change the `config.h` or `Makefile` as well, refer to the main documentation for more information on those.
|
||||
If you want to later merge your finalised keymap into this repository to make it available for everyone, make sure to also modify the `readme.md` in your keymap directory to show a visual version of your keymap.
|
||||
|
||||
Here's a list of the standard layouts that are provided with the precompiled .hex-files.
|
||||
|
||||
### 0 Initial explanations
|
||||
The █████ blocks on the layouts hides the switch positions that do not exist physically on the PCB. If you feel like hacking the keyboard and adding new keys, those are the positions that can be used. You'll have to modify the [keymap_common.h](keymap_common.h) file for that.
|
||||
|
||||
The ▒▒▒▒▒ blocks hides switch positions not used on this particular layout, but they do exist on the PCB.
|
||||
|
||||
There is no LED support on the PCB at the moment, but I'll let the code for that untouched.
|
||||
|
||||
|
||||
### 1 [Standard - ANSI (default layout)](keymaps/default/keymap.c)
|
||||
The standard keymap is the one that is pre-flashed on the S60-X.
|
||||
|
||||
#### 1.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 1.1 Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 2 [Standard - ISO](keymaps/iso/keymap.c)
|
||||
The same as the standard keymap, but with additional ISO keys.
|
||||
|
||||
|
||||
#### 2.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BKSPC│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│CAPSL│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │NUHS │ENTER│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LSHFT│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│RSHFT│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│LCTRL│L_GUI│L_ALT│█████│█████│█████│ SPC │█████│█████│█████│R_ALT│ FN0 │ APP │RCTRL│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 2.1 Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│GRAVE│ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ Up │ │ │ │ │ │PGUP │PGDWN│PRTSC│SCLCK│PAUSE│▒▒▒▒▒│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ │ │ │ │ │ │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │ │ │ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ │█████│█████│█████│ │ │ │ │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 3 Poker
|
||||
[The poker keymap](keymaps/poker/keymap.c) emulates original Vortex Poker layers
|
||||
while both [poker_bit](keymaps/poker_bit/keymap.c) and [poker_set](keymap/poker_set/keymap.c) implement the same layout in a slightly different way, fix a minor issue of the original poker Layout and enhance arrow keys.
|
||||
|
||||
Fn + Esc = `
|
||||
Fn + {left, down, up, right} = {home, pgdown, pgup, end}
|
||||
|
||||
#### 3.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Fn │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 3.1 Poker Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ FnQ │ Up │ │ │ │ │ │ │ Cal │ │Home │ Ins │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │Left │Down │Right│ │ │ Psc │ Slk │Pause│ │ Tsk │ End │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ Del │ │ Web │Mute │ VoU │ VoD │ │PgUp │PgDwn│ Del │▒▒▒▒▒│ Up │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ FnS │█████│█████│█████│ Fn │Left │Down │Right│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 4. [Plain](keymaps/plain/keymap.c)
|
||||
Without any Fn layer this will be useful if you want to use key remapping tool like AHK on host.
|
||||
|
||||
#### 4.0 Plain Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 5. [Hasu](keymaps/hasu/keymap.c)
|
||||
This is Hasu's favorite keymap with HHKB Fn, Vi cursor and Mousekey layer.
|
||||
|
||||
(Hasu is the creator of the TMK firmware, for those who do not know that.)
|
||||
|
||||
|
||||
### 6. [SpaceFN](keymaps/spacefn/keymap.c)
|
||||
This layout proposed by spiceBar uses space bar to change layer with using Dual role key technique. Check the sourcefile and [SpaceFN discussion](http://geekhack.org/index.php?topic=51069.0) for more information.
|
||||
|
||||
#### 6.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │▒▒▒▒▒│BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│████ Space/Fn ███│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 6.1 SpaceFN layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │▒▒▒▒▒│ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │ │Home │ Up │ End │ Psc │ Slk │Pause│ Ins │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │ │ │ │PgUp │Left │Down │Right│ │ │▒▒▒▒▒│ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │Space│PgDwn│ ` │ ~ │ │ │▒▒▒▒▒│ │▒▒▒▒▒│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ │ │█████│█████│█████│ Fn │█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 7. [HHKB](keymap/hhkb/keymap.c)
|
||||
The HHKB keymap emulates original HHKB layers.
|
||||
#### 7.0: Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BkSpc│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ Fn3 │ ' │▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│▒▒▒▒▒│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │▒▒▒▒▒│Shift│ Fn │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│▒▒▒▒▒│ Alt │ Gui │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
#### 7.1: HHKB Fn layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ Pwr │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Ins │ Del │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ │ │ │ │ │ │ │ Psc │ Slk │ Pus │ Up │ │ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │ VoD │ VoU │ Mut │ Ejc │ │ * │ / │Home │PgUp │Left │Right│▒▒▒▒▒│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ │▒▒▒▒▒│ │ │ │ │ │ + │ - │ End │PgDwn│Down │▒▒▒▒▒│ │ │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│▒▒▒▒▒│ │ │█████│█████│█████│ │█████│█████│█████│▒▒▒▒▒│ │ │▒▒▒▒▒│█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
|
||||
### 8 [Custom](keymaps/custom/keymap.c)
|
||||
The custom keymap is where I tested all the switches, not being concerned with a specific layout or layers. It's a plain layout option with the extra keys used on ISO & HHKB layouts being assigned some other keys.
|
||||
|
||||
#### 8.0 Default layer
|
||||
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
│ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │PgUp │BkSpc│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │PgDwn│Enter│█████│
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Shift│Home │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ End │Shift│ Up │
|
||||
├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
│Ctrl │ Gui │ Alt │█████│█████│█████│Space│█████│█████│█████│ Alt │ Gui │ App │Ctrl │█████│
|
||||
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
|
||||
|
||||
### 9. [ANSI_QWERTZ](keymaps/ansi_qwertz/keymap.c)
|
||||
|
||||
This keymap was designed for inputting characters with diacritics with ANSI keycaps.
|
||||
It provides toggleable SpaceFn functionality, a dedicated arrow cluster and a microphone mute key on the function layer as well as a bootloader reset key.
|
||||
|
||||
For more info, [check here](keymaps/ansi_qwertz/readme.md).
|
@ -0,0 +1,28 @@
|
||||
#include "s60-x.h"
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
// put your keyboard start-up code here
|
||||
// runs once when the firmware starts up
|
||||
|
||||
matrix_init_user();
|
||||
}
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
// put your looping keyboard code here
|
||||
// runs every cycle (a lot)
|
||||
|
||||
matrix_scan_user();
|
||||
}
|
||||
|
||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||
// put your per-action keyboard code here
|
||||
// runs for every action, just before processing by the firmware
|
||||
|
||||
return process_record_user(keycode, record);
|
||||
}
|
||||
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
||||
|
||||
led_set_user(usb_led);
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
/*
|
||||
Copyright 2012,2013 Jun Wako <wakojun@gmail.com>
|
||||
Copyright 2015 Vinícius Nery Cordeiro <vinicius.nery.cordeiro@gmail.com>
|
||||
Copyright 2016 Felix Uhl <ifreilicht@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef S60X_H
|
||||
#define S60X_H
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef __INTELLISENSE__
|
||||
#define PROGMEM
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
/* S60-X keymap definition macro
|
||||
* K31 is the extra key next to short left ISO shift
|
||||
* K2C is the moved key next to enter on ISO boards
|
||||
* K3C is the extra key next to short right JIS shift
|
||||
* K0D is extra key from split backspace
|
||||
* K3E is extra key from HHKB-style split right shift
|
||||
*/
|
||||
|
||||
#define KEYMAP( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K40, K41, K42, K46, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, KC_NO }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \
|
||||
{ K40, K41, K42, KC_NO, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D, KC_NO } \
|
||||
}
|
||||
|
||||
/*This special definition is used for S60-X keymaps that were ported from TMK
|
||||
* QMK has a lot of keycodes that don't start with KC_, so using the regular KEYMAP macro is recommended
|
||||
*/
|
||||
#define LEGACY_KEYMAP( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \
|
||||
K40, K41, K42, K46, K4A, K4B, K4C, K4D \
|
||||
) { \
|
||||
{ KC_##K00, KC_##K01, KC_##K02, KC_##K03, KC_##K04, KC_##K05, KC_##K06, KC_##K07, KC_##K08, KC_##K09, KC_##K0A, KC_##K0B, KC_##K0C, KC_##K0D, KC_##K0E }, \
|
||||
{ KC_##K10, KC_##K11, KC_##K12, KC_##K13, KC_##K14, KC_##K15, KC_##K16, KC_##K17, KC_##K18, KC_##K19, KC_##K1A, KC_##K1B, KC_##K1C, KC_##K1D, KC_NO }, \
|
||||
{ KC_##K20, KC_##K21, KC_##K22, KC_##K23, KC_##K24, KC_##K25, KC_##K26, KC_##K27, KC_##K28, KC_##K29, KC_##K2A, KC_##K2B, KC_##K2C, KC_##K2D, KC_NO }, \
|
||||
{ KC_##K30, KC_##K31, KC_##K32, KC_##K33, KC_##K34, KC_##K35, KC_##K36, KC_##K37, KC_##K38, KC_##K39, KC_##K3A, KC_##K3B, KC_##K3C, KC_##K3D, KC_##K3E }, \
|
||||
{ KC_##K40, KC_##K41, KC_##K42, KC_NO, KC_NO, KC_NO, KC_##K46, KC_NO, KC_NO, KC_NO, KC_##K4A, KC_##K4B, KC_##K4C, KC_##K4D, KC_NO } \
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,3 @@
|
||||
updatemerge.sh
|
||||
clear_flash.hex
|
||||
resetboard.sh
|
After Width: | Height: | Size: 775 KiB |
@ -0,0 +1,16 @@
|
||||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
|
||||
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality (+1150)
|
||||
MIDI_ENABLE = no # MIDI controls
|
||||
AUDIO_ENABLE = no
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
# adjust for cpu
|
||||
# -j 16 gave best result on a hyperthreaded quad core core i7
|
||||
|
||||
LIMIT=10
|
||||
THREADS="-j 16"
|
||||
KMAP=iso_split_rshift
|
||||
|
||||
echo "We need sudo later"
|
||||
sudo ls 2>&1 /dev/null
|
||||
|
||||
function wait_bootloader {
|
||||
echo "Waiting for Bootloader..."
|
||||
local STARTTIME=$(date +"%s")
|
||||
local REMIND=0
|
||||
local EXEC=dfu-programmer
|
||||
local TARGET=atmega32u4
|
||||
while true
|
||||
do
|
||||
sudo $EXEC $TARGET get > /dev/null 2>&1
|
||||
[ $? -eq 0 ] && break
|
||||
ENDTIME=$(date +"%s")
|
||||
DURATION=$(($ENDTIME-$STARTTIME))
|
||||
if [ $REMIND -eq 0 -a $DURATION -gt $LIMIT ]
|
||||
then
|
||||
echo "Did you forget to press the reset button?"
|
||||
REMIND=1
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
make clean
|
||||
make KEYMAP=${KMAP} ${THREADS}
|
||||
if [[ $? -eq 0 ]]
|
||||
then
|
||||
echo "please trigger flashing!"
|
||||
wait_bootloader
|
||||
sudo make KEYMAP=${KMAP} dfu ${THREADS}
|
||||
else
|
||||
echo "make failed"
|
||||
exit 77
|
||||
fi
|
@ -0,0 +1,27 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
// only change
|
||||
#undef RGB_DI_PIN
|
||||
#define RGB_DI_PIN B2
|
||||
|
||||
#endif
|
@ -0,0 +1,209 @@
|
||||
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
|
||||
// this is the style you want to emulate.
|
||||
|
||||
#include "satan.h"
|
||||
// TODO: replace your ugly german brckets with #defines
|
||||
|
||||
// Each layer gets a name for readability, which is then used in the keymap matrix below.
|
||||
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
|
||||
// Layer names don't all need to be of the same length, obviously, and you can also skip them
|
||||
// entirely and just use numbers.
|
||||
#define _DEF 0
|
||||
#define _SPC 1
|
||||
#define _TAB 2
|
||||
#define _SFX 3
|
||||
|
||||
// dual-role shortcuts
|
||||
#define TABDUAL LT(_TAB, KC_TAB)
|
||||
#define CAPSDUAL CTL_T(KC_ESC)
|
||||
#define SPACEDUAL LT(_SPC, KC_SPACE)
|
||||
#define ENTERDUAL CTL_T(KC_ENT)
|
||||
// arrow cluster duality bottom right corner
|
||||
#define ARRLEFT ALT_T(KC_LEFT)
|
||||
#define ARRDOWN GUI_T(KC_DOWN)
|
||||
#define ARRUP SFT_T(KC_UP)
|
||||
#define ARRRIGHT CTL_T(KC_RIGHT)
|
||||
// german brackets
|
||||
#define GER_CUR_L RALT(KC_7) // [
|
||||
#define GER_CUR_R RALT(KC_0) // ]
|
||||
#define GER_PAR_L LSFT(KC_8) // (
|
||||
#define GER_PAR_R LSFT(KC_9) // )
|
||||
#define GER_ANG_L KC_NUBS // <
|
||||
#define GER_ANG_R LSFT(KC_NUBS) // >
|
||||
#define GER_BRC_L RALT(KC_8) // [
|
||||
#define GER_BRC_R RALT(KC_9) // ]
|
||||
|
||||
// increase readability
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap _DEF: Default Layer
|
||||
* ,-----------------------------------------------------------.
|
||||
* |Grv| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | Tab is Fn1
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* |Sft | < | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn2| RShift is UP
|
||||
* |-----------------------------------------------------------|
|
||||
* |Ctrl|Win |Alt | Space/Fn0 |Alt |Win |Menu|RCtl| Gui Menu, RCtrl is
|
||||
* `-----------------------------------------------------------' LEFT DWN RIGHT
|
||||
*/
|
||||
[_DEF] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, \
|
||||
TABDUAL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, \
|
||||
CAPSDUAL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, ENTERDUAL, \
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, ARRUP, TG(_SFX), \
|
||||
KC_LCTL, KC_LGUI, KC_LALT, SPACEDUAL, KC_RALT, ARRLEFT, ARRDOWN, ARRRIGHT),
|
||||
|
||||
/* Keymap 1: F-and-vim Layer, modified with Space (by holding space)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |PrSc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete|
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Paus| Up| [ | ] | | | | ( | ) | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | |Lft|Dwn|Rgt| | |Left|Down|Right|Up| | | PLAY |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | < | > | |M0 | | | | | Vol+ | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |Alt |Prev|Vol-|Next|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_SPC] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_PSCR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, \
|
||||
_______, KC_PAUS, KC_UP, GER_BRC_L, GER_BRC_R, _______, _______, GER_PAR_L, GER_PAR_R, _______, _______, _______, _______, _______, \
|
||||
_______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_MPLY, \
|
||||
_______, _______, _______, _______, GER_ANG_L, GER_ANG_R, KC_SPACE, M(0), _______, _______, _______, _______, KC_VOLU, _______, \
|
||||
_______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT),
|
||||
|
||||
/* Keymap 2: Tab Layer w/ vim pageup, modified with Tab (by holding tab)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |WAKE| | | | | | | | | | | | |Insert| TAB+GRC = WAKE
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | | { | } | | | | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | |Pos1|PgDn|PgUp|End| | |Retrn |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | |AF2| | | | | PgUp | |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | |Alt |Pos1|PgDn|End |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_TAB] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
KC_WAKE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, \
|
||||
_______, _______, _______, _______, _______, _______, _______, GER_CUR_L, GER_CUR_R, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, _______, KC_ENT, \
|
||||
_______, _______, _______, _______, _______, _______, _______, M(1), _______, _______, _______, _______, KC_PGUP, _______, \
|
||||
_______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END),
|
||||
|
||||
/* Keymap 3: Split right shift Numpad toggle Layer (by tapping the split rshift key)
|
||||
* ,-----------------------------------------------------------.
|
||||
* |RSET| | | | | | | 7| 8| 9| | | |Backsp |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | | | | | | 4 | 5 | 6 | | | | \ |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | L | L | | | | | 1 | 2 | 3 | | | Return |
|
||||
* |-----------------------------------------------------------|
|
||||
* | | | L | L | L | L | L | L | | 0 | | /| Up | | All "L"s represent
|
||||
* |-----------------------------------------------------------| LED controlling
|
||||
* |Ctrl|Win |Alt | |Alt |Left|Down|Right|
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
[_SFX] = KEYMAP_ISO_SPLITRSHIFT(
|
||||
RESET, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, KC_BSPC, \
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______, KC_BSLS, \
|
||||
_______, F(2), F(3), _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, XXXXXXX, KC_ENT, \
|
||||
_______, F(4), F(5), F(6), F(7), F(8), F(9), _______, _______, KC_0, _______, KC_SLSH, KC_UP, _______, \
|
||||
_______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
};
|
||||
|
||||
enum function_id {
|
||||
LAUNCH,
|
||||
RGBLED_TOGGLE,
|
||||
RGBLED_STEP_MODE,
|
||||
RGBLED_INCREASE_HUE,
|
||||
RGBLED_DECREASE_HUE,
|
||||
RGBLED_INCREASE_SAT,
|
||||
RGBLED_DECREASE_SAT,
|
||||
RGBLED_INCREASE_VAL,
|
||||
RGBLED_DECREASE_VAL,
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[1] = ACTION_FUNCTION(LAUNCH),
|
||||
[2] = ACTION_FUNCTION(RGBLED_TOGGLE),
|
||||
[3] = ACTION_FUNCTION(RGBLED_STEP_MODE),
|
||||
[4] = ACTION_FUNCTION(RGBLED_INCREASE_HUE),
|
||||
[5] = ACTION_FUNCTION(RGBLED_DECREASE_HUE),
|
||||
[6] = ACTION_FUNCTION(RGBLED_INCREASE_SAT),
|
||||
[7] = ACTION_FUNCTION(RGBLED_DECREASE_SAT),
|
||||
[8] = ACTION_FUNCTION(RGBLED_INCREASE_VAL),
|
||||
[9] = ACTION_FUNCTION(RGBLED_DECREASE_VAL),
|
||||
[10] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ENT),
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
// MACRODOWN only works in this function
|
||||
switch(id) {
|
||||
case 0:
|
||||
return (record->event.pressed ?
|
||||
MACRO( D(RALT), T(SPC), U(RALT), END )
|
||||
:MACRO( END ));
|
||||
break;
|
||||
case 1:
|
||||
return (record->event.pressed ?
|
||||
MACRO( D(LALT), T(F2), U(LALT), END )
|
||||
:MACRO( END ));
|
||||
break;
|
||||
}
|
||||
return MACRO_NONE;
|
||||
};
|
||||
|
||||
void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
|
||||
switch (id) {
|
||||
case RGBLED_TOGGLE:
|
||||
//led operations
|
||||
if (record->event.pressed) {
|
||||
rgblight_toggle();
|
||||
}
|
||||
break;
|
||||
case RGBLED_INCREASE_HUE:
|
||||
if (record->event.pressed) {
|
||||
rgblight_increase_hue();
|
||||
}
|
||||
break;
|
||||
case RGBLED_DECREASE_HUE:
|
||||
if (record->event.pressed) {
|
||||
rgblight_decrease_hue();
|
||||
}
|
||||
break;
|
||||
case RGBLED_INCREASE_SAT:
|
||||
if (record->event.pressed) {
|
||||
rgblight_increase_sat();
|
||||
}
|
||||
break;
|
||||
case RGBLED_DECREASE_SAT:
|
||||
if (record->event.pressed) {
|
||||
rgblight_decrease_sat();
|
||||
}
|
||||
break;
|
||||
case RGBLED_INCREASE_VAL:
|
||||
if (record->event.pressed) {
|
||||
rgblight_increase_val();
|
||||
}
|
||||
break;
|
||||
case RGBLED_DECREASE_VAL:
|
||||
if (record->event.pressed) {
|
||||
rgblight_decrease_val();
|
||||
}
|
||||
break;
|
||||
case RGBLED_STEP_MODE:
|
||||
if (record->event.pressed) {
|
||||
rgblight_step();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
toneman77's Satan Layout
|
||||
=====================
|
||||
|
||||
##Quantum MK Firmware
|
||||
For the full Quantum feature list, see the parent readme.md.
|
||||
|
||||
* heavily modified ISO (!) layout with split right shift key
|
||||
* spaceFn
|
||||
* Dual-Role keys:
|
||||
*
|
||||
| Original key | when tapped | when held |
|
||||
| ---------------- | ------------- | ------------- |
|
||||
| Space | Space | layer change |
|
||||
| Caps lock | Escape | Control |
|
||||
| Tab | Tab | layer change |
|
||||
| Enter | Enter | Control |
|
||||
|
||||
* Lockable layer for LED functions and numpad
|
||||
* vim-style arrow keys on hjkl (spacefn layer)
|
||||
* corresponding Home/PgDn/PgUp/End on hjkl (tab layer)
|
||||
* bonus arrow keys in the bottom right corner on Alt/Win/Menu/rCtrl/Shift
|
||||
* more bonus arrow keys on wasd (spacefn layer)
|
||||
* media keys prev/next/play/vol+/vol- (spacefn layer)
|
||||
* firmware bootloader button
|
||||
* WS2812 RGB Underglow Support (not needed anymore to solder directly to the atmega)
|
||||
* additional brackets that only work in german layout due to horrible placement
|
||||
in the default qwertz layout
|
||||
|
||||
|
||||
### Additional Credits
|
||||
* Keymap has been based on TerryMathews' fork of Aqoush's fork of qmk-satan-rgb. [here](https://github.com/TerryMathews/qmk-satan-rgb/tree/master/keyboard/satan)
|
||||
* nice visualization of the layers [here](http://www.keyboard-layout-editor.com/#/gists/aba4e4396459ede85bc66a22cee88e48)
|
||||
* no-need-to-solder-on-chip picture:
|
||||
![no need to solder directly on the chip anymore](LEDpinSatan.jpg)
|
||||
* special thanks to /u/TerryMathews who suggested the pin PB2, so soldering
|
||||
directly on the atmega is not needed anymore. Happened on [reddit](https://www.reddit.com/r/MechanicalKeyboards/comments/4ghq9z/photos_satan_rgb60_w1976/d2k5tra)
|
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
sudo dfu-programmer atmega32u4 erase --force
|
||||
sudo dfu-programmer atmega32u4 flash clear_flash.hex
|
||||
sudo dfu-programmer atmega32u4 reset
|
@ -0,0 +1,226 @@
|
||||
/* Author: Wojciech Siewierski < wojciech dot siewierski at onet dot pl > */
|
||||
#ifndef DYNAMIC_MACROS_H
|
||||
#define DYNAMIC_MACROS_H
|
||||
|
||||
#include "action_layer.h"
|
||||
|
||||
#ifndef DYNAMIC_MACRO_SIZE
|
||||
/* May be overridden with a custom value. Be aware that the effective
|
||||
* macro length is half of this value: each keypress is recorded twice
|
||||
* because of the down-event and up-event. This is not a bug, it's the
|
||||
* intended behavior. */
|
||||
#define DYNAMIC_MACRO_SIZE 256
|
||||
#endif
|
||||
|
||||
/* DYNAMIC_MACRO_RANGE must be set as the last element of user's
|
||||
* "planck_keycodes" enum prior to including this header. This allows
|
||||
* us to 'extend' it.
|
||||
*/
|
||||
enum dynamic_macro_keycodes {
|
||||
DYN_REC_START1 = DYNAMIC_MACRO_RANGE,
|
||||
DYN_REC_START2,
|
||||
DYN_MACRO_PLAY1,
|
||||
DYN_MACRO_PLAY2,
|
||||
};
|
||||
|
||||
/* Blink the LEDs to notify the user about some event. */
|
||||
void dynamic_macro_led_blink(void)
|
||||
{
|
||||
backlight_toggle();
|
||||
_delay_ms(100);
|
||||
backlight_toggle();
|
||||
}
|
||||
|
||||
/**
|
||||
* Start recording of the dynamic macro.
|
||||
*
|
||||
* @param[out] macro_pointer The new macro buffer iterator.
|
||||
* @param[in] macro_buffer The macro buffer used to initialize macro_pointer.
|
||||
*/
|
||||
void dynamic_macro_record_start(
|
||||
keyrecord_t **macro_pointer, keyrecord_t *macro_buffer)
|
||||
{
|
||||
dynamic_macro_led_blink();
|
||||
|
||||
clear_keyboard();
|
||||
layer_clear();
|
||||
*macro_pointer = macro_buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Play the dynamic macro.
|
||||
*
|
||||
* @param macro_buffer[in] The beginning of the macro buffer being played.
|
||||
* @param macro_end[in] The element after the last macro buffer element.
|
||||
* @param direction[in] Either +1 or -1, which way to iterate the buffer.
|
||||
*/
|
||||
void dynamic_macro_play(
|
||||
keyrecord_t *macro_buffer, keyrecord_t *macro_end, int8_t direction)
|
||||
{
|
||||
uint32_t saved_layer_state = layer_state;
|
||||
|
||||
clear_keyboard();
|
||||
layer_clear();
|
||||
|
||||
while (macro_buffer != macro_end) {
|
||||
process_record(macro_buffer);
|
||||
macro_buffer += direction;
|
||||
}
|
||||
|
||||
clear_keyboard();
|
||||
|
||||
layer_state = saved_layer_state;
|
||||
}
|
||||
|
||||
/**
|
||||
* Record a single key in a dynamic macro.
|
||||
*
|
||||
* @param macro_pointer[in,out] The current buffer position.
|
||||
* @param macro_end2[in] The end of the other macro which shouldn't be overwritten.
|
||||
* @param direction[in] Either +1 or -1, which way to iterate the buffer.
|
||||
* @param record[in] The current keypress.
|
||||
*/
|
||||
void dynamic_macro_record_key(
|
||||
keyrecord_t **macro_pointer,
|
||||
keyrecord_t *macro_end2,
|
||||
int8_t direction,
|
||||
keyrecord_t *record)
|
||||
{
|
||||
if (*macro_pointer + direction != macro_end2) {
|
||||
**macro_pointer = *record;
|
||||
*macro_pointer += direction;
|
||||
} else {
|
||||
/* Notify about the end of buffer. The blinks are paired
|
||||
* because they should happen on both down and up events. */
|
||||
backlight_toggle();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* End recording of the dynamic macro. Essentially just update the
|
||||
* pointer to the end of the macro.
|
||||
*/
|
||||
void dynamic_macro_record_end(keyrecord_t *macro_pointer, keyrecord_t **macro_end)
|
||||
{
|
||||
dynamic_macro_led_blink();
|
||||
|
||||
*macro_end = macro_pointer;
|
||||
}
|
||||
|
||||
/* Handle the key events related to the dynamic macros. Should be
|
||||
* called from process_record_user() like this:
|
||||
*
|
||||
* bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
* if (!process_record_dynamic_macro(keycode, record)) {
|
||||
* return false;
|
||||
* }
|
||||
* <...THE REST OF THE FUNCTION...>
|
||||
* }
|
||||
*/
|
||||
bool process_record_dynamic_macro(uint16_t keycode, keyrecord_t *record)
|
||||
{
|
||||
/* Both macros use the same buffer but read/write on different
|
||||
* ends of it.
|
||||
*
|
||||
* Macro1 is written left-to-right starting from the beginning of
|
||||
* the buffer.
|
||||
*
|
||||
* Macro2 is written right-to-left starting from the end of the
|
||||
* buffer.
|
||||
*
|
||||
* ¯o_buffer macro_end
|
||||
* v v
|
||||
* +------------------------------------------------------------+
|
||||
* |>>>>>> MACRO1 >>>>>>| |<<<<<<<<<<<<< MACRO2 <<<<<<<<<<<<<|
|
||||
* +------------------------------------------------------------+
|
||||
* ^ ^
|
||||
* r_macro_end r_macro_buffer
|
||||
*
|
||||
* During the recording when one macro encounters the end of the
|
||||
* other macro, the recording is stopped. Apart from this, there
|
||||
* are no arbitrary limits for the macros' length in relation to
|
||||
* each other: for example one can either have two medium sized
|
||||
* macros or one long macro and one short macro. Or even one empty
|
||||
* and one using the whole buffer.
|
||||
*/
|
||||
static keyrecord_t macro_buffer[DYNAMIC_MACRO_SIZE];
|
||||
|
||||
/* Pointer to the first buffer element after the first macro.
|
||||
* Initially points to the very beginning of the buffer since the
|
||||
* macro is empty. */
|
||||
static keyrecord_t *macro_end = macro_buffer;
|
||||
|
||||
/* The other end of the macro buffer. Serves as the beginning of
|
||||
* the second macro. */
|
||||
static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1;
|
||||
|
||||
/* Like macro_end but for the second macro. */
|
||||
static keyrecord_t *r_macro_end = r_macro_buffer;
|
||||
|
||||
/* A persistent pointer to the current macro position (iterator)
|
||||
* used during the recording. */
|
||||
static keyrecord_t *macro_pointer = NULL;
|
||||
|
||||
/* 0 - no macro is being recorded right now
|
||||
* 1,2 - either macro 1 or 2 is being recorded */
|
||||
static uint8_t macro_id = 0;
|
||||
|
||||
if (macro_id == 0) {
|
||||
/* No macro recording in progress. */
|
||||
if (!record->event.pressed) {
|
||||
switch (keycode) {
|
||||
case DYN_REC_START1:
|
||||
dynamic_macro_record_start(¯o_pointer, macro_buffer);
|
||||
macro_id = 1;
|
||||
return false;
|
||||
case DYN_REC_START2:
|
||||
dynamic_macro_record_start(¯o_pointer, r_macro_buffer);
|
||||
macro_id = 2;
|
||||
return false;
|
||||
case DYN_MACRO_PLAY1:
|
||||
dynamic_macro_play(macro_buffer, macro_end, +1);
|
||||
return false;
|
||||
case DYN_MACRO_PLAY2:
|
||||
dynamic_macro_play(r_macro_buffer, r_macro_end, -1);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* A macro is being recorded right now. */
|
||||
switch (keycode) {
|
||||
case MO(_DYN):
|
||||
/* Use the layer key used to access the macro recording as
|
||||
* a stop button. */
|
||||
if (record->event.pressed) { /* Ignore the initial release
|
||||
* just after the recoding
|
||||
* starts. */
|
||||
switch (macro_id) {
|
||||
case 1:
|
||||
dynamic_macro_record_end(macro_pointer, ¯o_end);
|
||||
break;
|
||||
case 2:
|
||||
dynamic_macro_record_end(macro_pointer, &r_macro_end);
|
||||
break;
|
||||
}
|
||||
macro_id = 0;
|
||||
}
|
||||
return false;
|
||||
default:
|
||||
/* Store the key in the macro buffer and process it normally. */
|
||||
switch (macro_id) {
|
||||
case 1:
|
||||
dynamic_macro_record_key(¯o_pointer, r_macro_end, +1, record);
|
||||
break;
|
||||
case 2:
|
||||
dynamic_macro_record_key(¯o_pointer, macro_end, -1, record);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
@ -1 +1 @@
|
||||
Copy the Microsoft HV1 Docbook transform contents into this directory (i.e. with the XSLT files in the current folder). The HV1 transform proposal can be found at http://sourceforge.net/tracker/?func=detail&aid=3610290&group_id=21935&atid=373750 .
|
||||
Copy the Microsoft HV1 Docbook transform contents into this directory (i.e. with the XSLT files in the current folder). The HV1 transform proposal can be found at http://sourceforge.net/tracker/?func=detail&aid=3610290&group_id=21935&atid=373750 .
|
||||
|
@ -1 +1 @@
|
||||
Copy the Docbook XSLT docbook-xsl-1.78.1 release contents into this directory (i.e. with the root Docbook files in the current folder). The Docbook releases can be found at http://sourceforge.net/projects/docbook/files/docbook-xsl/ .
|
||||
Copy the Docbook XSLT docbook-xsl-1.78.1 release contents into this directory (i.e. with the root Docbook files in the current folder). The Docbook releases can be found at http://sourceforge.net/projects/docbook/files/docbook-xsl/ .
|
||||
|
@ -1,45 +1,45 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../Docbook/mshelp/docbook.xsl"/>
|
||||
|
||||
<xsl:output method="xml" indent="no"/>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
|
||||
<span class="hl-keyword" style="color: #0079C1">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
|
||||
<span class="hl-string" style="color: #800000">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'comment']">
|
||||
<em class="hl-comment" style="color: #008000">
|
||||
<xsl:apply-templates/>
|
||||
</em>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'preprocessor']">
|
||||
<span class="hl-preprocessor" style="color: #A000A0">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
|
||||
<xsl:apply-templates />
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:import href="../Docbook/mshelp/docbook.xsl"/>
|
||||
|
||||
<xsl:output method="xml" indent="no"/>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
|
||||
<span class="hl-keyword" style="color: #0079C1">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
|
||||
<span class="hl-string" style="color: #800000">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'comment']">
|
||||
<em class="hl-comment" style="color: #008000">
|
||||
<xsl:apply-templates/>
|
||||
</em>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'preprocessor']">
|
||||
<span class="hl-preprocessor" style="color: #A000A0">
|
||||
<xsl:apply-templates/>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
|
||||
<xsl:apply-templates />
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,53 +1,53 @@
|
||||
/*
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
*/
|
||||
|
||||
.programlisting {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
background-color: #f4f4f4;
|
||||
border: 1px solid #aaaaaa;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f4f4f4;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
.note, .warning, .tip {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding-left: 10px;
|
||||
padding-bottom: 5px;
|
||||
background-color: #f4f4f4;
|
||||
border: 1px solid #aaaaaa;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #aaaaaa;
|
||||
border-collapse: collapse;
|
||||
margin-left: 15px;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table thead {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table tbody td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
/*
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
*/
|
||||
|
||||
.programlisting {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding: 10px;
|
||||
background-color: #f4f4f4;
|
||||
border: 1px solid #aaaaaa;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f4f4f4;
|
||||
font-family: "Consolas", "Courier New", sans-serif;
|
||||
}
|
||||
|
||||
.note, .warning, .tip {
|
||||
display: block;
|
||||
margin-left: 15px;
|
||||
padding-left: 10px;
|
||||
padding-bottom: 5px;
|
||||
background-color: #f4f4f4;
|
||||
border: 1px solid #aaaaaa;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #aaaaaa;
|
||||
border-collapse: collapse;
|
||||
margin-left: 15px;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
table thead {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table tbody td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="vsixmanifest" ContentType="text/xml"/>
|
||||
<Default Extension="cache" ContentType="text/xml"/>
|
||||
<Default Extension="png" ContentType="application/octet-stream"/>
|
||||
<Default Extension="txt" ContentType="text/plain"/>
|
||||
<Default Extension="xml" ContentType="text/xml"/>
|
||||
<Default Extension="zip" ContentType="application/octet-stream"/>
|
||||
<Default Extension="dll" ContentType="application/octet-stream" />
|
||||
<Default Extension="pkgdef" ContentType="text/plain" />
|
||||
<Default Extension="htm" ContentType="text/html" />
|
||||
<Default Extension="msha" ContentType="text/html" />
|
||||
<Default Extension="mshc" ContentType="application/octet-stream"/>
|
||||
</Types>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="vsixmanifest" ContentType="text/xml"/>
|
||||
<Default Extension="cache" ContentType="text/xml"/>
|
||||
<Default Extension="png" ContentType="application/octet-stream"/>
|
||||
<Default Extension="txt" ContentType="text/plain"/>
|
||||
<Default Extension="xml" ContentType="text/xml"/>
|
||||
<Default Extension="zip" ContentType="application/octet-stream"/>
|
||||
<Default Extension="dll" ContentType="application/octet-stream" />
|
||||
<Default Extension="pkgdef" ContentType="text/plain" />
|
||||
<Default Extension="htm" ContentType="text/html" />
|
||||
<Default Extension="msha" ContentType="text/html" />
|
||||
<Default Extension="mshc" ContentType="application/octet-stream"/>
|
||||
</Types>
|
||||
|
@ -1,18 +1,18 @@
|
||||
<AsfContentProvider Version="1.0.0">
|
||||
<Identifier Id="0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Org>FourWalledCubicle</Org>
|
||||
<ShortName>LUFA</ShortName>
|
||||
<Author>Dean Camera</Author>
|
||||
<Description/>
|
||||
<FollowFolderStructure>True</FollowFolderStructure>
|
||||
</Identifier>
|
||||
<AsfContent Type="zip" Path="contents.zip">
|
||||
<Content>
|
||||
<Version>0</Version>
|
||||
<HelpURL/>
|
||||
<Locator/>
|
||||
<DbXMLPath>content.xml.cache</DbXMLPath>
|
||||
<Description/>
|
||||
</Content>
|
||||
</AsfContent>
|
||||
</AsfContentProvider>
|
||||
<AsfContentProvider Version="1.0.0">
|
||||
<Identifier Id="0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Org>FourWalledCubicle</Org>
|
||||
<ShortName>LUFA</ShortName>
|
||||
<Author>Dean Camera</Author>
|
||||
<Description/>
|
||||
<FollowFolderStructure>True</FollowFolderStructure>
|
||||
</Identifier>
|
||||
<AsfContent Type="zip" Path="contents.zip">
|
||||
<Content>
|
||||
<Version>0</Version>
|
||||
<HelpURL/>
|
||||
<Locator/>
|
||||
<DbXMLPath>content.xml.cache</DbXMLPath>
|
||||
<Description/>
|
||||
</Content>
|
||||
</AsfContent>
|
||||
</AsfContentProvider>
|
||||
|
@ -1,33 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
|
||||
<Identifier Id="FourWalledCubicle.LUFA.0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Name>LUFA Library</Name>
|
||||
<Author>Dean Camera</Author>
|
||||
<Version>0</Version>
|
||||
<MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl>
|
||||
<Description xml:space="preserve">LUFA, the Lightweight USB Framework for AVRs.</Description>
|
||||
|
||||
<License>License.txt</License>
|
||||
<Icon>LUFA_thumb.png</Icon>
|
||||
<PreviewImage>LUFA.png</PreviewImage>
|
||||
|
||||
<SupportedProducts>
|
||||
<IsolatedShell Version="6.1">AtmelStudio</IsolatedShell>
|
||||
<IsolatedShell Version="6.2">AtmelStudio</IsolatedShell>
|
||||
</SupportedProducts>
|
||||
|
||||
<SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.5"/>
|
||||
<Locale>1033</Locale>
|
||||
|
||||
<AllUsers>false</AllUsers>
|
||||
</Identifier>
|
||||
|
||||
<References/>
|
||||
|
||||
<Content>
|
||||
<VsPackage>LUFA.pkgdef</VsPackage>
|
||||
<CustomExtension Type="MSHelp">helpcontentsetup.msha</CustomExtension>
|
||||
<CustomExtension Type="asf-manifest">asf-manifest.xml</CustomExtension>
|
||||
</Content>
|
||||
</Vsix>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
|
||||
<Identifier Id="FourWalledCubicle.LUFA.0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Name>LUFA Library</Name>
|
||||
<Author>Dean Camera</Author>
|
||||
<Version>0</Version>
|
||||
<MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl>
|
||||
<Description xml:space="preserve">LUFA, the Lightweight USB Framework for AVRs.</Description>
|
||||
|
||||
<License>License.txt</License>
|
||||
<Icon>LUFA_thumb.png</Icon>
|
||||
<PreviewImage>LUFA.png</PreviewImage>
|
||||
|
||||
<SupportedProducts>
|
||||
<IsolatedShell Version="6.1">AtmelStudio</IsolatedShell>
|
||||
<IsolatedShell Version="6.2">AtmelStudio</IsolatedShell>
|
||||
</SupportedProducts>
|
||||
|
||||
<SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.5"/>
|
||||
<Locale>1033</Locale>
|
||||
|
||||
<AllUsers>false</AllUsers>
|
||||
</Identifier>
|
||||
|
||||
<References/>
|
||||
|
||||
<Content>
|
||||
<VsPackage>LUFA.pkgdef</VsPackage>
|
||||
<CustomExtension Type="MSHelp">helpcontentsetup.msha</CustomExtension>
|
||||
<CustomExtension Type="asf-manifest">asf-manifest.xml</CustomExtension>
|
||||
</Content>
|
||||
</Vsix>
|
||||
|
@ -1,38 +1,38 @@
|
||||
"""
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
"""
|
||||
|
||||
import sys
|
||||
sys.path.append("ProjectGenerator")
|
||||
|
||||
|
||||
def show_message(message):
|
||||
print("[Project Generator] %s" % message)
|
||||
sys.stdout.flush()
|
||||
|
||||
|
||||
def main(lufa_root_path):
|
||||
try:
|
||||
from asf_avrstudio5_interface import PythonFacade
|
||||
except ImportError:
|
||||
print("Fatal Error: The ASF project generator is missing.")
|
||||
return 1
|
||||
|
||||
p = PythonFacade(lufa_root_path)
|
||||
|
||||
show_message("Checking database sanity...")
|
||||
p.check_extension_database_sanity(lufa_root_path)
|
||||
|
||||
show_message("Building cache files...")
|
||||
p.generate_extension_cache_files(lufa_root_path)
|
||||
|
||||
show_message("Cache files created.")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main(sys.argv[1]))
|
||||
"""
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
"""
|
||||
|
||||
import sys
|
||||
sys.path.append("ProjectGenerator")
|
||||
|
||||
|
||||
def show_message(message):
|
||||
print("[Project Generator] %s" % message)
|
||||
sys.stdout.flush()
|
||||
|
||||
|
||||
def main(lufa_root_path):
|
||||
try:
|
||||
from asf_avrstudio5_interface import PythonFacade
|
||||
except ImportError:
|
||||
print("Fatal Error: The ASF project generator is missing.")
|
||||
return 1
|
||||
|
||||
p = PythonFacade(lufa_root_path)
|
||||
|
||||
show_message("Checking database sanity...")
|
||||
p.check_extension_database_sanity(lufa_root_path)
|
||||
|
||||
show_message("Building cache files...")
|
||||
p.generate_extension_cache_files(lufa_root_path)
|
||||
|
||||
show_message("Cache files created.")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main(sys.argv[1]))
|
||||
|
@ -1,96 +1,96 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<extension-container>
|
||||
<extension uuid="0e160d5c-e331-48d9-850b-e0387912171b" org="FourWalledCubicle" shortname="LUFA" version="" fullname="Lightweight USB Framework for AVRs (LUFA)">
|
||||
<author name="Dean Camera" website="http://www.lufa-lib.org/" email="dean@fourwalledcubicle.com"/>
|
||||
<description>Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework.</description>
|
||||
<icon-image path="LUFA/DoxygenPages/Images/LUFA_thumb.png"/>
|
||||
<preview-image path="LUFA/DoxygenPages/Images/LUFA.png"/>
|
||||
<license caption="LUFA License" path="LUFA/License.txt"/>
|
||||
<release-notes caption="LUFA Information" url="http://www.lufa-lib.org"/>
|
||||
<online-help>
|
||||
<index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation/"/>
|
||||
<module-help-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
|
||||
<module-guide-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
|
||||
</online-help>
|
||||
<dependencies/>
|
||||
</extension>
|
||||
</extension-container>
|
||||
|
||||
<asf>
|
||||
<device-alias-map name="lufa_avr8">
|
||||
<device-support value="at90usb82"/>
|
||||
<device-support value="atmega8u2"/>
|
||||
<device-support value="at90usb162"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<device-support value="atmega16u4"/>
|
||||
<device-support value="atmega32u2"/>
|
||||
<device-support value="atmega32u4"/>
|
||||
<device-support value="at90usb646"/>
|
||||
<device-support value="at90usb647"/>
|
||||
<device-support value="at90usb1286"/>
|
||||
<device-support value="at90usb1287"/>
|
||||
</device-alias-map>
|
||||
|
||||
<device-alias-map name="lufa_xmega">
|
||||
<device-support value="atxmega16a4u"/>
|
||||
<device-support value="atxmega32a4u"/>
|
||||
<device-support value="atxmega64a4u"/>
|
||||
<device-support value="atxmega128a4u"/>
|
||||
<device-support value="atxmega64a3u"/>
|
||||
<device-support value="atxmega128a3u"/>
|
||||
<device-support value="atxmega192a3u"/>
|
||||
<device-support value="atxmega256a3u"/>
|
||||
<device-support value="atxmega256a3bu"/>
|
||||
<device-support value="atxmega128a1u"/>
|
||||
<device-support value="atxmega64b3"/>
|
||||
<device-support value="atxmega128b3"/>
|
||||
<device-support value="atxmega64b1"/>
|
||||
<device-support value="atxmega128b1"/>
|
||||
<device-support value="atxmega64c3"/>
|
||||
<device-support value="atxmega128c3"/>
|
||||
<!-- <device-support value="atxmega192c3"/> Wait for ASFP-3339 merge and release before enabling -->
|
||||
<device-support value="atxmega256c3"/>
|
||||
<device-support value="atxmega384c3"/>
|
||||
<device-support value="atxmega16c4"/>
|
||||
</device-alias-map>
|
||||
|
||||
<device-alias-map name="lufa_uc3">
|
||||
<device-support value="at32uc3a364"/>
|
||||
<device-support value="at32uc3a364s"/>
|
||||
<device-support value="at32uc3a464"/>
|
||||
<device-support value="at32uc3a464s"/>
|
||||
<device-support value="at32uc3b064"/>
|
||||
<device-support value="at32uc3b164"/>
|
||||
<device-support value="at32uc3a0128"/>
|
||||
<device-support value="at32uc3a1128"/>
|
||||
<device-support value="at32uc3a3128"/>
|
||||
<device-support value="at32uc3a3128s"/>
|
||||
<device-support value="at32uc3a4128"/>
|
||||
<device-support value="at32uc3a4128s"/>
|
||||
<device-support value="at32uc3b0128"/>
|
||||
<device-support value="at32uc3b1128"/>
|
||||
<device-support value="at32uc3a0256"/>
|
||||
<device-support value="at32uc3a1256"/>
|
||||
<device-support value="at32uc3a3256"/>
|
||||
<device-support value="at32uc3a3256s"/>
|
||||
<device-support value="at32uc3a4256"/>
|
||||
<device-support value="at32uc3a4256s"/>
|
||||
<device-support value="at32uc3b0256"/>
|
||||
<device-support value="at32uc3b1256"/>
|
||||
<device-support value="at32uc3a0512"/>
|
||||
<device-support value="at32uc3a1512"/>
|
||||
<device-support value="at32uc3b0512"/>
|
||||
<device-support value="at32uc3b1512"/>
|
||||
</device-alias-map>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<extension-container>
|
||||
<extension uuid="0e160d5c-e331-48d9-850b-e0387912171b" org="FourWalledCubicle" shortname="LUFA" version="" fullname="Lightweight USB Framework for AVRs (LUFA)">
|
||||
<author name="Dean Camera" website="http://www.lufa-lib.org/" email="dean@fourwalledcubicle.com"/>
|
||||
<description>Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework.</description>
|
||||
<icon-image path="LUFA/DoxygenPages/Images/LUFA_thumb.png"/>
|
||||
<preview-image path="LUFA/DoxygenPages/Images/LUFA.png"/>
|
||||
<license caption="LUFA License" path="LUFA/License.txt"/>
|
||||
<release-notes caption="LUFA Information" url="http://www.lufa-lib.org"/>
|
||||
<online-help>
|
||||
<index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation/"/>
|
||||
<module-help-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
|
||||
<module-guide-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
|
||||
</online-help>
|
||||
<dependencies/>
|
||||
</extension>
|
||||
</extension-container>
|
||||
|
||||
<asf>
|
||||
<device-alias-map name="lufa_avr8">
|
||||
<device-support value="at90usb82"/>
|
||||
<device-support value="atmega8u2"/>
|
||||
<device-support value="at90usb162"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<device-support value="atmega16u4"/>
|
||||
<device-support value="atmega32u2"/>
|
||||
<device-support value="atmega32u4"/>
|
||||
<device-support value="at90usb646"/>
|
||||
<device-support value="at90usb647"/>
|
||||
<device-support value="at90usb1286"/>
|
||||
<device-support value="at90usb1287"/>
|
||||
</device-alias-map>
|
||||
|
||||
<device-alias-map name="lufa_xmega">
|
||||
<device-support value="atxmega16a4u"/>
|
||||
<device-support value="atxmega32a4u"/>
|
||||
<device-support value="atxmega64a4u"/>
|
||||
<device-support value="atxmega128a4u"/>
|
||||
<device-support value="atxmega64a3u"/>
|
||||
<device-support value="atxmega128a3u"/>
|
||||
<device-support value="atxmega192a3u"/>
|
||||
<device-support value="atxmega256a3u"/>
|
||||
<device-support value="atxmega256a3bu"/>
|
||||
<device-support value="atxmega128a1u"/>
|
||||
<device-support value="atxmega64b3"/>
|
||||
<device-support value="atxmega128b3"/>
|
||||
<device-support value="atxmega64b1"/>
|
||||
<device-support value="atxmega128b1"/>
|
||||
<device-support value="atxmega64c3"/>
|
||||
<device-support value="atxmega128c3"/>
|
||||
<!-- <device-support value="atxmega192c3"/> Wait for ASFP-3339 merge and release before enabling -->
|
||||
<device-support value="atxmega256c3"/>
|
||||
<device-support value="atxmega384c3"/>
|
||||
<device-support value="atxmega16c4"/>
|
||||
</device-alias-map>
|
||||
|
||||
<device-alias-map name="lufa_uc3">
|
||||
<device-support value="at32uc3a364"/>
|
||||
<device-support value="at32uc3a364s"/>
|
||||
<device-support value="at32uc3a464"/>
|
||||
<device-support value="at32uc3a464s"/>
|
||||
<device-support value="at32uc3b064"/>
|
||||
<device-support value="at32uc3b164"/>
|
||||
<device-support value="at32uc3a0128"/>
|
||||
<device-support value="at32uc3a1128"/>
|
||||
<device-support value="at32uc3a3128"/>
|
||||
<device-support value="at32uc3a3128s"/>
|
||||
<device-support value="at32uc3a4128"/>
|
||||
<device-support value="at32uc3a4128s"/>
|
||||
<device-support value="at32uc3b0128"/>
|
||||
<device-support value="at32uc3b1128"/>
|
||||
<device-support value="at32uc3a0256"/>
|
||||
<device-support value="at32uc3a1256"/>
|
||||
<device-support value="at32uc3a3256"/>
|
||||
<device-support value="at32uc3a3256s"/>
|
||||
<device-support value="at32uc3a4256"/>
|
||||
<device-support value="at32uc3a4256s"/>
|
||||
<device-support value="at32uc3b0256"/>
|
||||
<device-support value="at32uc3b1256"/>
|
||||
<device-support value="at32uc3a0512"/>
|
||||
<device-support value="at32uc3a1512"/>
|
||||
<device-support value="at32uc3b0512"/>
|
||||
<device-support value="at32uc3b1512"/>
|
||||
</device-alias-map>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,34 +1,34 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="service" id="lufa.common" caption="LUFA Common Infrastructure">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<build type="doxygen-entry-point" value="Group_Common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Version.h"/>
|
||||
<build type="distribute" subtype="license" value="License.txt"/>
|
||||
|
||||
<build type="header-file" subtype="api" value="Common/Common.h"/>
|
||||
<build type="header-file" value="Common/Architectures.h"/>
|
||||
<build type="header-file" value="Common/ArchitectureSpecific.h"/>
|
||||
<build type="header-file" value="Common/Attributes.h"/>
|
||||
<build type="header-file" value="Common/BoardTypes.h"/>
|
||||
<build type="header-file" value="Common/CompilerSpecific.h"/>
|
||||
<build type="header-file" value="Common/Endianness.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="service" id="lufa.common" caption="LUFA Common Infrastructure">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<build type="doxygen-entry-point" value="Group_Common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Version.h"/>
|
||||
<build type="distribute" subtype="license" value="License.txt"/>
|
||||
|
||||
<build type="header-file" subtype="api" value="Common/Common.h"/>
|
||||
<build type="header-file" value="Common/Architectures.h"/>
|
||||
<build type="header-file" value="Common/ArchitectureSpecific.h"/>
|
||||
<build type="header-file" value="Common/Attributes.h"/>
|
||||
<build type="header-file" value="Common/BoardTypes.h"/>
|
||||
<build type="header-file" value="Common/CompilerSpecific.h"/>
|
||||
<build type="header-file" value="Common/Endianness.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,114 +1,114 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture">
|
||||
<device-support value="mega"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture">
|
||||
<device-support value="xmega"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture">
|
||||
<device-support value="uc3"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.info" caption="LUFA Board Hardware Information Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Board.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.leds" caption="LUFA Board LED Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_LEDs"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.buttons" caption="LUFA Board Buttons Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Buttons"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.dataflash" caption="LUFA Board Dataflash Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Dataflash"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Dataflash.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.joystick" caption="LUFA Board Joystick Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Joystick"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Joystick.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.temperature" caption="LUFA Board Temperature Sensor Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Temperature"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.peripheral.adc"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Board/Temperature.c"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Temperature.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture">
|
||||
<device-support value="mega"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture">
|
||||
<device-support value="xmega"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture">
|
||||
<device-support value="uc3"/>
|
||||
|
||||
<require idref="lufa.drivers.board"/>
|
||||
<require idref="lufa.drivers.board.info"/>
|
||||
</board>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.info" caption="LUFA Board Hardware Information Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Board.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.leds" caption="LUFA Board LED Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_LEDs"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.buttons" caption="LUFA Board Buttons Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Buttons"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.dataflash" caption="LUFA Board Dataflash Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Dataflash"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Dataflash.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.joystick" caption="LUFA Board Joystick Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Joystick"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Joystick.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board.temperature" caption="LUFA Board Temperature Sensor Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Temperature"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.peripheral.adc"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Board/Temperature.c"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Board/Temperature.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,853 +1,853 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-config id="lufa.drivers.board" name="lufa.drivers.board.name" default="none" caption="LUFA Board Support">
|
||||
<info type="description" value="summary">
|
||||
Board hardware (LEDs, Buttons, etc.) drivers for the preconfigured LUFA boards. Note that only the boards
|
||||
compatible with the currently selected device will be shown.
|
||||
|
||||
To disable all hardware drivers silently, use NONE. To supply customer drivers, use USER (see manual).
|
||||
</info>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#none" caption="Board Support - None">
|
||||
<device-support value="avr"/>
|
||||
<build type="define" name="BOARD" value="BOARD_NONE"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#user" caption="Board Support - User Supplied">
|
||||
<device-support value="avr"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USER"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#adafruit_u4" caption="Board Support - ADAFRUITU4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_ADAFRUITU4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_ADAFRUITU4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#atavrusbrf01" caption="Board Support - ATAVRUSBRF01">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_ATAVRUSBRF01"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_ATAVRUSBRF01"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#benito" caption="Board Support - BENITO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BENITO"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BENITO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#big_multio" caption="Board Support - BIGMULTIO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BIGMULTIO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BIGMULTIO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#blackcat" caption="Board Support - BLACKCAT">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BLACKCAT"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BLACKCAT"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#bui" caption="Board Support - BUI">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BUI"/>
|
||||
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BUI"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUI/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUI/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#bumbleb" caption="Board Support - BUMBLEB">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BUMBLEB"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BUMBLEB"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#culv3" caption="Board Support - CULV3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_CULV3"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_CULV3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#duce" caption="Board Support - DUCE">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_DUCE"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_DUCE"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/DUCE/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/DUCE/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk527" caption="Board Support - EVK527">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK527"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_EVK527"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db321c"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#jm_db_u2" caption="Board Support - JMDBU2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_JMDBU2"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_JMDBU2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#leonardo" caption="Board Support - LEONARDO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_LEONARDO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_LEONARDO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/LEONARDO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/LEONARDO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#maximus" caption="Board Support - MAXIMUS">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MAXIMUS"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MAXIMUS"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_32u2" caption="Board Support - MICROPENDOUS_32U2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_32U2"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_32U2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_a" caption="Board Support - MICROPENDOUS_A">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_A"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_A"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_1" caption="Board Support - MICROPENDOUS_1">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_1"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_1"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_2" caption="Board Support - MICROPENDOUS_2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_2"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_3" caption="Board Support - MICROPENDOUS_3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_3"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_4" caption="Board Support - MICROPENDOUS_4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_4"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_dip" caption="Board Support - MICROPENDOUS_DIP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_DIP"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_DIP"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_rev1" caption="Board Support - MICROPENDOUS_REV1">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_REV1"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV1"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_rev2" caption="Board Support - MICROPENDOUS_REV2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_REV2"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#microsin_162" caption="Board Support - MICROSIN162">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROSIN162"/>
|
||||
|
||||
<device-support value="atmega162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROSIN162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#minimus" caption="Board Support - MINIMUS">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MINIMUS"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MINIMUS"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#multio" caption="Board Support - MULTIO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MULTIO"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MULTIO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MULTIO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MULTIO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_162" caption="Board Support - OLIMEX162">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEX162"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEX162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_32u4" caption="Board Support - OLIMEX32U4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEX32U4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEX32U4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_isp_mkii" caption="Board Support - OLIMEXISPMK2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEXISPMK2"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEXISPMK2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_t32u4" caption="Board Support - OLIMEX_T32U4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEXT32U4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEXT32U4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#rzusbstick" caption="Board Support - RZUSBSTICK">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_RZUSBSTICK"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_RZUSBSTICK"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#sparkfun_8u2" caption="Board Support - SPARKFUN8U2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_SPARKFUN8U2"/>
|
||||
|
||||
<device-support value="atmega8u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_SPARKFUN8U2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stk525" caption="Board Support - STK525">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STK525"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<device-support value="at90usb1286"/>
|
||||
<device-support value="at90usb647"/>
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_STK525"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db321c"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stk526" caption="Board Support - STK526">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STK526"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<device-support value="at90usb82"/>
|
||||
<device-support value="atmega32u2"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<device-support value="atmega8u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_STK526"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#teensy" caption="Board Support - TEENSY">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TEENSY"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TEENSY"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#teensy2" caption="Board Support - TEENSY2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TEENSY2"/>
|
||||
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TEENSY2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#tul" caption="Board Support - TUL">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TUL"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TUL"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#udip" caption="Board Support - UDIP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UDIP"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_UDIP"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#uno" caption="Board Support - UNO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UNO"/>
|
||||
|
||||
<device-support value="atmega8u2"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_UNO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UNO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UNO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax" caption="Board Support - USB2AX">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax_v3" caption="Board Support - USB2AX_V3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX_V3"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX_V3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax_v3_1" caption="Board Support - USB2AX_V31">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX_V31"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX_V31"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbfoo" caption="Board Support - USBFOO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBFOO"/>
|
||||
|
||||
<device-support value="atmega162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBFOO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbkey" caption="Board Support - USBKEY">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBKEY"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBKEY"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbtiny_mkii" caption="Board Support - USBTINYMKII">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBTINYMKII"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBTINYMKII"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#xplain_rev1" caption="Board Support - XPLAIN (HW Rev 1)">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_XPLAIN_REV1"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_XPLAIN_REV1"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#xplain" caption="Board Support - XPLAIN (HW Rev 2+)">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_XPLAIN"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_XPLAIN"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#a3bu_xplained" caption="Board Support - A3BU_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_A3BU_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega256a3bu"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.usart_spi"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_A3BU_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#b1_xplained" caption="Board Support - B1_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_B1_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega128b1"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.usart_spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_B1_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1100" caption="Board Support - EVK1100">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1100"/>
|
||||
|
||||
<device-support value="at32uc3a0512"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1100"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1101" caption="Board Support - EVK1101">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1101"/>
|
||||
|
||||
<device-support value="at32uc3b0256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1101"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1104" caption="Board Support - EVK1104">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1104"/>
|
||||
|
||||
<device-support value="at32uc3a3256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1104"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#uc3a3_xplained" caption="Board Support - UC3A3_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UC3_A3_XPLAINED"/>
|
||||
|
||||
<device-support value="at32uc3a3256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_UC3A3_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stange_isp" caption="Board Support - STANGE_ISP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STANGE_ISP"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_STANGE_ISP"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#c3_xplained" caption="Board Support - C3_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_C3_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega384c3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_C3_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#u2s" caption="Board Support - U2S">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_U2S"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_U2S"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#yun" caption="Board Support - YUN">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_YUN"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/YUN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/YUN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_YUN"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#yun" caption="Board Support - MICRO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICRO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICRO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICRO/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_MICRO"/>
|
||||
</module>
|
||||
</select-by-config>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-config id="lufa.drivers.board" name="lufa.drivers.board.name" default="none" caption="LUFA Board Support">
|
||||
<info type="description" value="summary">
|
||||
Board hardware (LEDs, Buttons, etc.) drivers for the preconfigured LUFA boards. Note that only the boards
|
||||
compatible with the currently selected device will be shown.
|
||||
|
||||
To disable all hardware drivers silently, use NONE. To supply customer drivers, use USER (see manual).
|
||||
</info>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#none" caption="Board Support - None">
|
||||
<device-support value="avr"/>
|
||||
<build type="define" name="BOARD" value="BOARD_NONE"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#user" caption="Board Support - User Supplied">
|
||||
<device-support value="avr"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USER"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#adafruit_u4" caption="Board Support - ADAFRUITU4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_ADAFRUITU4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_ADAFRUITU4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#atavrusbrf01" caption="Board Support - ATAVRUSBRF01">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_ATAVRUSBRF01"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_ATAVRUSBRF01"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#benito" caption="Board Support - BENITO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BENITO"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BENITO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BENITO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#big_multio" caption="Board Support - BIGMULTIO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BIGMULTIO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BIGMULTIO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#blackcat" caption="Board Support - BLACKCAT">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BLACKCAT"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BLACKCAT"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#bui" caption="Board Support - BUI">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BUI"/>
|
||||
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BUI"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUI/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUI/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#bumbleb" caption="Board Support - BUMBLEB">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_BUMBLEB"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_BUMBLEB"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#culv3" caption="Board Support - CULV3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_CULV3"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_CULV3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/CULV3/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#duce" caption="Board Support - DUCE">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_DUCE"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_DUCE"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/DUCE/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/DUCE/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk527" caption="Board Support - EVK527">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK527"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_EVK527"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db321c"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/EVK527/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#jm_db_u2" caption="Board Support - JMDBU2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_JMDBU2"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_JMDBU2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#leonardo" caption="Board Support - LEONARDO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_LEONARDO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_LEONARDO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/LEONARDO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/LEONARDO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#maximus" caption="Board Support - MAXIMUS">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MAXIMUS"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MAXIMUS"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_32u2" caption="Board Support - MICROPENDOUS_32U2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_32U2"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_32U2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_a" caption="Board Support - MICROPENDOUS_A">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_A"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_A"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_1" caption="Board Support - MICROPENDOUS_1">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_1"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_1"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_2" caption="Board Support - MICROPENDOUS_2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_2"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_3" caption="Board Support - MICROPENDOUS_3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_3"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_4" caption="Board Support - MICROPENDOUS_4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_4"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_dip" caption="Board Support - MICROPENDOUS_DIP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_DIP"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_DIP"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_rev1" caption="Board Support - MICROPENDOUS_REV1">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_REV1"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV1"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#micropendous_rev2" caption="Board Support - MICROPENDOUS_REV2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROPENDOUS_REV2"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#microsin_162" caption="Board Support - MICROSIN162">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICROSIN162"/>
|
||||
|
||||
<device-support value="atmega162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MICROSIN162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#minimus" caption="Board Support - MINIMUS">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MINIMUS"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MINIMUS"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#multio" caption="Board Support - MULTIO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MULTIO"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_MULTIO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MULTIO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MULTIO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_162" caption="Board Support - OLIMEX162">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEX162"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEX162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_32u4" caption="Board Support - OLIMEX32U4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEX32U4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEX32U4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_isp_mkii" caption="Board Support - OLIMEXISPMK2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEXISPMK2"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEXISPMK2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#olimex_t32u4" caption="Board Support - OLIMEX_T32U4">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_OLIMEXT32U4"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_OLIMEXT32U4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#rzusbstick" caption="Board Support - RZUSBSTICK">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_RZUSBSTICK"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_RZUSBSTICK"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#sparkfun_8u2" caption="Board Support - SPARKFUN8U2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_SPARKFUN8U2"/>
|
||||
|
||||
<device-support value="atmega8u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_SPARKFUN8U2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stk525" caption="Board Support - STK525">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STK525"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<device-support value="at90usb1286"/>
|
||||
<device-support value="at90usb647"/>
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_STK525"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db321c"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK525/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stk526" caption="Board Support - STK526">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STK526"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<device-support value="at90usb82"/>
|
||||
<device-support value="atmega32u2"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<device-support value="atmega8u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_STK526"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STK526/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#teensy" caption="Board Support - TEENSY">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TEENSY"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TEENSY"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#teensy2" caption="Board Support - TEENSY2">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TEENSY2"/>
|
||||
|
||||
<device-support value="at90usb646"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TEENSY2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#tul" caption="Board Support - TUL">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_TUL"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
<build type="define" name="BOARD" value="BOARD_TUL"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/TUL/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#udip" caption="Board Support - UDIP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UDIP"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_UDIP"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UDIP/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#uno" caption="Board Support - UNO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UNO"/>
|
||||
|
||||
<device-support value="atmega8u2"/>
|
||||
<device-support value="atmega16u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_UNO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UNO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/UNO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax" caption="Board Support - USB2AX">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax_v3" caption="Board Support - USB2AX_V3">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX_V3"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX_V3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usb2ax_v3_1" caption="Board Support - USB2AX_V31">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USB2AX_V31"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USB2AX_V31"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbfoo" caption="Board Support - USBFOO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBFOO"/>
|
||||
|
||||
<device-support value="atmega162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBFOO"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbkey" caption="Board Support - USBKEY">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBKEY"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBKEY"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#usbtiny_mkii" caption="Board Support - USBTINYMKII">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_USBTINYMKII"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
<build type="define" name="BOARD" value="BOARD_USBTINYMKII"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/LEDs.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#xplain_rev1" caption="Board Support - XPLAIN (HW Rev 1)">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_XPLAIN_REV1"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_XPLAIN_REV1"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#xplain" caption="Board Support - XPLAIN (HW Rev 2+)">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_XPLAIN"/>
|
||||
|
||||
<device-support value="at90usb1287"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.spi"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_XPLAIN"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#a3bu_xplained" caption="Board Support - A3BU_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_A3BU_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega256a3bu"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.usart_spi"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_A3BU_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#b1_xplained" caption="Board Support - B1_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_B1_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega128b1"/>
|
||||
|
||||
<require idref="lufa.drivers.misc.at45db642d"/>
|
||||
<require idref="lufa.drivers.peripheral.usart_spi"/>
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.dataflash"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_B1_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1100" caption="Board Support - EVK1100">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1100"/>
|
||||
|
||||
<device-support value="at32uc3a0512"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1100/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1100"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1101" caption="Board Support - EVK1101">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1101"/>
|
||||
|
||||
<device-support value="at32uc3b0256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.joystick"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Joystick.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1101/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1101"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#evk1104" caption="Board Support - EVK1104">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_EVK1104"/>
|
||||
|
||||
<device-support value="at32uc3a3256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/EVK1104/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_EVK1104"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#uc3a3_xplained" caption="Board Support - UC3A3_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_UC3_A3_XPLAINED"/>
|
||||
|
||||
<device-support value="at32uc3a3256"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_UC3A3_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#stange_isp" caption="Board Support - STANGE_ISP">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_STANGE_ISP"/>
|
||||
|
||||
<device-support value="at90usb162"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_STANGE_ISP"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#c3_xplained" caption="Board Support - C3_XPLAINED">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_C3_XPLAINED"/>
|
||||
|
||||
<device-support value="atxmega384c3"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/XMEGA/C3_XPLAINED/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_C3_XPLAINED"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#u2s" caption="Board Support - U2S">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_U2S"/>
|
||||
|
||||
<device-support value="atmega32u2"/>
|
||||
|
||||
<require idref="lufa.drivers.board.buttons"/>
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/Buttons.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/U2S/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_U2S"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#yun" caption="Board Support - YUN">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_YUN"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/YUN/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/YUN/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_YUN"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.board#yun" caption="Board Support - MICRO">
|
||||
<build type="doxygen-entry-point" value="Group_BoardInfo_MICRO"/>
|
||||
|
||||
<device-support value="atmega32u4"/>
|
||||
|
||||
<require idref="lufa.drivers.board.leds"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICRO/Board.h"/>
|
||||
<build type="header-file" value="Drivers/Board/AVR8/MICRO/LEDs.h"/>
|
||||
|
||||
<build type="define" name="BOARD" value="BOARD_MICRO"/>
|
||||
</module>
|
||||
</select-by-config>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,57 +1,57 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="component" id="lufa.drivers.misc.at45db321c" caption="LUFA AT45DB321C Dataflash Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_AT45DB321C"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB321C.h"/>
|
||||
</module>
|
||||
|
||||
<module type="component" id="lufa.drivers.misc.at45db642d" caption="LUFA AT45DB642D Dataflash Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_AT45DB321C"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB642D.h"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.drivers.misc.ringbuffer" caption="LUFA Ring Buffer">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_RingBuff"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/RingBuffer.h"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.drivers.misc.ansi" caption="LUFA ANSI Terminal Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Terminal"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/TerminalCodes.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="component" id="lufa.drivers.misc.at45db321c" caption="LUFA AT45DB321C Dataflash Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_AT45DB321C"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB321C.h"/>
|
||||
</module>
|
||||
|
||||
<module type="component" id="lufa.drivers.misc.at45db642d" caption="LUFA AT45DB642D Dataflash Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_AT45DB321C"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB642D.h"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.drivers.misc.ringbuffer" caption="LUFA Ring Buffer">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_RingBuff"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/RingBuffer.h"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.drivers.misc.ansi" caption="LUFA ANSI Terminal Commands">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Terminal"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Misc/TerminalCodes.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
@ -1,198 +1,198 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="lufa.drivers.peripheral.usart" caption="LUFA USART Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#avr8" caption="LUFA USART Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/AVR8/Serial_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/Serial_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#xmega" caption="LUFA USART Driver - AVR8">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#uc3" caption="LUFA USART Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.spi" caption="LUFA SPI Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#avr8" caption="LUFA SPI Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/SPI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#xmega" caption="LUFA SPI Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/SPI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#uc3" caption="LUFA SPI Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.usart_spi" caption="LUFA USART SPI Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#avr8" caption="LUFA USART SPI Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/SerialSPI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#xmega" caption="LUFA USART SPI Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#uc3" caption="LUFA USART SPI Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.twi" caption="LUFA TWI Master Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#avr8" caption="LUFA TWI Master Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/AVR8/TWI_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/TWI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#xmega" caption="LUFA TWI Master Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#uc3" caption="LUFA TWI Master Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.adc" caption="LUFA ADC Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#avr8" caption="LUFA ADC Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/ADC_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/ADC.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#xmega" caption="LUFA ADC Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#uc3" caption="LUFA ADC Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="lufa.drivers.peripheral.usart" caption="LUFA USART Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#avr8" caption="LUFA USART Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/AVR8/Serial_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/Serial_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#xmega" caption="LUFA USART Driver - AVR8">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart#uc3" caption="LUFA USART Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_Serial"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.misc.ansi"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.spi" caption="LUFA SPI Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#avr8" caption="LUFA SPI Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/SPI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#xmega" caption="LUFA SPI Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/SPI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.spi#uc3" caption="LUFA SPI Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.usart_spi" caption="LUFA USART SPI Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#avr8" caption="LUFA USART SPI Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/SerialSPI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#xmega" caption="LUFA USART SPI Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.usart_spi#uc3" caption="LUFA USART SPI Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_SerialSPI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.twi" caption="LUFA TWI Master Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#avr8" caption="LUFA TWI Master Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/AVR8/TWI_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/TWI_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#xmega" caption="LUFA TWI Master Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="c-source" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.twi#uc3" caption="LUFA TWI Master Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_TWI"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<select-by-device id="lufa.drivers.peripheral.adc" caption="LUFA ADC Driver">
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#avr8" caption="LUFA ADC Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<build type="header-file" value="Drivers/Peripheral/AVR8/ADC_AVR8.h"/>
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/Peripheral/ADC.h"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#xmega" caption="LUFA ADC Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.peripheral.adc#uc3" caption="LUFA ADC Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_ADC"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,32 +1,32 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb" caption="LUFA USB Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USB"/>
|
||||
|
||||
<build type="define" name="USE_LUFA_CONFIG_HEADER" value=""/>
|
||||
<build type="module-config" subtype="path" value="CodeTemplates"/>
|
||||
<build type="module-config" subtype="required-header-file" value="LUFAConfig.h"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/USB/USB.h"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.usb.class"/>
|
||||
<require idref="lufa.drivers.usb.core"/>
|
||||
</module>
|
||||
</asf>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb" caption="LUFA USB Driver">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USB"/>
|
||||
|
||||
<build type="define" name="USE_LUFA_CONFIG_HEADER" value=""/>
|
||||
<build type="module-config" subtype="path" value="CodeTemplates"/>
|
||||
<build type="module-config" subtype="required-header-file" value="LUFAConfig.h"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Drivers/USB/USB.h"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
<require idref="lufa.drivers.usb.class"/>
|
||||
<require idref="lufa.drivers.usb.core"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
@ -1,32 +1,32 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="service" id="lufa.drivers.usb.class" caption="LUFA USB Class Drivers">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<build type="doxygen-entry-point" value="Group_USBClassDrivers"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.class.android"/>
|
||||
<require idref="lufa.drivers.usb.class.audio"/>
|
||||
<require idref="lufa.drivers.usb.class.cdc"/>
|
||||
<require idref="lufa.drivers.usb.class.hid"/>
|
||||
<require idref="lufa.drivers.usb.class.ms"/>
|
||||
<require idref="lufa.drivers.usb.class.midi"/>
|
||||
<require idref="lufa.drivers.usb.class.printer"/>
|
||||
<require idref="lufa.drivers.usb.class.rndis"/>
|
||||
<require idref="lufa.drivers.usb.class.si"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="service" id="lufa.drivers.usb.class" caption="LUFA USB Class Drivers">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<build type="doxygen-entry-point" value="Group_USBClassDrivers"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.class.android"/>
|
||||
<require idref="lufa.drivers.usb.class.audio"/>
|
||||
<require idref="lufa.drivers.usb.class.cdc"/>
|
||||
<require idref="lufa.drivers.usb.class.hid"/>
|
||||
<require idref="lufa.drivers.usb.class.ms"/>
|
||||
<require idref="lufa.drivers.usb.class.midi"/>
|
||||
<require idref="lufa.drivers.usb.class.printer"/>
|
||||
<require idref="lufa.drivers.usb.class.rndis"/>
|
||||
<require idref="lufa.drivers.usb.class.si"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,85 +1,85 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.common" caption="LUFA USB Core Driver - Common">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="header-file" value="Drivers/USB/Core/Device.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Endpoint.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Host.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Pipe.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/OTG.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBController.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBInterrupt.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/EndpointStream.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/PipeStream.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/ConfigDescriptors.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/ConfigDescriptors.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/DeviceStandardReq.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/DeviceStandardReq.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/Events.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Events.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/HostStandardReq.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/HostStandardReq.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/USBTask.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBTask.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBMode.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/StdDescriptors.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/StdRequestType.h"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Class/Common/HIDParser.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Class/Common/HIDParser.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Class/Common/HIDReportData.h"/>
|
||||
</module>
|
||||
|
||||
<select-by-device id="lufa.drivers.usb.core" caption="LUFA USB Core Driver">
|
||||
<module type="driver" id="lufa.drivers.usb.core#avr8" caption="LUFA USB Core Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.avr8"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.usb.core#xmega" caption="LUFA USB Core Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.xmega"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.usb.core#uc3" caption="LUFA USB Core Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.uc3"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.common" caption="LUFA USB Core Driver - Common">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="header-file" value="Drivers/USB/Core/Device.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Endpoint.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Host.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Pipe.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/OTG.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBController.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBInterrupt.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/EndpointStream.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/PipeStream.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/ConfigDescriptors.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/ConfigDescriptors.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/DeviceStandardReq.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/DeviceStandardReq.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/Events.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/Events.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/HostStandardReq.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/HostStandardReq.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/USBTask.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBTask.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/USBMode.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/StdDescriptors.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/StdRequestType.h"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Class/Common/HIDParser.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Class/Common/HIDParser.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Class/Common/HIDReportData.h"/>
|
||||
</module>
|
||||
|
||||
<select-by-device id="lufa.drivers.usb.core" caption="LUFA USB Core Driver">
|
||||
<module type="driver" id="lufa.drivers.usb.core#avr8" caption="LUFA USB Core Driver - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.avr8"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.usb.core#xmega" caption="LUFA USB Core Driver - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.xmega"/>
|
||||
</module>
|
||||
|
||||
<module type="driver" id="lufa.drivers.usb.core#uc3" caption="LUFA USB Core Driver - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
|
||||
|
||||
<require idref="lufa.drivers.usb.core.common"/>
|
||||
<require idref="lufa.drivers.usb.core.uc3"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,43 +1,43 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.avr8" caption="LUFA USB Core Driver for AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Device_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Device_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Host_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Host_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Pipe_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Pipe_AVR8.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/OTG_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/USBController_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/USBController_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.avr8" caption="LUFA USB Core Driver for AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Device_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Device_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Host_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Host_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/Pipe_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/Pipe_AVR8.h"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/OTG_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/USBController_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/USBController_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,42 +1,42 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.uc3" caption="LUFA USB Core Driver for UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Device_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Device_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Endpoint_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Endpoint_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Host_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Host_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Pipe_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Pipe_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/USBController_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/USBController_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/EndpointStream_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/EndpointStream_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/PipeStream_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/PipeStream_UC3.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.uc3" caption="LUFA USB Core Driver for UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Device_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Device_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Endpoint_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Endpoint_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Host_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Host_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/Pipe_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/Pipe_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/USBController_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/USBController_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/EndpointStream_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/EndpointStream_UC3.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/UC3/PipeStream_UC3.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/UC3/PipeStream_UC3.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,36 +1,36 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.xmega" caption="LUFA USB Core Driver for XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Device_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/Device_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Pipe_XMEGA.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.drivers.usb.core.xmega" caption="LUFA USB Core Driver for XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
|
||||
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Device_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/Device_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/Pipe_XMEGA.c"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h"/>
|
||||
<build type="c-source" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c"/>
|
||||
<build type="header-file" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,60 +1,60 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="lufa.platform" caption="LUFA Platform Specific Support">
|
||||
<module type="service" id="lufa.platform#avr8" caption="LUFA Platform Specific Support - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_AVR8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.platform#xmega" caption="LUFA Platform Specific Support - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_XMEGA"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<build type="distribute" value="Platform/XMEGA/XMEGAExperimentalInfo.txt" subtype="license"/>
|
||||
|
||||
<require idref="lufa.platform.xmega"/>
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.platform#uc3" caption="LUFA Platform Specific Support - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_UC3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<build type="distribute" value="Platform/UC3/UC3ExperimentalInfo.txt" subtype="license"/>
|
||||
|
||||
<require idref="lufa.platform.uc3"/>
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="lufa.platform" caption="LUFA Platform Specific Support">
|
||||
<module type="service" id="lufa.platform#avr8" caption="LUFA Platform Specific Support - AVR8">
|
||||
<device-support-alias value="lufa_avr8"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_AVR8"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.platform#xmega" caption="LUFA Platform Specific Support - XMEGA">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_XMEGA"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<build type="distribute" value="Platform/XMEGA/XMEGAExperimentalInfo.txt" subtype="license"/>
|
||||
|
||||
<require idref="lufa.platform.xmega"/>
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
|
||||
<module type="service" id="lufa.platform#uc3" caption="LUFA Platform Specific Support - UC3">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<build type="define" name="ARCH" value="ARCH_UC3"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
|
||||
|
||||
<build type="include-path" value=".."/>
|
||||
<build type="header-file" subtype="api" value="Platform/Platform.h"/>
|
||||
|
||||
<build type="distribute" value="Platform/UC3/UC3ExperimentalInfo.txt" subtype="license"/>
|
||||
|
||||
<require idref="lufa.platform.uc3"/>
|
||||
<require idref="lufa.common"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,26 +1,26 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.platform.uc3" caption="LUFA UC3 Platform Drivers">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers_UC3"/>
|
||||
|
||||
<build type="header-file" value="Platform/UC3/ClockManagement.h"/>
|
||||
<build type="header-file" value="Platform/UC3/InterruptManagement.h"/>
|
||||
<build type="c-source" value="Platform/UC3/InterruptManagement.c"/>
|
||||
<build type="asm-source" value="Platform/UC3/Exception.S"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<module type="driver" id="lufa.platform.uc3" caption="LUFA UC3 Platform Drivers">
|
||||
<device-support-alias value="lufa_uc3"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers_UC3"/>
|
||||
|
||||
<build type="header-file" value="Platform/UC3/ClockManagement.h"/>
|
||||
<build type="header-file" value="Platform/UC3/InterruptManagement.h"/>
|
||||
<build type="c-source" value="Platform/UC3/InterruptManagement.c"/>
|
||||
<build type="asm-source" value="Platform/UC3/Exception.S"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,23 +1,23 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf xmlversion="1.0">
|
||||
<module type="driver" id="lufa.platform.xmega" caption="LUFA XMEGA Platform Drivers">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers_XMEGA"/>
|
||||
|
||||
<build type="header-file" value="Platform/XMEGA/ClockManagement.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf xmlversion="1.0">
|
||||
<module type="driver" id="lufa.platform.xmega" caption="LUFA XMEGA Platform Drivers">
|
||||
<device-support-alias value="lufa_xmega"/>
|
||||
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
|
||||
<build type="doxygen-entry-point" value="Group_PlatformDrivers_XMEGA"/>
|
||||
|
||||
<build type="header-file" value="Platform/XMEGA/ClockManagement.h"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,43 +1,43 @@
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="common.utils.toolchain_config" caption="Toolchain configuration defaults">
|
||||
<module type="build-specific" id="common.utils.toolchain_config#avr" caption="Toolchain configuration defaults for 8-bit AVR">
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<device-support value="avr"/>
|
||||
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.warnings.AllWarnings" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<module type="build-specific" id="common.utils.toolchain_config#uc3" caption="Toolchain configuration defaults for 32-bit AVR">
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<device-support value="uc3"/>
|
||||
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.warnings.AllWarnings" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -mno-cond-exec-before-reload" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.linker.optimization.RelaxBranches" value="True" toolchain="avr32gcc"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2013.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework integration file -->
|
||||
|
||||
<lufa>
|
||||
<asf>
|
||||
<select-by-device id="common.utils.toolchain_config" caption="Toolchain configuration defaults">
|
||||
<module type="build-specific" id="common.utils.toolchain_config#avr" caption="Toolchain configuration defaults for 8-bit AVR">
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<device-support value="avr"/>
|
||||
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.warnings.AllWarnings" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/>
|
||||
<toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/>
|
||||
</module>
|
||||
</select-by-device>
|
||||
|
||||
<module type="build-specific" id="common.utils.toolchain_config#uc3" caption="Toolchain configuration defaults for 32-bit AVR">
|
||||
<info type="gui-flag" value="hidden"/>
|
||||
<device-support value="uc3"/>
|
||||
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.warnings.AllWarnings" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -mno-cond-exec-before-reload" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avr32gcc"/>
|
||||
<toolchain-config name="avr32gcc.linker.optimization.RelaxBranches" value="True" toolchain="avr32gcc"/>
|
||||
</module>
|
||||
</asf>
|
||||
</lufa>
|
||||
|
@ -1,93 +1,93 @@
|
||||
/*
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2012.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
*/
|
||||
|
||||
/*
|
||||
Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this
|
||||
software and its documentation for any purpose is hereby granted
|
||||
without fee, provided that the above copyright notice appear in
|
||||
all copies and that both that the copyright notice and this
|
||||
permission notice and warranty disclaimer appear in supporting
|
||||
documentation, and that the name of the author not be used in
|
||||
advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
|
||||
The author disclaim all warranties with regard to this
|
||||
software, including all implied warranties of merchantability
|
||||
and fitness. In no event shall the author be liable for any
|
||||
special, indirect or consequential damages or any damages
|
||||
whatsoever resulting from loss of use, data or profits, whether
|
||||
in an action of contract, negligence or other tortious action,
|
||||
arising out of or in connection with the use or performance of
|
||||
this software.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
* \brief LUFA Library Configuration Header File
|
||||
*
|
||||
* This header file is used to configure LUFA's compile time options,
|
||||
* as an alternative to the compile time constants supplied through
|
||||
* a makefile.
|
||||
*
|
||||
* For information on what each token does, refer to the LUFA
|
||||
* manual section "Summary of Compile Tokens".
|
||||
*/
|
||||
|
||||
#ifndef _LUFA_CONFIG_H_
|
||||
#define _LUFA_CONFIG_H_
|
||||
|
||||
#if (ARCH == ARCH_AVR8)
|
||||
|
||||
/* Non-USB Related Configuration Tokens: */
|
||||
// #define DISABLE_TERMINAL_CODES
|
||||
|
||||
/* USB Class Driver Related Tokens: */
|
||||
// #define HID_HOST_BOOT_PROTOCOL_ONLY
|
||||
// #define HID_STATETABLE_STACK_DEPTH {Insert Value Here}
|
||||
// #define HID_USAGE_STACK_DEPTH {Insert Value Here}
|
||||
// #define HID_MAX_COLLECTIONS {Insert Value Here}
|
||||
// #define HID_MAX_REPORTITEMS {Insert Value Here}
|
||||
// #define HID_MAX_REPORT_IDS {Insert Value Here}
|
||||
// #define NO_CLASS_DRIVER_AUTOFLUSH
|
||||
|
||||
/* General USB Driver Related Tokens: */
|
||||
// #define ORDERED_EP_CONFIG
|
||||
#define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
|
||||
#define USB_DEVICE_ONLY
|
||||
// #define USB_HOST_ONLY
|
||||
// #define USB_STREAM_TIMEOUT_MS {Insert Value Here}
|
||||
// #define NO_LIMITED_CONTROLLER_CONNECT
|
||||
// #define NO_SOF_EVENTS
|
||||
|
||||
/* USB Device Mode Driver Related Tokens: */
|
||||
// #define USE_RAM_DESCRIPTORS
|
||||
#define USE_FLASH_DESCRIPTORS
|
||||
// #define USE_EEPROM_DESCRIPTORS
|
||||
// #define NO_INTERNAL_SERIAL
|
||||
#define FIXED_CONTROL_ENDPOINT_SIZE 8
|
||||
// #define DEVICE_STATE_AS_GPIOR {Insert Value Here}
|
||||
#define FIXED_NUM_CONFIGURATIONS 1
|
||||
// #define CONTROL_ONLY_DEVICE
|
||||
// #define INTERRUPT_CONTROL_ENDPOINT
|
||||
// #define NO_DEVICE_REMOTE_WAKEUP
|
||||
// #define NO_DEVICE_SELF_POWER
|
||||
|
||||
/* USB Host Mode Driver Related Tokens: */
|
||||
// #define HOST_STATE_AS_GPIOR {Insert Value Here}
|
||||
// #define USB_HOST_TIMEOUT_MS {Insert Value Here}
|
||||
// #define HOST_DEVICE_SETTLE_DELAY_MS {Insert Value Here}
|
||||
// #define NO_AUTO_VBUS_MANAGEMENT
|
||||
// #define INVERTED_VBUS_ENABLE_LINE
|
||||
|
||||
#else
|
||||
|
||||
#error Unsupported architecture for this LUFA configuration file.
|
||||
|
||||
#endif
|
||||
#endif
|
||||
/*
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2012.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
*/
|
||||
|
||||
/*
|
||||
Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this
|
||||
software and its documentation for any purpose is hereby granted
|
||||
without fee, provided that the above copyright notice appear in
|
||||
all copies and that both that the copyright notice and this
|
||||
permission notice and warranty disclaimer appear in supporting
|
||||
documentation, and that the name of the author not be used in
|
||||
advertising or publicity pertaining to distribution of the
|
||||
software without specific, written prior permission.
|
||||
|
||||
The author disclaim all warranties with regard to this
|
||||
software, including all implied warranties of merchantability
|
||||
and fitness. In no event shall the author be liable for any
|
||||
special, indirect or consequential damages or any damages
|
||||
whatsoever resulting from loss of use, data or profits, whether
|
||||
in an action of contract, negligence or other tortious action,
|
||||
arising out of or in connection with the use or performance of
|
||||
this software.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
* \brief LUFA Library Configuration Header File
|
||||
*
|
||||
* This header file is used to configure LUFA's compile time options,
|
||||
* as an alternative to the compile time constants supplied through
|
||||
* a makefile.
|
||||
*
|
||||
* For information on what each token does, refer to the LUFA
|
||||
* manual section "Summary of Compile Tokens".
|
||||
*/
|
||||
|
||||
#ifndef _LUFA_CONFIG_H_
|
||||
#define _LUFA_CONFIG_H_
|
||||
|
||||
#if (ARCH == ARCH_AVR8)
|
||||
|
||||
/* Non-USB Related Configuration Tokens: */
|
||||
// #define DISABLE_TERMINAL_CODES
|
||||
|
||||
/* USB Class Driver Related Tokens: */
|
||||
// #define HID_HOST_BOOT_PROTOCOL_ONLY
|
||||
// #define HID_STATETABLE_STACK_DEPTH {Insert Value Here}
|
||||
// #define HID_USAGE_STACK_DEPTH {Insert Value Here}
|
||||
// #define HID_MAX_COLLECTIONS {Insert Value Here}
|
||||
// #define HID_MAX_REPORTITEMS {Insert Value Here}
|
||||
// #define HID_MAX_REPORT_IDS {Insert Value Here}
|
||||
// #define NO_CLASS_DRIVER_AUTOFLUSH
|
||||
|
||||
/* General USB Driver Related Tokens: */
|
||||
// #define ORDERED_EP_CONFIG
|
||||
#define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
|
||||
#define USB_DEVICE_ONLY
|
||||
// #define USB_HOST_ONLY
|
||||
// #define USB_STREAM_TIMEOUT_MS {Insert Value Here}
|
||||
// #define NO_LIMITED_CONTROLLER_CONNECT
|
||||
// #define NO_SOF_EVENTS
|
||||
|
||||
/* USB Device Mode Driver Related Tokens: */
|
||||
// #define USE_RAM_DESCRIPTORS
|
||||
#define USE_FLASH_DESCRIPTORS
|
||||
// #define USE_EEPROM_DESCRIPTORS
|
||||
// #define NO_INTERNAL_SERIAL
|
||||
#define FIXED_CONTROL_ENDPOINT_SIZE 8
|
||||
// #define DEVICE_STATE_AS_GPIOR {Insert Value Here}
|
||||
#define FIXED_NUM_CONFIGURATIONS 1
|
||||
// #define CONTROL_ONLY_DEVICE
|
||||
// #define INTERRUPT_CONTROL_ENDPOINT
|
||||
// #define NO_DEVICE_REMOTE_WAKEUP
|
||||
// #define NO_DEVICE_SELF_POWER
|
||||
|
||||
/* USB Host Mode Driver Related Tokens: */
|
||||
// #define HOST_STATE_AS_GPIOR {Insert Value Here}
|
||||
// #define USB_HOST_TIMEOUT_MS {Insert Value Here}
|
||||
// #define HOST_DEVICE_SETTLE_DELAY_MS {Insert Value Here}
|
||||
// #define NO_AUTO_VBUS_MANAGEMENT
|
||||
// #define INVERTED_VBUS_ENABLE_LINE
|
||||
|
||||
#else
|
||||
|
||||
#error Unsupported architecture for this LUFA configuration file.
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|