Jacob Alexander
3f83274f86
Prep for mouse support
8 роки тому
Jacob Alexander
9c52fb32fa
Fixing default ErgoDox layout and adding FlashMode button
- Adds proper flashMode support for all keyboards and microcontrollers (usb and serial)
- flashModeEnabled must be set to 1 otherwise it will only show an error
* This is on purpose (somewhat dangerous feature as it allows remote flashing)
- Capability cleanup
8 роки тому
Jacob Alexander
1cbc175551
Forgot to add these files in an earlier commit
8 роки тому
Jacob Alexander
20b62afb9a
FIxing Media Keys and general USB compatibilty
- Media keys tested working on Linux/Windows/Mac (use Consumer control)
- Fixed enumeration delays
- Fixed virtual serial port configuration issues
- Fixed GET_REPORT and SET_REPORT
- Added intial descriptors and endpoints for Mouse and Joystick devices
- Split out the consumer and system control endpoint
- Added more fault debugging messages
- Added interface names to endpoints (visible in Windows Device Manager)
- Added KLL define for keyboard locale
8 роки тому
Jacob Alexander
55d03f448e
UARTConnect enumeration working!
- Fixed cli reflash mode set
- Cleaned up debugging code
- 4 500 000 baud seems to be reliable
- Fixed master selection (assumes slave node unless USB enumerates)
9 роки тому
Jacob Alexander
6c67bc77bc
Revert "Merge pull request #27 from smasher816/wakeup-devel"
This reverts commit 622ea5d85f94be4b1694fdf08e30fa76eeb18fe4, reversing
changes made to c21439cb48
.
9 роки тому
Jacob Alexander
5f262ea4b6
Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
9 роки тому
Jacob Alexander
03f60df94d
mk20dx256vlh7 working!
- Interrupt vector table position fix (affected everything in the firmware)
- Added fault debug messages
- Fixed usbMuxUart
9 роки тому
Jacob Alexander
1acbc97e98
Adding initial dfu-upload code and debugging for Bootloader.
9 роки тому
Jacob Alexander
c21439cb48
Fixing none parameter.
9 роки тому
Jacob Alexander
fd25312f4f
Adding None capability.
- Required for 0.3b update of the KLL compiler.
9 роки тому
Rowan Decker
dc562cdcb3
Inital Remote Wakeup Support
Not working yet...
9 роки тому
Rowan Decker
68f357dceb
Fix whitespace pt2
Forgot to pull some files. Fixed those up too.
9 роки тому
Rowan Decker
1392571bd7
Fix whitespace
Use a consistent standard - Tabs in front for indenting, spaces after for anything else. This way everything stays nice and lined up while also letting users change there prefered indent level. Most of the new files from Haata where already in this format.
9 роки тому
Jacob Alexander
55346314b8
Adding additional case statements for SET_FEATURE and CLEAR_FEATURE
- Ignoring (which is done by default)
- Device, Interface and Endpoint variants
9 роки тому
Jacob Alexander
b2dfd63d4b
Fixing Mac OSX freeze on wake-up bug
- CLEAR_FEATURE unset is currently causing the keyboarod to freeze
- Though not ideal, it seems harmless to ignore this USB Control Packet
- Tested working on a Mac Mini (Yosemite)
9 роки тому
Jacob Alexander
733201d39b
Fixing compiler errors for usbMuxUart Output module
- Removing (currently) redundant usbMuxUart capabilities.kll file
- Issues were due to the recent AddModule cmake function addition
9 роки тому
Jacob Alexander
0ec5e6d9c2
Adding missing NL's for Cons and Sys Control debug
9 роки тому
Victor Luft
595319c511
clear buffers on Consumer/System Control release
fixes #15
9 роки тому
Jacob Alexander
7597fea053
Adding outputDebug command
- Displays all of the bytes sent via USB
- Different display mode for NKRO and Boot modes
9 роки тому
Jacob Alexander
9e3d3aaca4
Initial code for USB cable detection
- Currently actual detection commented out due to issues
9 роки тому
Jacob Alexander
1e9f55a0bf
Updating setup.cmake files to use Module hierarchy implicitly
- Added AddModule CMake function which simplifies specifying module requirements
9 роки тому
Jacob Alexander
b2539041ee
More preparation for mk20dx256vlh7
9 роки тому
Jacob Alexander
8e54672121
Fixing warning messages found using clang.
9 роки тому
Jacob Alexander
f5a1e1bcf5
Preparing for mk20dx256vlh7
- Not ready yet
- Will require some more changes to Lib/mk20dx.c
9 роки тому
Jacob Alexander
504058bdb1
Fixing sequences (after NKRO HID descriptor re-design).
9 роки тому
Jacob Alexander
c939059c7f
Fixing NKRO on Windows 8.1
- Had to re-write descriptor to support Windows 8.1 while still working with Mac OSX
- NKRO keyboard is now more bandwidth intensive as all the keys must be updated at the same time
(due to 8.1 bug in the HID spec)
9 роки тому
Jacob Alexander
774ccc7fe9
Code formatting cleanup.
9 роки тому
Jacob Alexander
a7b1d94465
Fixing NKRO modifier bug
- Modifier byte was being cleared after each send (needed for Boot Mode only)
9 роки тому
Jacob Alexander
11fb8bd77d
Fixing Linux NKRO Delete bug
- Fixed descriptor to not include USB Code 156 (Clear)
- This USB Code affects repeating Delete
9 роки тому
Jacob Alexander
9dbd155ebf
Fixing Mac OSX USB NKRO
- OSX doesn't properly follow the spec when it comes to padding bits (when using bitfields)
- Everything seems to work when I don't use them
- NKRO tested working on OSX
9 роки тому
Jacob Alexander
e251a8be50
Fixing pjrc bug affecting Mac OSX CDC driver
- Also updating usbMuxUart header with most recent keyboard defines
9 роки тому
Jacob Alexander
2be0d1393b
USB Macro Output sequences now working!
- Tested both with Boot and NKRO modes
9 роки тому
Jacob Alexander
358b1f33bb
Adding timeout to virtual serial port writes
- Was causing lock-ups until the serial port was read
- Also checking each of the NKRO key types in each send loop
9 роки тому
Jacob Alexander
6e4c28ef84
HUGE AVR RAM optimization (~28%).
- It's possible to get even more, but this is probably as far as I'll go
- PROGMEM is really annoying to use, and makes the code look like ass
- Now the Teensy 2++ should have enough RAM to use PartialMap easily
9 роки тому
Jacob Alexander
ae21a90455
Fixing USB NKRO key buffer bug
- Missing a byte in the array
9 роки тому
Jacob Alexander
0cbfe53794
Fixed Linux NKRO bitmap bug.
- Thanks hasu for pointing it out
- Keycode 50 is problematic under Linux, so removing (it's a duplicate keycode anyways)
9 роки тому
Jacob Alexander
fc84d45470
Setting max packet size (Interrupt) to 64 bytes
- 128 bytes is invalid for USB 2.0 Full-Speed (max 64 bytes)
9 роки тому
Jacob Alexander
bba9a1c973
Adding NKRO and Boot mode capabilities.
- When changing the mode, a key buffer flush is required (might confuse the OS temporarily)
9 роки тому
Jacob Alexander
5782af5541
Fixing NKRO for Windows.
9 роки тому
Jacob Alexander
ab7351b482
USB NKRO working for ARM!
- Setting NKRO mode as default (up to bios to disable)
9 роки тому
Jacob Alexander
4255a99fcc
More preparation for NKRO USB for arm
- Added NKRO descriptor
- Added NKRO HID descriptor
- Updated boot HID descriptor
- Fixed many bugs with the pjrc ARM usb stack (with USB HID)
9 роки тому
Jacob Alexander
55892cedc1
Adding clear screen before usb initializes
- Easier to debug USB initialization
9 роки тому
Jacob Alexander
9a85f92a43
Fixing descriptor bugs
- Missing device qualifier descriptor
- Missing USB Debug descriptor (used by lsusb)
9 роки тому
Jacob Alexander
5557c4189b
Merging fixes from pjrcUSB
9 роки тому
Jacob Alexander
1829d8bf05
Updating usbMuxUart for NKRO
9 роки тому
Jacob Alexander
17681c535d
Fixing uartOut for ARM
- Added fake capability for compilation
9 роки тому
Jacob Alexander
94608f93e9
Cleanup
- Changing main device type to HID (0x03)
9 роки тому
Jacob Alexander
ed9abf88a3
Preparing ARM for USB NKRO
- API changes from the AVR NKRO support
9 роки тому
Jacob Alexander
9f6be5794b
Adding NKRO support to AVR/DPH.
- NKRO for USB Codes 4 to 164, 176 to 221 and modifiers
- Added System Control support codes 129 to 183
- Added Consumer Control support codes 32 to 668
9 роки тому