Commit Graph

12 Commits (a3933bdbe74aa10120da9962b46ee1576450fc07)

Author SHA1 Message Date
Manna Harbour b7dc2eb9ab
Add movement hook to ps2_mouse (#8805)
Process mouse movement in the keymap before it is sent to the host. Example uses
include filtering noise, adding acceleration, and automatically activating a
layer. To use, define the following function in your keymap:

void ps2_mouse_moved_user(report_mouse_t *mouse_report);
5 years ago
Manna Harbour 07c75feba3
Add PS2_MOUSE_ROTATE to compensate for device orientation (#8650)
* Add PS2_MOUSE_ROTATE to compensate for device orientation

* fixup! Add PS2_MOUSE_ROTATE to compensate for device orientation

* Reformat with IndentPPDirectives: AfterHash as per #6316
5 years ago
skullY b624f32f94 clang-format changes 6 years ago
Jesper Brix Rosenkilde 966e2660cf Add option to reverse PS2 mouse axes and scrolling 8 years ago
dbroqua 81e85a1a4e - Added integration of IBM Trackpoint 8 years ago
Priyadi Iman Nurcahyo 07d29b7d29 syntax error fix 9 years ago
Priyadi Iman Nurcahyo d059624bfb Implemented weak ps2_mouse_init_user()
There are a lot of PS/2 commands, some are vendor/device specific, so we
provide a weak ps2_mouse_init_user() to be implemented in each keyboard
that need it.
9 years ago
Ofer Plesser f0768f8be9 Forgot to use define in delay instead of hardcoded number 9 years ago
Ofer Plesser 9f41544e1d Added back PS2_MOUSE_INIT_DELAY define 9 years ago
ofples d639e08a31 Refactored and improved ps2 mouse feature 9 years ago
Priyadi Iman Nurcahyo 9a071f051c Make PS2 init delay configurable. Some devices are not fully powered up
after 1s.
9 years ago
tmk 1a02ebcc61 Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 10 years ago