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
Jesse Vincent
da88056a9c
convert LEDControl to a more real class
9 years ago
Jesse Vincent
054cd7560b
Rename 'HID-Project' to 'KeyboardioHID'
9 years ago
Jesse Vincent
d93dc0c9b3
First pass at encapsulating mouse management into something approximating a class
9 years ago
Jesse Vincent
5df1a1814f
rename mouse_movement to MouseWrapper in preparation for making it a class
9 years ago
Jesse Vincent
ae33e7aef2
astyle
9 years ago
Jesse Vincent
a2648d7996
Remove all knowledge of Mouse() from key_events.cpp
9 years ago
Jesse Vincent
451b133e3a
Standardize mouse movement constants to LEFT RIGHT and DOWN rather than L R and DN. (UP was already ok)
9 years ago
Jesse Vincent
4d4681be2c
update mouse movement so it has 0 dependencies on the key definitions
9 years ago
Jesse Vincent
5f72144fbb
rename MOUSE_END_WARP to MOUSE_WARP_END
9 years ago
Jesse Vincent
d027b2c40d
starting to move keymap dependencies from mouse control
9 years ago
Jesse Vincent
d667d159c2
Turns out that HSV adaptation table is actually pretty important with the WS2812 LEDs
9 years ago
Jesse Vincent
5545283db1
First pass at extracting key event functions to their own source files
9 years ago
Jesse Vincent
671e87170b
rename debouncing to matrix_state
9 years ago
Jesse Vincent
4d2c9ddff8
remove a pointless comment
9 years ago
Jesse Vincent
532782fb14
Tiny logic cleanup
9 years ago
Jesse Vincent
a88bb5f32c
We're already checking switch_to_keymap in caller
9 years ago
Jesse Vincent
921e700d9f
tiny logic fix
9 years ago
Jesse Vincent
5d7139c8f0
move handle_mouse_key_event next to other key event handling
9 years ago
Jesse Vincent
605f0039ea
rename update_leds
9 years ago
Jesse Vincent
146b69997b
rename next_led_mode
9 years ago
Jesse Vincent
db89f0e6eb
rename led_type_letter
9 years ago
Jesse Vincent
4ab844a4ae
rename set_led_mode
9 years ago
Jesse Vincent
88d220094c
rename the LED boot animation function
9 years ago
Jesse Vincent
84ac0781b4
Add support for composite keys with ctrl, alt or gui held
9 years ago
Jesse Vincent
8961aeb168
make leds_setup match naming pins_setup
9 years ago
Jesse Vincent
abb9f924db
slightly refactor matrix scanning loop
9 years ago
Jesse Vincent
52b8d216cc
Broken initial implementation of passing the previous key matrix state by reference
9 years ago
Jesse Vincent
73caeff437
Simplify mouse movement code
9 years ago
Jesse Vincent
4dc59ecf94
the function moves the mouse
9 years ago
Jesse Vincent
d5ebc7c5ad
Make the LED update API a bit more flexible
9 years ago
Jesse Vincent
679d65d6b8
rename the LED class singleton
9 years ago
Jesse Vincent
4021c3a5bb
clean up KeyboardioFirmware header
9 years ago
Jesse Vincent
da7312635b
Move code that's not actually part of the matrix scanner out of the matrix scanning function
9 years ago
Jesse Vincent
7da94a5690
A bit of renaming for consistency
9 years ago