Archived
1
0
Commit Graph

84 Commits

Author SHA1 Message Date
Jacob Alexander
a017d2f270 Adding Kaypro1 functional support
- Uses USART instead of polling
- Supports two way communication (only 3 commands to the keyboard
  though)
- Kaypro sends data as ASCII, which severely limits the handling of
  modifiers
- No release signal is sent, so even faking modifiers is next to
  impossible outside of Shift and Ctrl
- Includes default QWERTY and Colemak layouts
- Developed a new buffer macro, which will become the basic macro module
  once all the other modules have been ported (much more efficient, as
  it keeps serial scanning schemes serial, and parallel scanning schemes
  such as matrix, that already serialized into a sort of buffer for the
  debouncing evaluation)
- This module is quite efficient, and would be able to handle very
  excessive macro processing in the future.
- If more of the keypboard communication protocol is desired, I have a
  rom dump of the microcontroller (M5L8049)
2011-11-03 00:09:10 -07:00
Jacob Alexander
266b59b851 Initial commit of the Kaypro1 scan module
- Does not output to usb yet
- USART is functionally getting characters from the keyboard and sending
  beep codes and ACK request code (Baud rate properly calculated)
- Uses hard-coded keys for the PC to Keyboard commands (not desireable)
- Keyboard sends ASCII data, which makes doing things like holding
  multiple keys almost impossible to detect (the board isn't NKRO
  anyways, though I've found 8+ key combos that work)
2011-11-01 00:02:10 -07:00
Jacob Alexander
e3042a3526 Making sub-modules of matrix for HeathZenith and BudKeypad
- Parent module no longer allows for a stand-alone compile
- Added HeathZenith matrix (pinout still needs to be done)
- Updated the HeathZenith keymaps
- Changed the original example matrix.h to matrix_template.h
2011-10-16 21:38:56 -07:00
Jacob Alexander
aa77d5d8a4 Adding the rest of the matrix scanning modes
- Not tested yet
- Added bug fixes for the scanCol and scanRow methods
- Merged in the powered versions of scanCol and scanRow
- Added the scanDual, but still needs heavy testing
- The scanDual uses twice the memory per key, so it can only scan half
  as much compared to the other scan modes
2011-10-16 20:08:37 -07:00
Jacob Alexander
ab9382acf3 Added TheProfosist's layout, and split up the current layouts
- Layouts should be changed as per defines in the Scan modules
- Which are then mapped using the macro module (if possible)
2011-10-16 01:18:08 -07:00
Jacob Alexander
0516e82a71 Adding soft entry bootloader via key sequence.
- Fixed up basic Macro module (still not to my liking)
- Added the bootloader entry bits
- Added logic for key sequence tracking
2011-10-16 00:45:10 -07:00
Jacob Alexander
6557022f20 Basic matrix module for the hall effect keypad now working.
- Includes new "table pinning" setup (much easier to understand)
- Matrix layouts will be split into their own dependent modules later
- Changed the HID Raw view id (too many teensy devices on this
  computer...)
- Moved the macro processing outside of the usb timer signal
  (this will be slower overall, but will result in more consistant
  behaviour)
2011-10-15 20:01:46 -07:00
Jacob Alexander
46916defa5 Tandy 1000 Converter, basicly works, except for packet mismatches
- Caused by too much processing in the converter...
- Easy to fix if I remove the macro engine...
2011-10-01 00:54:18 -07:00
Jacob Alexander
05c20112e9 Cleaning up main.c
- main.c is now mostly complete
- Required fixes to matrix.c (some are temporary)
2011-09-30 01:30:34 -07:00
Jacob Alexander
c01efa2d53 Formalizing code module structure and inheritance (Large Commit)
- Commenting cleaned up
- usb_keyboard_debug is not finished yet in terms of cleanup (needs DEBUB_PRINT #ifdef's)
- Added LoadFile script generation
- Formalized KeyIndex and USBKeys data containers
- Split parts of scan_loop into Macro, USB, and main.c
- Added interface to USB modules
- Added interface to Macro modules
- Added proper Debug module enable/disable
2011-09-29 22:22:19 -07:00
Jacob Alexander
a0439f627b Updating the build script to remove includes hack
- Providing HEAD_DIR variable that can be prepended to refer to the top of the source directory
2011-09-29 15:33:13 -07:00
Jacob Alexander
fd569b9de3 Removing old files 2011-09-29 15:07:18 -07:00
Jacob Alexander
b4e1868d19 Reorganization for use with the CMake "Modules"
- Include option is currently "hacked" and needs to be fixed
- Builds on Linux, but Mac and Windows needs to be tested
- Loader script generation isn't complete
2011-09-28 23:25:51 -07:00
Jacob Alexander
0415ba2481 Finished major changes on the CMakeLists.txt. 2011-09-28 20:37:19 -07:00
Jacob Alexander
528e8cc452 Finally! A CMake build script
- Mostly implements the features found in the old Makefile
- More pretty colours
- TODO list can be found at the top of the file
- Doesn't have any compiler detection yet, that may be a good idea to add
2011-09-28 01:47:50 -07:00
Jacob Alexander
9f5c89e666 Small change while the build system is in flux. 2011-09-28 01:47:26 -07:00
Jacob Alexander
1e03ed42aa Code re-factor now compiles.
- Added better string handling and canned messages
- Added LED error function
- Moved code around
- Prepared the matrix code for multiple styles of scanning (changed at compile time)
2011-09-27 21:31:59 -07:00
Jacob Alexander
47a54d654d Parts of the upcoming rewrite 2011-09-22 23:33:56 -07:00
Jacob Alexander
5226cdd252 Seems to be compiling now...finally after many months. 2011-09-07 18:04:06 -07:00
Jacob Alexander
d1f1128f6a Correcting debounce issues. 2011-04-06 12:30:32 -07:00
Jacob Alexander
19e55ee62d Adding the HHKB style navigation layer.
- Hack included for a minor debouncing/electrical problem (will fix later properly)
- Changed internal shift layers for nested switching.
2011-03-31 17:24:20 -07:00
Jacob Alexander
0f7ebe81cc Moving the layouts to a separate file. 2011-03-30 17:51:28 -07:00
Jacob Alexander
fd9c727e79 Minor modifications. 2011-03-30 00:58:22 -07:00
Jacob Alexander
5a3e184054 Adding all of the USB keycodes, and proper key ordering. 2011-03-24 11:43:45 -07:00
Jacob Alexander
1c8c8762ce Adding array sizes (fixing the extra key problem) 2011-03-21 16:49:43 -07:00
Jacob Alexander
81bb9d772d Working keypad switch code detection. 2011-03-21 16:06:01 -07:00
Jacob Alexander
a62cac9ca7 Adding basic per line keypad detection 2011-03-20 01:17:19 -07:00
Jacob Alexander
4b883dda10 Keyboard functionally working with very very good debouncing.
- defaultMap needs to be adjusted
- Modifiers are not yet accounted for when sending keypresses
- keypad needs to be added (detect,debounce, and send)
2011-03-16 22:43:33 -07:00
Jacob Alexander
7b842daa93 Updating for the latest pinout 2011-03-13 19:57:22 -07:00
Jacob Alexander
5df37266a2 Redefining pinouts and adding key sending code. 2011-03-12 17:45:51 -08:00
Jacob Alexander
8d796b5a55 Key detection complete. 2011-03-10 13:47:25 -08:00
Jacob Alexander
de0e8f8540 Significant progress made.
- Only need to decode a bunch more of the matrix to get the proper key assignments
- All of the infrastructure is in place for decoding like matrices for the teensy
2011-03-09 22:49:34 -08:00
Jacob Alexander
1bee2a6dc9 Initial macro line filler design for multiple keyboards matrices. 2011-03-07 10:42:32 -08:00
Jacob Alexander
f61225c321 Initial Commit 2011-03-03 16:38:32 -08:00