Gergely Nagy
65fee12dad
Move Mouse & AbsoluteMouse initialization to MouseWrapper.begin
...
To avoid issues with static initialization order, move the Mouse & AbsoluteMouse
initialization from the MouseWrapper constructor to MouseWrapper.begin, which
will be called from MouseKeys.begin. Thus, user code does not need to change.
This fixes keyboardio/Kaleidoscope#140 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
23b341e2b3
Skip layer switching keys when it comes to highlighting
...
Together with the previous, this fixes keyboardio/Kaleidoscope#149 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
e9c532509f
Switch AbsoluteMouse to use its own HID endpoint
8 years ago
Gergely Nagy
4f7e60ec52
Highlight changed keys on the NumLock layer, not just NumPad ones
...
As there are - or at least may be - other keys on the layer, not just NumPad
ones, those should be highlighted too.
Addresses the bulk of keyboardio/Kaleidoscope#149 , by comparing the looked up
key with what is directly on the `numPadLayer`: if they are the same, then it is
a key that we assume changed, and do the coloring. If they are different (in
other words, the key on the `numPadLayer` is transparent or off), we skip the
highlight.
The downside is that we highlight layer switching keys too, which we may not
want. That will be addressed separately.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
ecc113ad7f
Added a note about how this isn't the right place to start for Model01 firmware
8 years ago
Jesse Vincent
5e79b16923
switch around our constants so we have more room for mouse buttons in the bit vector
8 years ago
Jesse Vincent
ef47dc5447
switch mouse button constants to those defined in the HID library.
...
This is a leakage from the KeyboardioHID library
8 years ago
Jesse Vincent
8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
...
rather than send key down events for a while before sending a key
release event as we did with the old scheme, this sends the events
paired together as "one shot". This is closer to the spec and what OSX
needs to accept these events
8 years ago
Jesse Vincent
b6d552f9c0
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
9bbb57acfb
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
f68193553a
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
94ab7c4534
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
f394c7d0cc
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
b58bb19ea3
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
64f9fe2a53
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
635e67fa73
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
9f9592b16c
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
42faebc873
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
401e9326a0
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
5f3b3486ed
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
50b993b2f6
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
243b1ada1a
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
8556552d9b
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
821ec5861b
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
d7a889f25e
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
43b768cabb
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
93b4bfc120
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
9b46680240
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
f364a389b1
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
d342b6eb04
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
1c8f7faa4d
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
b078a29d23
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
1a5717d838
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
f2d73d4d71
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
d5a4200008
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
c263665f3e
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
83351d0fc4
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
07b3bb6667
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
6a80f8f059
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
dc1bea63ad
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
ceaded3eb4
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
30ebf9599f
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
4f222e4e2b
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
997b3a58e0
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
abe9fcc3c7
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
33a1fd6c34
Update README to match new hid facade
8 years ago
Jesse Vincent
13646a6581
port to new hid facade
8 years ago
Jesse Vincent
a38f033e2b
port to hid facade
8 years ago
Jesse Vincent
271aba9373
port to new hid facade
8 years ago
Jesse Vincent
9957fca651
Update to new hid facade
8 years ago