-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qmk disables trackpad on OS X in some circumstances #510
Comments
Are you setting It might help to change the device/product id in the |
Just tried changing the device/productid, set |
Which keymap are you using? Are you sure you disable the MOUSEKEY_ENABLE by setting it as
and not by
The latter might get overridden by the default, and the effective value could be set to yes. You could also confirm that the mouse support really gets disabled by adding the following line
inside one of the MOUSE_ENABLE ifdefs, in the tmk_core/protocol/lufa/descriptor.c file. If the mouse support is properly disabled you should then get no compiler error, but if it's still enabled you will get an error. If no error is generated when compiling you can do a sanity check, by adding this, outside any other ifdef checks
After doing all those tests, remember to revert all your changes, for example by If the mouse support indeed gets disabled, the next thing to check, is that the descriptor.c file in question reports the right thing to the OS. |
I'm writing my own keymap for it. yes, I'm using |
Okay, I did some more investigating, and edited the lufa descriptor for the mediakeys. on tmk_core/protocol/lufa/descriptor.c#L143 I changed the logical minimum from 0x01 (Pointer) to 0x04 (Joystick) and now my Planck is no longer recognized as a mouse and/or a drawing tablet on my Mac, and the media keys still work. I can't verify the keys work on Windows however. Looking at the USB spec it may be possible to change the minimum to 0x80 (System Control) and retain media keys. Not 100% sure who to submit the patch to (tmk or here to qmk) and it does need more testing. |
@jackhumbert Do we want the patch here? or should we close and merge from upstream sometime in the future? |
Awesome. Thanks
I've noticed that when I have my Planck plugged into my MacBook which has the "Ignore built-in trackpad when mouse or wireless trackpad is present" option enabled in Accessibility settings, I cannot use the built in trackpad. Changing MOUSEKEY_ENABLE in the makefile has no effect on it.
The text was updated successfully, but these errors were encountered: