Jesse Vincent
c8c7bbe316
Prefix avr-size so it works on platforms without avr-size in the path
9 years ago
Jesse Vincent
aa9c30fa5a
Slow down the rainbow wave
9 years ago
Jesse Vincent
59fbee7591
Beginning to implement the ATTiny based firmwaare
9 years ago
Jesse Vincent
024c8f39ab
Merge branch '2016-02-hardware'
...
* 2016-02-hardware:
Move keymap data structures out of the toplevel sketch
better implementation/general separation for keyswitch matrix
We're not using WS2812 in the new implementation
Make cRGB initialization not depend on struct order.
9 years ago
Jesse Vincent
feebc13dca
Move keymap data structures out of the toplevel sketch
9 years ago
Jesse Vincent
3c223d4b3d
better implementation/general separation for keyswitch matrix
9 years ago
Jesse Vincent
0be763e1d0
We're not using WS2812 in the new implementation
9 years ago
Jesse Vincent
b461309910
Make cRGB initialization not depend on struct order.
9 years ago
Jesse Vincent
b96c06338f
At least for now, use Scott Torborg's http://web.mit.edu/storborg/Public/hsvtorgb.c
9 years ago
Jesse Vincent
13c3678e9b
cRGB is actually included 'upstream' inside the implementation
9 years ago
Jesse Vincent
2946a9f0e7
Merge branch 'implementation-select'
...
* implementation-select:
Move the HARDWARE_IMPLEMENTATION macro into the implementation defintion
Selectable implementations that appear to work.
wip implementation select
9 years ago
Jesse Vincent
a95308cc47
Move the HARDWARE_IMPLEMENTATION macro into the implementation defintion
9 years ago
Jesse Vincent
2876509076
Selectable implementations that appear to work.
9 years ago
Jesse Vincent
70d892f2c7
wip implementation select
9 years ago
Jesse Vincent
608cdb0273
We don't need to declare that object here
9 years ago
Jesse Vincent
01aae54a80
Move header includes into header file
9 years ago
Jesse Vincent
ebf274db37
whitespace
9 years ago
Jesse Vincent
c59a6a80d6
Remove an unused API
9 years ago
Jesse Vincent
f21a6e72d5
Break a circular dependency between the LED code and the keyboardhardware implementation
9 years ago
Jesse Vincent
610d97a08e
Turn down our tick counter for the rainbow wave, making it smoother
9 years ago
Jesse Vincent
88e3c413fd
Fix up some linting
9 years ago
Jesse Vincent
2d071e7109
Don't need that layer of indirection
...
(it was accidentally not removed when this code was refactored)
9 years ago
Jesse Vincent
38de84caa5
rebuild the implementation class for the new model01
9 years ago
Jesse Vincent
3ccfb27fc5
Move more data into the class definition
9 years ago
Jesse Vincent
7cd1286810
simplify the 'setup' API for the hardware
9 years ago
Jesse Vincent
637bb7652a
We'd broken LED toggling (non-mouse IS_INTERNAL keys)
9 years ago
Jesse Vincent
fd10be9b0d
Brighten up the LEDs in rainbow wave mode. Cuts down on flickr
9 years ago
Jesse Vincent
a8d0218d27
can't store a number over 255 in a uint8_t
9 years ago
Jesse Vincent
07b26a4c23
Data type update for absolutemouse
9 years ago
Jesse Vincent
7257d2af2a
Initialize our AbsoluteMouse device in the init routine
9 years ago
Jesse Vincent
440e719ff6
Same Makefile trick for our runtime deviceid
9 years ago
Jesse Vincent
013175e333
Remove our internal SetHSV implementation
9 years ago
Jesse Vincent
27cb42eade
A previous commit that switched to longer name for MOUSE_ constants conflicted with internal compiler macros inside our HID library.
9 years ago
Jesse Vincent
f2222c8dbd
Typo fix. we were trying to do boolean logic, not bitwise math
9 years ago
Jesse Vincent
9bb0e64f4a
move "scan_matrix" into the implementation specific class, since it looks like it'll be very different between beta and production
9 years ago
Jesse Vincent
3a67f2d25f
Quick makefile hack to find the "correct" port for a keyboard.
...
This is a totally reasonable thing to do while this firmware is in
development by a single developer on a single host and is completely
insane for any sort of production usage
9 years ago
Jesse Vincent
5f9648c57d
First pass at moving scan_matrix into the implementation-specific class
9 years ago
Jesse Vincent
e1c7069c80
A first, very hacky way to plug backend hardware implementations that shows off just how little I know about C++
9 years ago
Jesse Vincent
0400670487
Rename the beta implementation to be Model01Beta
9 years ago
Jesse Vincent
0f92dc4943
first steps to pluggable implementations
9 years ago
Jesse Vincent
a14920f0bf
astyle
9 years ago
Jesse Vincent
2f314d5267
Move SX1509s and LEDs into the implementation
9 years ago
Jesse Vincent
3281020304
First pass at turning the implementation side into a class
9 years ago
Jesse Vincent
cc9546bdd9
tiny refactor
9 years ago
Jesse Vincent
d8f1a02cde
remove useless comment
9 years ago
Jesse Vincent
3333df16d9
Refactor a bit of code for clarity..that also saves us a fair bit of flash
9 years ago
Jesse Vincent
1d0b628470
what we called matrix_state really only dealt with a the state of a single keyswitch
9 years ago
Jesse Vincent
79dfa290c7
Cleaner separation for our 'Storage' class
9 years ago
Jesse Vincent
13954d0165
Rename KeyboardStorage to Storage
9 years ago
Jesse Vincent
26f66d84cc
Rename LEDControl.cpp and move some variable initialization into the class defintion.
...
(Also, a couple of signed ints had previously been inadvertently converted into unsigned ints. Now fixed)
9 years ago