Commit Graph

4976 Commits (b2899f970b59b317c6f251f0a98cbde7ecc0a57e)
 

Author SHA1 Message Date
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
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
Jesse Vincent f53f912cb2 We're not using the serial connection right now.
9 years ago
Jesse Vincent 80f2182e12 remove comment and commented out code
9 years ago
Jesse Vincent accafbf755 reorder some functions
9 years ago
Jesse Vincent ea665c3fdb header cleanup
9 years ago
Jesse Vincent 8d9547ddc8 Only include the storage header file once
9 years ago
Jesse Vincent 181b84a572 astyle
9 years ago
Jesse Vincent 91e256a913 move the set_keymap conditional outside the set_keymap function
9 years ago
Jesse Vincent 9dfec10ecc Remove old debugging output
9 years ago
Jesse Vincent 2f5b56ec6b A README note
9 years ago
Jesse Vincent f17e140f5b now that led effects are in their own class, stop prefixing effects with led_
9 years ago
Jesse Vincent 3d7fa7613b Merge commit '0ae7e1b'
9 years ago