Commit Graph

32 Commits (5a677ce7f02a15c716475052dc7ec1899d026a50)

Author SHA1 Message Date
Gergely Nagy 5a677ce7f0 Small hook rework
8 years ago
Jesse Vincent a5f3b98c79 make astyle
8 years ago
Jesse Vincent 5e843dc9cd Simplify the mouse button code path.
8 years ago
Jesse Vincent 322c2fa589 Split out the left and right alt keys, to make it easier to emulate altgr.
8 years ago
Gergely Nagy 5d010e7103 Rework the custom event handler architecture
8 years ago
Gergely Nagy 12d8d1e3de Improved custom key event handling
8 years ago
Gergely Nagy 9f7d3062e7 Add a lookup_key() method
8 years ago
Gergely Nagy f3c9d328ba key_events: A way to hook into the event handling
8 years ago
Jesse Vincent 771c0de247 move keymaps to progmem. This is a fairly large memory win
8 years ago
Jesse Vincent 446036d158 Undo numist's nicer code layout so we can build as a 'regular' arduino sketch
8 years ago
Scott Perry 51eba85906 Move firmware into /source, deps as submodules in /libraries
8 years ago
Jesse Vincent 75205f28c3 astyle. no code changes.
9 years ago
Jesse Vincent 5e49c8fef3 Add an alternate version of our keystate code that depends on in-hardware
9 years ago
Jesse Vincent 1ce8da0b8d make astyle
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 88e3c413fd Fix up some linting
9 years ago
Jesse Vincent 637bb7652a We'd broken LED toggling (non-mouse IS_INTERNAL keys)
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 a14920f0bf astyle
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 da88056a9c convert LEDControl to a more real class
9 years ago
Jesse Vincent d93dc0c9b3 First pass at encapsulating mouse management into something approximating 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 d027b2c40d starting to move keymap dependencies from mouse control
9 years ago
Jesse Vincent 5545283db1 First pass at extracting key event functions to their own source files
9 years ago