Skip to content
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

Mousekeys: Make KC_ACL_* behavior configurable even when the constant-speed-mode is turned off #6062

Closed
wants to merge 12 commits into from

Conversation

zk-phi
Copy link
Contributor

@zk-phi zk-phi commented Jun 3, 2019

This PR allows users to configure the KC_ACL_* behavior independently, without disabling the automatic acceleration (of the original mode).

Description

I have implemented the "configurable KC_ACL_* behavior" feature in #5043 before. But there was another nice patch, which implements a similar feature in another way (#2246). (I'm sorry that I couldn't find the PR opened, before submitting my one)

feature customizable KC_ACL_* behavior customizable interval supports acceleration
constant speed mode (#2246) yes * yes no
my PR (#5043) yes * no yes

While both of them have pros. and cons. to each other, I decided to merge them up in order to have the benefits from both these two features at the same time (instead of going separate ways further).

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

none

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

I have tried building all keymaps with MOUSEKEY_ENABLE = yes, but some of them had failed to build. Here is the summary: https://gist.github.com/zk-phi/08a8fd23a7e6204c14d5f847ae6e0428

zk-phi added 10 commits June 3, 2019 19:47
This commit actually do nothing. Just to make the future commits more readable.
This gets rid of copying the whole report object into a temporary object and back
- Add variable mouse_wheel_repeat
- Increment mouse_repeat and mouse_wheel_repeat separately
…en MK_3_SPEED is turned off

- Add two configurable constants MOUSEKEY_WHEEL_DELAY / INTERVAL
- Add console support to the new variables
- Emulate the MK_3_SPEED mode with the original mode
- xd75:markus has MK_W_INTERVAL_0 360, which exceeds the limit of uint8_t
@drashna drashna requested a review from a team July 30, 2019 07:59
@zk-phi zk-phi mentioned this pull request Jul 30, 2019
13 tasks
@drashna
Copy link
Member

drashna commented Nov 16, 2019

It looks like there are a number of merge conflicts here. Could you fix them?

@zk-phi
Copy link
Contributor Author

zk-phi commented Nov 18, 2019

Resolved conflicts with b624f32 !

In b7b8493 I have mistakenly deleted the lib/lufa submodule. This commit reactivates the submodule.
@stale
Copy link

stale bot commented Jan 2, 2020

Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with awaiting review, breaking_change, in progress, or on hold to prevent the issue from being re-flagged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants