Commit Graph

8 Commits

Author SHA1 Message Date
László Monda
0c404f324d Rename a couple of key action related type names and enum values. 2017-01-02 21:25:38 +01:00
Gergely Nagy
39dd0df58c Move keyboard event handling into action.c
Since keyboard_layout.[ch] has gained more features, and handles more than just
filling out the keyboard report, move it to action.[ch] instead. I see no sane
way to separate the keyboard and mouse report filling, unless we want to loop
over key states twice, hence them being in the same file.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-12-15 18:32:28 +01:00
Gergely Nagy
440c6d8ca8 Initial implementation of mouse actions
This implements the mouse action handling. There is no acceleration while
holding the mouse movement keys yet, though, that will be a separate step.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-12-15 18:30:51 +01:00
László Monda
3bd2c7f18e Extract RESET_BUTTON_IS_PRESSED 2016-10-17 22:51:17 +02:00
László Monda
ab3d8b92f0 Remove commented out code. 2016-10-17 22:47:45 +02:00
László Monda
0550c19cf5 Delete board.[ch]. Add reset_button.h 2016-10-04 16:44:16 +02:00
László Monda
b280fde8a5 Extract LED driver related functions to led_driver.[ch] 2016-09-26 20:28:12 +02:00
László Monda
11401a6448 Make less use of linked files and folders for better long-term maintainability by moving the source files under the newly created src directory and only linking that directory to the workspace. 2016-09-26 08:45:59 +02:00