summaryrefslogtreecommitdiffstats
path: root/keyboard
diff options
context:
space:
mode:
authorcr3473 <joe@createtank.com>2015-05-27 08:29:48 -0700
committercr3473 <joe@createtank.com>2015-05-27 08:29:48 -0700
commitb36d1a87da2395fd5429e2817409c76f065387b5 (patch)
tree1e4a76822deaf92db83896548fa3c3003f7640f3 /keyboard
parenta4cf9ae660b16d1952738139ba8f788368b73eff (diff)
parentd61d1f5ca3a7dcccc495ac6688e0632c601c0623 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboard')
-rw-r--r--keyboard/ghost_squid/Makefile.lufa117
-rw-r--r--keyboard/ghost_squid/README.md20
-rw-r--r--keyboard/ghost_squid/config.h43
-rw-r--r--keyboard/ghost_squid/keymap.c102
-rw-r--r--keyboard/ghost_squid/keymap_ansi.h23
-rw-r--r--keyboard/ghost_squid/led.c60
-rw-r--r--keyboard/ghost_squid/matrix.c237
-rw-r--r--keyboard/hhkb/Makefile.rn42 (renamed from keyboard/hhkb_rn42/Makefile)22
-rw-r--r--keyboard/hhkb/README.md17
-rw-r--r--keyboard/hhkb/config_rn42.h (renamed from keyboard/hhkb_rn42/config.h)0
-rw-r--r--keyboard/hhkb/hhkb_avr.h28
-rw-r--r--keyboard/hhkb/keymap_hasu.c34
-rw-r--r--keyboard/hhkb/matrix.c27
-rw-r--r--keyboard/hhkb/not_supported/Makefile.iwrap (renamed from keyboard/hhkb/Makefile.iwrap)0
-rw-r--r--keyboard/hhkb/not_supported/Makefile.vusb (renamed from keyboard/hhkb/Makefile.vusb)0
-rw-r--r--keyboard/hhkb/not_supported/config_iwrap.h (renamed from keyboard/hhkb/config_iwrap.h)0
-rw-r--r--keyboard/hhkb/not_supported/config_vusb.h (renamed from keyboard/hhkb/config_vusb.h)0
-rw-r--r--keyboard/hhkb/not_supported/iwrap.txt (renamed from keyboard/hhkb/iwrap.txt)0
-rw-r--r--keyboard/hhkb/not_supported/usbconfig.h (renamed from keyboard/hhkb/usbconfig.h)0
-rw-r--r--keyboard/hhkb/rn42.mk (renamed from keyboard/hhkb_rn42/rn42.mk)0
-rw-r--r--keyboard/hhkb/rn42/MEMO.txt255
-rw-r--r--keyboard/hhkb/rn42/PowerSave.txt (renamed from keyboard/hhkb_rn42/PowerSave.txt)64
-rw-r--r--keyboard/hhkb/rn42/RN42.txt408
-rw-r--r--keyboard/hhkb/rn42/battery.c (renamed from keyboard/hhkb_rn42/rn42/battery.c)20
-rw-r--r--keyboard/hhkb/rn42/battery.h (renamed from keyboard/hhkb_rn42/rn42/battery.h)0
-rw-r--r--keyboard/hhkb/rn42/main.c (renamed from keyboard/hhkb_rn42/rn42/main.c)19
-rw-r--r--keyboard/hhkb/rn42/rn42.c (renamed from keyboard/hhkb_rn42/rn42/rn42.c)31
-rw-r--r--keyboard/hhkb/rn42/rn42.h (renamed from keyboard/hhkb_rn42/rn42/rn42.h)3
-rw-r--r--keyboard/hhkb/rn42/rn42_task.c478
-rw-r--r--keyboard/hhkb/rn42/rn42_task.h (renamed from keyboard/hhkb_rn42/rn42/rn42_task.h)0
-rw-r--r--keyboard/hhkb/rn42/suart.S (renamed from keyboard/hhkb_rn42/rn42/suart.S)0
-rw-r--r--keyboard/hhkb/rn42/suart.h (renamed from keyboard/hhkb_rn42/rn42/suart.h)0
-rw-r--r--keyboard/hhkb_rn42/MEMO.txt523
-rw-r--r--keyboard/hhkb_rn42/hhkb_avr.h164
-rw-r--r--keyboard/hhkb_rn42/keymap_common.h84
-rw-r--r--keyboard/hhkb_rn42/keymap_hasu.c282
-rw-r--r--keyboard/hhkb_rn42/keymap_jp.c50
-rw-r--r--keyboard/hhkb_rn42/matrix.c191
-rw-r--r--keyboard/hhkb_rn42/rn42/rn42_task.c294
-rw-r--r--keyboard/infinity/Makefile7
-rw-r--r--keyboard/infinity/config.h4
-rw-r--r--keyboard/infinity/keymap.c3
-rw-r--r--keyboard/infinity/keymap_common.h28
-rw-r--r--keyboard/nerd/Makefile (renamed from keyboard/hhkb/Makefile.nodebug)53
-rw-r--r--keyboard/nerd/README.md52
-rw-r--r--keyboard/nerd/backlight.c81
-rw-r--r--keyboard/nerd/backlight.h40
-rw-r--r--keyboard/nerd/config.h49
-rw-r--r--keyboard/nerd/keymap_60_ansi150.c30
-rw-r--r--keyboard/nerd/keymap_80_ansi150.c33
-rw-r--r--keyboard/nerd/keymap_common.c29
-rw-r--r--keyboard/nerd/keymap_common.h89
-rw-r--r--keyboard/nerd/matrix.c221
-rw-r--r--keyboard/planck/Makefile35
-rw-r--r--keyboard/planck/README.md56
-rw-r--r--keyboard/planck/__avr_gdbinit6
-rw-r--r--keyboard/planck/backlight.c49
-rw-r--r--keyboard/planck/common_keymaps/keymap_brett.c (renamed from keyboard/planck/keymap_brett.c)12
-rw-r--r--keyboard/planck/common_keymaps/keymap_dotcom.c (renamed from keyboard/planck/keymap_dotcom.c)0
-rw-r--r--keyboard/planck/common_keymaps/keymap_jack.c (renamed from keyboard/planck/keymap_jack.c)2
-rw-r--r--keyboard/planck/common_keymaps/keymap_joe.c (renamed from keyboard/planck/keymap_joe.c)0
-rw-r--r--keyboard/planck/common_keymaps/keymap_matthew.c (renamed from keyboard/planck/keymap_matthew.c)0
-rw-r--r--keyboard/planck/common_keymaps/keymap_nathan.c (renamed from keyboard/planck/keymap_nathan.c)49
-rw-r--r--keyboard/planck/common_keymaps/keymap_peasant.c (renamed from keyboard/planck/keymap_peasant.c)0
-rw-r--r--keyboard/planck/common_keymaps/keymap_reed.c74
-rw-r--r--keyboard/planck/common_keymaps/keymap_sean.c57
-rw-r--r--keyboard/planck/common_keymaps/keymap_shane.c (renamed from keyboard/planck/keymap_shane.c)0
-rw-r--r--keyboard/planck/common_keymaps/keymap_simon.c44
-rw-r--r--keyboard/planck/common_keymaps/keymap_tim.c44
-rw-r--r--keyboard/planck/common_keymaps/keymap_wilba.c56
-rw-r--r--keyboard/planck/config.h8
-rw-r--r--keyboard/planck/extended_keymap_common.c208
-rw-r--r--keyboard/planck/extended_keymap_common.h177
-rw-r--r--keyboard/planck/extended_keymaps/extended_keymap_austin.c50
-rw-r--r--keyboard/planck/extended_keymaps/extended_keymap_charlie.c54
-rw-r--r--keyboard/planck/extended_keymaps/extended_keymap_default.c50
-rw-r--r--keyboard/planck/extended_keymaps/extended_keymap_jack.c50
-rw-r--r--keyboard/planck/keymap_common.h26
-rw-r--r--keyboard/planck/keymap_sean.c50
-rw-r--r--keyboard/planck/led.c16
-rw-r--r--keyboard/planck/matrix.c2
-rw-r--r--keyboard/planck/matrix_center.c202
-rw-r--r--keyboard/planck/matrix_pcb.c222
-rw-r--r--keyboard/quark/Makefile155
-rw-r--r--keyboard/quark/Makefile.pjrc116
-rw-r--r--keyboard/quark/README.md53
-rw-r--r--keyboard/quark/backlight.c46
-rw-r--r--keyboard/quark/backlight.h2
-rw-r--r--keyboard/quark/common_keymaps/keymap_brett.c42
-rw-r--r--keyboard/quark/common_keymaps/keymap_dotcom.c34
-rw-r--r--keyboard/quark/common_keymaps/keymap_jack.c50
-rw-r--r--keyboard/quark/common_keymaps/keymap_joe.c107
-rw-r--r--keyboard/quark/common_keymaps/keymap_matthew.c70
-rw-r--r--keyboard/quark/common_keymaps/keymap_nathan.c153
-rw-r--r--keyboard/quark/common_keymaps/keymap_peasant.c51
-rw-r--r--keyboard/quark/common_keymaps/keymap_reed.c74
-rw-r--r--keyboard/quark/common_keymaps/keymap_sean.c57
-rw-r--r--keyboard/quark/common_keymaps/keymap_shane.c100
-rw-r--r--keyboard/quark/common_keymaps/keymap_simon.c44
-rw-r--r--keyboard/quark/common_keymaps/keymap_tim.c44
-rw-r--r--keyboard/quark/common_keymaps/keymap_wilba.c56
-rw-r--r--keyboard/quark/config.h74
-rw-r--r--keyboard/quark/extended_keymap_common.c184
-rw-r--r--keyboard/quark/extended_keymap_common.h152
-rw-r--r--keyboard/quark/extended_keymaps/extended_keymap_default.c40
-rw-r--r--keyboard/quark/keymap_common.c (renamed from keyboard/hhkb_rn42/keymap_common.c)3
-rw-r--r--keyboard/quark/keymap_common.h86
-rw-r--r--keyboard/quark/led.c (renamed from keyboard/hhkb_rn42/led.c)21
-rw-r--r--keyboard/quark/matrix.c193
109 files changed, 6059 insertions, 1862 deletions
diff --git a/keyboard/ghost_squid/Makefile.lufa b/keyboard/ghost_squid/Makefile.lufa
new file mode 100644
index 0000000000..61893893a4
--- /dev/null
+++ b/keyboard/ghost_squid/Makefile.lufa
@@ -0,0 +1,117 @@
+#----------------------------------------------------------------------------
+# On command line:
+#
+# make all = Make software.
+#
+# make clean = Clean out built project files.
+#
+# make coff = Convert ELF to AVR COFF.
+#
+# make extcoff = Convert ELF to AVR Extended COFF.
+#
+# make program = Download the hex file to the device.
+# Please customize your programmer settings(PROGRAM_CMD)
+#
+# make teensy = Download the hex file to the device, using teensy_loader_cli.
+# (must have teensy_loader_cli installed).
+#
+# make dfu = Download the hex file to the device, using dfu-programmer (must
+# have dfu-programmer installed).
+#
+# make flip = Download the hex file to the device, using Atmel FLIP (must
+# have Atmel FLIP installed).
+#
+# make dfu-ee = Download the eeprom file to the device, using dfu-programmer
+# (must have dfu-programmer installed).
+#
+# make flip-ee = Download the eeprom file to the device, using Atmel FLIP
+# (must have Atmel FLIP installed).
+#
+# make debug = Start either simulavr or avarice as specified for debugging,
+# with avr-gdb or avr-insight as the front end for debugging.
+#
+# make filename.s = Just compile filename.c into the assembler code only.
+#
+# make filename.i = Create a preprocessed source file for use in submitting
+# bug reports to the GCC project.
+#
+# To rebuild project do "make clean" then "make all".
+#----------------------------------------------------------------------------
+
+# Target file name (without extension).
+TARGET = ghostsquid_lufa
+
+# Directory common source filess exist
+TOP_DIR = ../..
+
+# Directory keyboard dependent files exist
+TARGET_DIR = .
+
+# List C source files here. (C dependencies are automatically generated.)
+SRC = keymap.c \
+ matrix.c \
+ led.c
+
+CONFIG_H = config.h
+
+# MCU name
+MCU = atmega32u2
+
+# 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)
+
+
+# Build Options
+# comment out to disable the options.
+#
+#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
+#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
+#NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
+
+
+# Boot Section Size in bytes
+# Teensy halfKay 512
+# Atmel DFU loader 4096
+# LUFA bootloader 4096
+OPT_DEFS += -DBOOTLOADER_SIZE=4096
+
+# Search Path
+VPATH += $(TARGET_DIR)
+VPATH += $(TOP_DIR)
+
+include $(TOP_DIR)/protocol/lufa.mk
+include $(TOP_DIR)/common.mk
+include $(TOP_DIR)/rules.mk
diff --git a/keyboard/ghost_squid/README.md b/keyboard/ghost_squid/README.md
new file mode 100644
index 0000000000..dda67e6ba1
--- /dev/null
+++ b/keyboard/ghost_squid/README.md
@@ -0,0 +1,20 @@
+The Ghost Squid controller
+==========================
+Custom controller for the Cooler Master QuickFire XT keyboard designed by bpiphany.
+
+*Note that this is not the official firmware*
+
+Build
+-----
+Move to this directory then just run `make` like:
+
+ $ make -f Makefile.lufa
+
+At the moment only the LUFA stack is supported.
+
+
+Bootloader
+---------
+To enter bootloader by hardware use a magnet above the controller before connecting the usb cable.
+
+It is still possible to use Boot Magic and Command (LSFT+RSFT+PAUS) to access the bootloader though.
diff --git a/keyboard/ghost_squid/config.h b/keyboard/ghost_squid/config.h
new file mode 100644
index 0000000000..54f03143c1
--- /dev/null
+++ b/keyboard/ghost_squid/config.h
@@ -0,0 +1,43 @@
+/*
+Copyright 2014 Ralf Schmitt <ralf@bunkertor.net>
+
+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
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED // 0x2516 (original CM XT value)
+#define PRODUCT_ID 0x001A
+#define DEVICE_VER 0x0000
+#define MANUFACTURER Cooler Master
+#define PRODUCT Cooler Master QuickFire XT
+
+/* message strings */
+#define DESCRIPTION t.m.k. keyboard firmware for Cooler Master QuickFire XT
+
+/* matrix size */
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 18
+
+/* Set 0 if need no debouncing */
+#define DEBOUNCE 5
+
+/* key combination for command */