summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE.txt27
-rw-r--r--common/bootloader.c (renamed from bootloader.c)0
-rw-r--r--common/bootloader.h (renamed from bootloader.h)0
-rw-r--r--common/command.c (renamed from command.c)0
-rw-r--r--common/command.h (renamed from command.h)0
-rw-r--r--common/controller_teensy.h (renamed from controller_teensy.h)0
-rw-r--r--common/debug.h (renamed from debug.h)0
-rw-r--r--common/host.c (renamed from host.c)0
-rw-r--r--common/host.h (renamed from host.h)0
-rw-r--r--common/host_driver.h (renamed from host_driver.h)0
-rw-r--r--common/keyboard.c (renamed from keyboard.c)0
-rw-r--r--common/keyboard.h (renamed from keyboard.h)0
-rw-r--r--common/keymap.h (renamed from keymap.h)0
-rw-r--r--common/layer.c (renamed from layer.c)0
-rw-r--r--common/layer.h (renamed from layer.h)0
-rw-r--r--common/led.h (renamed from led.h)0
-rw-r--r--common/matrix.h (renamed from matrix.h)0
-rwxr-xr-xcommon/mousekey.c (renamed from mousekey.c)0
-rw-r--r--common/mousekey.h (renamed from mousekey.h)0
-rw-r--r--common/print.c (renamed from print.c)0
-rw-r--r--common/print.h (renamed from print.h)0
-rw-r--r--common/report.h (renamed from report.h)0
-rw-r--r--common/sendchar.h (renamed from sendchar.h)0
-rw-r--r--common/sendchar_null.c (renamed from sendchar_null.c)0
-rw-r--r--common/sendchar_uart.c (renamed from sendchar_uart.c)0
-rw-r--r--common/timer.c (renamed from timer.c)0
-rw-r--r--common/timer.h (renamed from timer.h)0
-rw-r--r--common/uart.c (renamed from uart.c)0
-rw-r--r--common/uart.h (renamed from uart.h)0
-rw-r--r--common/usb_keycodes.h (renamed from usb_keycodes.h)0
-rw-r--r--common/util.c (renamed from util.c)0
-rw-r--r--common/util.h (renamed from util.h)0
-rw-r--r--doc/COPYING.GPLv2 (renamed from COPYING.GPLv2)0
-rw-r--r--doc/COPYING.GPLv3 (renamed from COPYING.GPLv3)0
-rw-r--r--doc/FUSE.txt (renamed from hhkb/FUSE.txt)0
-rw-r--r--doc/POWER.txt (renamed from POWER.txt)0
-rw-r--r--doc/USB_NKRO.txt (renamed from USB_NKRO.txt)0
-rw-r--r--pjrc/host.c183
-rw-r--r--protocol/adb.c (renamed from adb.c)0
-rw-r--r--protocol/adb.h (renamed from adb.h)0
-rw-r--r--protocol/iwrap.mk (renamed from iwrap.mk)0
-rw-r--r--protocol/iwrap/iWRAP.txt (renamed from iwrap/iWRAP.txt)0
-rw-r--r--protocol/iwrap/iwrap.c (renamed from iwrap/iwrap.c)0
-rw-r--r--protocol/iwrap/iwrap.h (renamed from iwrap/iwrap.h)0
-rw-r--r--protocol/iwrap/main.c (renamed from iwrap/main.c)0
-rw-r--r--protocol/iwrap/suart.S (renamed from iwrap/suart.S)0
-rw-r--r--protocol/iwrap/suart.h (renamed from iwrap/suart.h)0
-rw-r--r--protocol/iwrap/wd.h (renamed from iwrap/wd.h)0
-rw-r--r--protocol/m0110.c (renamed from m0110.c)0
-rw-r--r--protocol/m0110.h (renamed from m0110.h)0
-rw-r--r--protocol/pjrc.mk (renamed from pjrc.mk)0
-rw-r--r--protocol/pjrc/bootloader_teensy.c (renamed from pjrc/bootloader_teensy.c)0
-rw-r--r--protocol/pjrc/main.c (renamed from pjrc/main.c)0
-rw-r--r--protocol/pjrc/pjrc.c (renamed from pjrc/pjrc.c)0
-rw-r--r--protocol/pjrc/pjrc.h (renamed from pjrc/pjrc.h)0
-rw-r--r--protocol/pjrc/usb.c (renamed from pjrc/usb.c)0
-rw-r--r--protocol/pjrc/usb.h (renamed from pjrc/usb.h)0
-rw-r--r--protocol/pjrc/usb_debug.c (renamed from pjrc/usb_debug.c)0
-rw-r--r--protocol/pjrc/usb_debug.h (renamed from pjrc/usb_debug.h)0
-rw-r--r--protocol/pjrc/usb_extra.c (renamed from pjrc/usb_extra.c)0
-rw-r--r--protocol/pjrc/usb_extra.h (renamed from pjrc/usb_extra.h)0
-rw-r--r--protocol/pjrc/usb_keyboard.c (renamed from pjrc/usb_keyboard.c)0
-rw-r--r--protocol/pjrc/usb_keyboard.h (renamed from pjrc/usb_keyboard.h)0
-rw-r--r--protocol/pjrc/usb_mouse.c (renamed from pjrc/usb_mouse.c)0
-rw-r--r--protocol/pjrc/usb_mouse.h (renamed from pjrc/usb_mouse.h)0
-rw-r--r--protocol/ps2.c (renamed from ps2.c)0
-rw-r--r--protocol/ps2.h (renamed from ps2.h)0
-rw-r--r--protocol/ps2_mouse.c (renamed from ps2_mouse.c)0
-rw-r--r--protocol/ps2_mouse.h (renamed from ps2_mouse.h)0
-rw-r--r--protocol/ps2_usart.c (renamed from ps2_usart.c)0
-rw-r--r--protocol/vusb.mk (renamed from vusb.mk)0
-rw-r--r--protocol/vusb/bootloader_usbasp.c (renamed from vusb/bootloader_usbasp.c)0
-rw-r--r--protocol/vusb/main.c (renamed from vusb/main.c)0
-rw-r--r--protocol/vusb/sendchar_usart.c (renamed from vusb/sendchar_usart.c)0
-rw-r--r--protocol/vusb/usbdrv/Changelog.txt (renamed from vusb/usbdrv/Changelog.txt)0
-rw-r--r--protocol/vusb/usbdrv/CommercialLicense.txt (renamed from vusb/usbdrv/CommercialLicense.txt)0
-rw-r--r--protocol/vusb/usbdrv/License.txt (renamed from vusb/usbdrv/License.txt)0
-rw-r--r--protocol/vusb/usbdrv/Readme.txt (renamed from vusb/usbdrv/Readme.txt)0
-rw-r--r--protocol/vusb/usbdrv/USB-ID-FAQ.txt (renamed from vusb/usbdrv/USB-ID-FAQ.txt)0
-rw-r--r--protocol/vusb/usbdrv/USB-IDs-for-free.txt (renamed from vusb/usbdrv/USB-IDs-for-free.txt)0
-rw-r--r--protocol/vusb/usbdrv/asmcommon.inc (renamed from vusb/usbdrv/asmcommon.inc)0
-rw-r--r--protocol/vusb/usbdrv/oddebug.c (renamed from vusb/usbdrv/oddebug.c)0
-rw-r--r--protocol/vusb/usbdrv/oddebug.h (renamed from vusb/usbdrv/oddebug.h)0
-rw-r--r--protocol/vusb/usbdrv/usbconfig-prototype.h (renamed from vusb/usbdrv/usbconfig-prototype.h)0
-rw-r--r--protocol/vusb/usbdrv/usbdrv.c (renamed from vusb/usbdrv/usbdrv.c)0
-rw-r--r--protocol/vusb/usbdrv/usbdrv.h (renamed from vusb/usbdrv/usbdrv.h)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm.S (renamed from vusb/usbdrv/usbdrvasm.S)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm.asm (renamed from vusb/usbdrv/usbdrvasm.asm)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm12.inc (renamed from vusb/usbdrv/usbdrvasm12.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm128.inc (renamed from vusb/usbdrv/usbdrvasm128.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm15.inc (renamed from vusb/usbdrv/usbdrvasm15.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm16.inc (renamed from vusb/usbdrv/usbdrvasm16.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm165.inc (renamed from vusb/usbdrv/usbdrvasm165.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm18-crc.inc (renamed from vusb/usbdrv/usbdrvasm18-crc.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbdrvasm20.inc (renamed from vusb/usbdrv/usbdrvasm20.inc)0
-rw-r--r--protocol/vusb/usbdrv/usbportability.h (renamed from vusb/usbdrv/usbportability.h)0
-rw-r--r--protocol/vusb/vusb.c (renamed from vusb/vusb.c)0
-rw-r--r--protocol/vusb/vusb.h (renamed from vusb/vusb.h)0
98 files changed, 0 insertions, 210 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
deleted file mode 100644
index de622df54c..0000000000
--- a/LICENSE.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Codes are released under each license. See heading of each file for details.
-
-Modified BSD license:
- ps2.c
- ps2.h
- adb.c
- adb.h
-
-GPLv2 or later:
- other codes
-
-PJRC's license:
- print.c
- print.h
- pjrc/
-
-GPLv2 or GPLv3 or OBJECTIVE DEVELOPMENT's commercial license:
- vusb/
-
-
-
-
-This software includes following codes from other parties.
- - V-USB from OBJECTIVE DEVELOPMENT
- http://www.obdev.at/products/vusb/index.html
- - Teensy example codes from PJRC
- http://www.pjrc.com/teensy/
diff --git a/bootloader.c b/common/bootloader.c
index 5cbfc72e5b..5cbfc72e5b 100644
--- a/bootloader.c
+++ b/common/bootloader.c
diff --git a/bootloader.h b/common/bootloader.h
index 44775039d5..44775039d5 100644
--- a/bootloader.h
+++ b/common/bootloader.h
diff --git a/command.c b/common/command.c
index e325a5d847..e325a5d847 100644
--- a/command.c
+++ b/common/command.c
diff --git a/command.h b/common/command.h
index 4888f5ee0b..4888f5ee0b 100644
--- a/command.h
+++ b/common/command.h
diff --git a/controller_teensy.h b/common/controller_teensy.h
index 6c3f47ce4e..6c3f47ce4e 100644
--- a/controller_teensy.h
+++ b/common/controller_teensy.h
diff --git a/debug.h b/common/debug.h
index 230d3b3499..230d3b3499 100644
--- a/debug.h
+++ b/common/debug.h
diff --git a/host.c b/common/host.c
index cc26d55c22..cc26d55c22 100644
--- a/host.c
+++ b/common/host.c
diff --git a/host.h b/common/host.h
index 11b9aacd7c..11b9aacd7c 100644
--- a/host.h
+++ b/common/host.h
diff --git a/host_driver.h b/common/host_driver.h
index edb9e5dd9c..edb9e5dd9c 100644
--- a/host_driver.h
+++ b/common/host_driver.h
diff --git a/keyboard.c b/common/keyboard.c
index 5c2643c951..5c2643c951 100644
--- a/keyboard.c
+++ b/common/keyboard.c
diff --git a/keyboard.h b/common/keyboard.h
index 988dac36ed..988dac36ed 100644
--- a/keyboard.h
+++ b/common/keyboard.h
diff --git a/keymap.h b/common/keymap.h
index 7dfd6c2a1b..7dfd6c2a1b 100644
--- a/keymap.h
+++ b/common/keymap.h
diff --git a/layer.c b/common/layer.c
index 0854eede0d..0854eede0d 100644
--- a/layer.c
+++ b/common/layer.c
diff --git a/layer.h b/common/layer.h
index d9e8cebb8f..d9e8cebb8f 100644
--- a/layer.h
+++ b/common/layer.h
diff --git a/led.h b/common/led.h
index 402a247b9a..402a247b9a 100644
--- a/led.h
+++ b/common/led.h
diff --git a/matrix.h b/common/matrix.h
index c4b2cab518..c4b2cab518 100644
--- a/matrix.h
+++ b/common/matrix.h
diff --git a/mousekey.c b/common/mousekey.c
index 76bd0fd363..76bd0fd363 100755
--- a/mousekey.c
+++ b/common/mousekey.c
diff --git a/mousekey.h b/common/mousekey.h
index c2c24e9fa5..c2c24e9fa5 100644
--- a/mousekey.h
+++ b/common/mousekey.h
diff --git a/print.c b/common/print.c
index 558181ea72..558181ea72 100644
--- a/print.c
+++ b/common/print.c
diff --git a/print.h b/common/print.h
index 686fa89acc..686fa89acc 100644
--- a/print.h
+++ b/common/print.h
diff --git a/report.h b/common/report.h
index b85b86c5f8..b85b86c5f8 100644
--- a/report.h
+++ b/common/report.h
diff --git a/sendchar.h b/common/sendchar.h
index 7c81303c7a..7c81303c7a 100644
--- a/sendchar.h
+++ b/common/sendchar.h
diff --git a/sendchar_null.c b/common/sendchar_null.c
index 2933306228..2933306228 100644
--- a/sendchar_null.c
+++ b/common/sendchar_null.c
diff --git a/sendchar_uart.c b/common/sendchar_uart.c
index 0241859eb7..0241859eb7 100644
--- a/sendchar_uart.c
+++ b/common/sendchar_uart.c
diff --git a/timer.c b/common/timer.c
index 48a38c9b68..48a38c9b68 100644
--- a/timer.c
+++ b/common/timer.c
diff --git a/timer.h b/common/timer.h
index f9e8181e6f..f9e8181e6f 100644
--- a/timer.h
+++ b/common/timer.h
diff --git a/uart.c b/common/uart.c
index c17649b082..c17649b082 100644
--- a/uart.c
+++ b/common/uart.c
diff --git a/uart.h b/common/uart.h
index 41136a396f..41136a396f 100644
--- a/uart.h
+++ b/common/uart.h
diff --git a/usb_keycodes.h b/common/usb_keycodes.h
index 9b6cce1532..9b6cce1532 100644
--- a/usb_keycodes.h
+++ b/common/usb_keycodes.h
diff --git a/util.c b/common/util.c
index 36afdd4470..36afdd4470 100644
--- a/util.c
+++ b/common/util.c
diff --git a/util.h b/common/util.h
index 66bccbfa58..66bccbfa58 100644
--- a/util.h
+++ b/common/util.h
diff --git a/COPYING.GPLv2 b/doc/COPYING.GPLv2
index d159169d10..d159169d10 100644
--- a/COPYING.GPLv2
+++ b/doc/COPYING.GPLv2
diff --git a/COPYING.GPLv3 b/doc/COPYING.GPLv3
index 94a9ed024d..94a9ed024d 100644
--- a/COPYING.GPLv3
+++ b/doc/COPYING.GPLv3
diff --git a/hhkb/FUSE.txt b/doc/FUSE.txt
index 40055e5ab1..40055e5ab1 100644
--- a/hhkb/FUSE.txt
+++ b/doc/FUSE.txt
diff --git a/POWER.txt b/doc/POWER.txt
index 0abbbe48e8..0abbbe48e8 100644
--- a/POWER.txt
+++ b/doc/POWER.txt
diff --git a/USB_NKRO.txt b/doc/USB_NKRO.txt
index 4751bca868..4751bca868 100644
--- a/USB_NKRO.txt
+++ b/doc/USB_NKRO.txt
diff --git a/pjrc/host.c b/pjrc/host.c
deleted file mode 100644
index fcf71d5790..0000000000
--- a/pjrc/host.c
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
-Copyright 2011 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/>.
-*/
-
-#include <stdint.h>
-#include <avr/interrupt.h>
-#include "usb_keycodes.h"
-#include "usb_keyboard.h"
-#if defined(MOUSEKEY_ENABLE) || defined(PS2_MOUSE_ENABLE)
-#include "usb_mouse.h"
-#endif
-#ifdef EXTRAKEY_ENABLE
-#include "usb_extra.h"
-#endif
-#include "debug.h"
-#include "host.h"
-#include "util.h"
-
-
-#ifdef NKRO_ENABLE
-bool keyboard_nkro = false;
-#endif
-
-static report_keyboard_t report0;
-static report_keyboard_t report1;
-report_keyboard_t *keyboard_report = &report0;
-report_keyboard_t *keyboard_report_prev = &report1;
-
-static inline void add_key_byte(uint8_t code);
-static inline void add_key_bit(uint8_t code);
-
-
-uint8_t host_keyboard_leds(void)
-{
- return usb_keyboard_leds;
-}
-
-/* keyboard report operations */
-void host_add_key(uint8_t key)
-{
-#ifdef NKRO_ENABLE
- if (keyboard_nkro) {
- add_key_bit(key);
- return;
- }
-#endif
- add_key_byte(key);
-}
-
-void host_add_mod_bit(uint8_t mod)
-{
- keyboard_report->mods |= mod;
-}
-
-void host_set_mods(uint8_t mods)
-{
- keyboard_report->mods = mods;
-}
-
-void host_add_code(uint8_t code)
-{
- if (IS_MOD(code)) {
- host_add_mod_bit(MOD_BIT(code));
- } else {
- host_add_key(code);
- }
-}
-
-void host_swap_keyboard_report(void)
-{
- uint8_t sreg = SREG;
- cli();
- report_keyboard_t *tmp = keyboard_report_prev;
- keyboard_report_prev = keyboard_report;
- keyboard_report = tmp;
- SREG = sreg;
-}
-
-void host_clear_keyboard_report(void)
-{
- keyboard_report->mods = 0;
- for (int8_t i = 0; i < REPORT_KEYS; i++) {
- keyboard_report->keys[i] = 0;
- }
-}
-
-uint8_t host_has_anykey(void)
-{
- uint8_t cnt = 0;
- for (int i = 0; i < REPORT_KEYS; i++) {
- if (keyboard_report->keys[i])
- cnt++;
- }
- return cnt;
-}
-
-uint8_t host_get_first_key(void)
-{
-#ifdef NKRO_ENABLE
- if (keyboard_nkro) {
- uint8_t i = 0;
- for (; i < REPORT_KEYS && !keyboard_report->keys[i]; i++)
- ;
- return i<<3 | biton(keyboard_report->keys[i]);
- }
-#endif
- return keyboard_report->keys[0];
-}
-
-
-void host_send_keyboard_report(void)
-{
- usb_keyboard_send_report(keyboard_report);
-}
-
-#if defined(MOUSEKEY_ENABLE) || defined(PS2_MOUSE_ENABLE)
-void host_mouse_send(report_mouse_t *report)
-{
- usb_mouse_send(report->x, report->y, report->v, report->h, report->buttons);
-}
-#endif
-
-#ifdef EXTRAKEY_ENABLE
-void host_system_send(uint16_t data)
-{
- usb_extra_system_send(data);
-}
-
-void host_consumer_send(uint16_t data)
-{
- static uint16_t last_data = 0;
- if (data == last_data) return;
- last_data = data;
-
- usb_extra_consumer_send(data);
-}
-#endif
-
-
-static inline void add_key_byte(uint8_t code)
-{
- // TODO: fix ugly code
- int8_t i = 0;
- int8_t empty = -1;
- for (; i < REPORT_KEYS; i++) {
- if (keyboard_report_prev->keys[i] == code) {
- keyboard_report->keys[i] = code;
- break;
- }
- if (empty == -1 &&
- keyboard_report_prev->keys[i] == 0 &&
- keyboard_report->keys[i] == 0) {
- empty = i;
- }
- }
- if (i == REPORT_KEYS) {
- if (empty != -1) {
- keyboard_report->keys[empty] = code;
- }
- }
-}
-
-static inline void add_key_bit(uint8_t code)
-{
- if ((code>>3) < REPORT_KEYS) {
- keyboard_report->keys[code>>3] |= 1<<(code&7);
- } else {
- debug("add_key_bit: can't add: "); phex(code); debug("\n");
- }
-}
diff --git a/adb.c b/protocol/adb.c
index 116f612721..116f612721 100644
--- a/adb.c
+++ b/protocol/adb.c
diff --git a/adb.h b/protocol/adb.h
index 177f413944..177f413944 100644
--- a/adb.h
+++ b/protocol/adb.h
diff --git a/iwrap.mk b/protocol/iwrap.mk
index ea4a6e9720..ea4a6e9720 100644
--- a/iwrap.mk
+++ b/protocol/iwrap.mk
diff --git a/iwrap/iWRAP.txt b/protocol/iwrap/iWRAP.txt
index 2a062d9d98..2a062d9d98 100644
--- a/iwrap/iWRAP.txt
+++ b/protocol/iwrap/iWRAP.txt
diff --git a/iwrap/iwrap.c b/protocol/iwrap/iwrap.c
index 9c68761bf0..9c68761bf0 100644
--- a/iwrap/iwrap.c
+++ b/protocol/iwrap/iwrap.c
diff --git a/iwrap/iwrap.h b/protocol/iwrap/iwrap.h
index ffaad9395d..ffaad9395d 100644
--- a/iwrap/iwrap.h
+++ b/protocol/iwrap/iwrap.h
diff --git a/iwrap/main.c b/protocol/iwrap/main.c
index a552afb67e..a552afb67e 100644
--- a/iwrap/main.c
+++ b/protocol/iwrap/main.c
diff --git a/iwrap/suart.S b/protocol/iwrap/suart.S
index 1b02909638..1b02909638 100644
--- a/iwrap/suart.S
+++ b/protocol/iwrap/suart.S
diff --git a/iwrap/suart.h b/protocol/iwrap/suart.h
index 72725b998f..72725b998f 100644
--- a/iwrap/suart.h
+++ b/protocol/iwrap/suart.h
diff --git a/iwrap/wd.h b/protocol/iwrap/wd.h
index 99058f0331..99058f0331 100644
--- a/iwrap/wd.h
+++ b/protocol/iwrap/wd.h
diff --git a/m0110.c b/protocol/m0110.c
index a669c85a48..a669c85a48 100644
--- a/m0110.c
+++ b/protocol/m0110.c
diff --git a/m0110.h b/protocol/m0110.h
index 2b95ed34d5..2b95ed34d5 100644
--- a/m0110.h
+++ b/protocol/m0110.h
diff --git a/pjrc.mk b/protocol/pjrc.mk
index e13a809a1a..e13a809a1a 100644
--- a/pjrc.mk
+++ b/protocol/pjrc.mk
diff --git a/pjrc/bootloader_teensy.c b/protocol/pjrc/bootloader_teensy.c
index 9d34852f16..9d34852f16 100644
--- a/pjrc/bootloader_teensy.c
+++ b/protocol/pjrc/bootloader_teensy.c
diff --git a/pjrc/main.c b/protocol/pjrc/main.c
index 15f14920b4..15f14920b4 100644
--- a/pjrc/main.c
+++ b/protocol/pjrc/main.c
diff --git a/pjrc/pjrc.c b/protocol/pjrc/pjrc.c
index 0562a12ffa..0562a12ffa 100644
--- a/pjrc/pjrc.c
+++ b/protocol/pjrc/pjrc.c
diff --git a/pjrc/pjrc.h b/protocol/pjrc/pjrc.h
index 06e79626fc..06e79626fc 100644
--- a/pjrc/pjrc.h
+++ b/protocol/pjrc/pjrc.h
diff --git a/pjrc/usb.c b/protocol/pjrc/usb.c
index 89087218f3..89087218f3 100644
--- a/pjrc/usb.c
+++ b/protocol/pjrc/usb.c
diff --git a/pjrc/usb.h b/protocol/pjrc/usb.h
index 0eb58fc395..0eb58fc395 100644
--- a/pjrc/usb.h
+++ b/protocol/pjrc/usb.h
diff --git a/pjrc/usb_debug.c b/protocol/pjrc/usb_debug.c
index c1e6f6544b..c1e6f6544b 100644
--- a/pjrc/usb_debug.c
+++ b/protocol/pjrc/usb_debug.c
diff --git a/pjrc/usb_debug.h b/protocol/pjrc/usb_debug.h
index e70f4ca3a7..e70f4ca3a7 100644
--- a/pjrc/usb_debug.h
+++ b/protocol/pjrc/usb_debug.h
diff --git a/pjrc/usb_extra.c b/protocol/pjrc/usb_extra.c
index fe1f422c0d..fe1f422c0d 100644
--- a/pjrc/usb_extra.c
+++ b/protocol/pjrc/usb_extra.c
diff --git a/pjrc/usb_extra.h b/protocol/pjrc/usb_extra.h
index 042ac48373..042ac48373 100644
--- a/pjrc/usb_extra.h
+++ b/protocol/pjrc/usb_extra.h
diff --git a/pjrc/usb_keyboard.c b/protocol/pjrc/usb_keyboard.c
index e057c77fa1..e057c77fa1 100644
--- a/pjrc/usb_keyboard.c
+++ b/protocol/pjrc/usb_keyboard.c
diff --git a/pjrc/usb_keyboard.h b/protocol/pjrc/usb_keyboard.h
index c362ca3b86..c362ca3b86 100644
--- a/pjrc/usb_keyboard.h
+++ b/protocol/pjrc/usb_keyboard.h
diff --git a/pjrc/usb_mouse.c b/protocol/pjrc/usb_mouse.c
index d81db756f3..d81db756f3 100644
--- a/pjrc/usb_mouse.c
+++ b/protocol/pjrc/usb_mouse.c
diff --git a/pjrc/usb_mouse.h b/protocol/pjrc/usb_mouse.h
index eb3056126d..eb3056126d 100644
--- a/pjrc/usb_mouse.h
+++ b/protocol/pjrc/usb_mouse.h
diff --git a/ps2.c b/protocol/ps2.c
index 8a05916210..8a05916210 100644
--- a/ps2.c
+++ b/protocol/ps2.c
diff --git a/ps2.h b/protocol/ps2.h
index 834165356c..834165356c 100644
--- a/ps2.h
+++ b/protocol/ps2.h
diff --git a/ps2_mouse.c b/protocol/ps2_mouse.c
index f796b2b4de..f796b2b4de 100644
--- a/ps2_mouse.c
+++ b/protocol/ps2_mouse.c
diff --git a/ps2_mouse.h b/protocol/ps2_mouse.h
index 4529ce1132..4529ce1132 100644
--- a/ps2_mouse.h
+++ b/protocol/ps2_mouse.h
diff --git a/ps2_usart.c b/protocol/ps2_usart.c
index 7d591c6506..7d591c6506 100644
--- a/ps2_usart.c
+++ b/protocol/ps2_usart.c
diff --git a/vusb.mk b/protocol/vusb.mk
index 9426efb25a..9426efb25a 100644
--- a/vusb.mk
+++ b/protocol/vusb.mk
diff --git a/vusb/bootloader_usbasp.c b/protocol/vusb/bootloader_usbasp.c
index 6ec99cbf2d..6ec99cbf2d 100644
--- a/vusb/bootloader_usbasp.c
+++ b/protocol/vusb/bootloader_usbasp.c
diff --git a/vusb/main.c b/protocol/vusb/main.c
index 1bf9035b39..1bf9035b39 100644
--- a/vusb/main.c
+++ b/protocol/vusb/main.c
diff --git a/vusb/sendchar_usart.c b/protocol/vusb/sendchar_usart.c
index 8d24f87d1e..8d24f87d1e 100644
--- a/vusb/sendchar_usart.c
+++ b/protocol/vusb/sendchar_usart.c
diff --git a/vusb/usbdrv/Changelog.txt b/protocol/vusb/usbdrv/Changelog.txt
index 5c6354ab1e..5c6354ab1e 100644
--- a/vusb/usbdrv/Changelog.txt
+++ b/protocol/vusb/usbdrv/Changelog.txt
diff --git a/vusb/usbdrv/CommercialLicense.txt b/protocol/vusb/usbdrv/CommercialLicense.txt
index 11d07d9df0..11d07d9df0 100644
--- a/vusb/usbdrv/CommercialLicense.txt
+++ b/protocol/vusb/usbdrv/CommercialLicense.txt
diff --git a/vusb/usbdrv/License.txt b/protocol/vusb/usbdrv/License.txt
index 4460cfbae0..4460cfbae0 100644
--- a/vusb/usbdrv/License.txt
+++ b/protocol/vusb/usbdrv/License.txt
diff --git a/vusb/usbdrv/Readme.txt b/protocol/vusb/usbdrv/Readme.txt
index 970dc66b2f..970dc66b2f 100644
--- a/vusb/usbdrv/Readme.txt
+++ b/protocol/vusb/usbdrv/Readme.txt
diff --git a/vusb/usbdrv/USB-ID-FAQ.txt b/protocol/vusb/usbdrv/USB-ID-FAQ.txt
index d1de8fb618..d1de8fb618 100644
--- a/vusb/usbdrv/USB-ID-FAQ.txt
+++ b/protocol/vusb/usbdrv/USB-ID-FAQ.txt
diff --git a/vusb/usbdrv/USB-IDs-for-free.txt b/protocol/vusb/usbdrv/USB-IDs-for-free.txt
index 2f4d59ad18..2f4d59ad18 100644
--- a/vusb/usbdrv/USB-IDs-for-free.txt
+++ b/protocol/vusb/usbdrv/USB-IDs-for-free.txt
diff --git a/vusb/usbdrv/asmcommon.inc b/protocol/vusb/usbdrv/asmcommon.inc
index 07d692be3b..07d692be3b 100644
--- a/vusb/usbdrv/asmcommon.inc
+++ b/protocol/vusb/usbdrv/asmcommon.inc
diff --git a/vusb/usbdrv/oddebug.c b/protocol/vusb/usbdrv/oddebug.c
index 945457c1f4..945457c1f4 100644
--- a/vusb/usbdrv/oddebug.c
+++ b/protocol/vusb/usbdrv/oddebug.c
diff --git a/vusb/usbdrv/oddebug.h b/protocol/vusb/usbdrv/oddebug.h
index d61309daac..d61309daac 100644
--- a/vusb/usbdrv/oddebug.h
+++ b/protocol/vusb/usbdrv/oddebug.h
diff --git a/vusb/usbdrv/usbconfig-prototype.h b/protocol/vusb/usbdrv/usbconfig-prototype.h
index 847710e2a0..847710e2a0 100644
--- a/vusb/usbdrv/usbconfig-prototype.h
+++ b/protocol/vusb/usbdrv/usbconfig-prototype.h
diff --git a/vusb/usbdrv/usbdrv.c b/protocol/vusb/usbdrv/usbdrv.c
index 21ed554f86..21ed554f86 100644
--- a/vusb/usbdrv/usbdrv.c
+++ b/protocol/vusb/usbdrv/usbdrv.c
diff --git a/vusb/usbdrv/usbdrv.h b/protocol/vusb/usbdrv/usbdrv.h
index 3a78f307bf..3a78f307bf 100644
--- a/vusb/usbdrv/usbdrv.h
+++ b/protocol/vusb/usbdrv/usbdrv.h
diff --git a/vusb/usbdrv/usbdrvasm.S b/protocol/vusb/usbdrv/usbdrvasm.S
index 45fcf18315..45fcf18315 100644
--- a/vusb/usbdrv/usbdrvasm.S
+++ b/protocol/vusb/usbdrv/usbdrvasm.S
diff --git a/vusb/usbdrv/usbdrvasm.asm b/protocol/vusb/usbdrv/usbdrvasm.asm
index 9cc4e4d739..9cc4e4d739 100644
--- a/vusb/usbdrv/usbdrvasm.asm
+++ b/protocol/vusb/usbdrv/usbdrvasm.asm
diff --git a/vusb/usbdrv/usbdrvasm12.inc b/protocol/vusb/usbdrv/usbdrvasm12.inc
index c1167584cb..c1167584cb 100644
--- a/vusb/usbdrv/usbdrvasm12.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm12.inc
diff --git a/vusb/usbdrv/usbdrvasm128.inc b/protocol/vusb/usbdrv/usbdrvasm128.inc
index bcd6621cc2..bcd6621cc2 100644
--- a/vusb/usbdrv/usbdrvasm128.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm128.inc
diff --git a/vusb/usbdrv/usbdrvasm15.inc b/protocol/vusb/usbdrv/usbdrvasm15.inc
index 401b7f8fff..401b7f8fff 100644
--- a/vusb/usbdrv/usbdrvasm15.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm15.inc
diff --git a/vusb/usbdrv/usbdrvasm16.inc b/protocol/vusb/usbdrv/usbdrvasm16.inc
index 207b6e48a1..207b6e48a1 100644
--- a/vusb/usbdrv/usbdrvasm16.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm16.inc
diff --git a/vusb/usbdrv/usbdrvasm165.inc b/protocol/vusb/usbdrv/usbdrvasm165.inc
index 79b3c61cf8..79b3c61cf8 100644
--- a/vusb/usbdrv/usbdrvasm165.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm165.inc
diff --git a/vusb/usbdrv/usbdrvasm18-crc.inc b/protocol/vusb/usbdrv/usbdrvasm18-crc.inc
index f83347df7f..f83347df7f 100644
--- a/vusb/usbdrv/usbdrvasm18-crc.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm18-crc.inc
diff --git a/vusb/usbdrv/usbdrvasm20.inc b/protocol/vusb/usbdrv/usbdrvasm20.inc
index 303abaf64c..303abaf64c 100644
--- a/vusb/usbdrv/usbdrvasm20.inc
+++ b/protocol/vusb/usbdrv/usbdrvasm20.inc
diff --git a/vusb/usbdrv/usbportability.h b/protocol/vusb/usbdrv/usbportability.h
index 476184dc68..476184dc68 100644
--- a/vusb/usbdrv/usbportability.h
+++ b/protocol/vusb/usbdrv/usbportability.h
diff --git a/vusb/vusb.c b/protocol/vusb/vusb.c
index 0bfe21e92e..0bfe21e92e 100644
--- a/vusb/vusb.c
+++ b/protocol/vusb/vusb.c
diff --git a/vusb/vusb.h b/protocol/vusb/vusb.h
index 5accf233be..5accf233be 100644
--- a/vusb/vusb.h
+++ b/protocol/vusb/vusb.h