Commit Graph

4148 Commits (5520799105d6e312599e74c9fd95a60ed473da87)
 

Author SHA1 Message Date
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
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