Commit Graph

412 Commits (8d4f6ec5da69034fe7f21748aa41f74b88057a45)
 

Author SHA1 Message Date
Jesse Vincent 13c3678e9b cRGB is actually included 'upstream' inside the implementation
9 years ago
Jesse Vincent 2946a9f0e7 Merge branch '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
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.
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.
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