-
-
Notifications
You must be signed in to change notification settings - Fork 37.8k
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
Updated slave encoder sync to reduce dropped pulses #7325
Conversation
I've tested the code, and come to the following observations:
|
@drashna You said you have this code running on your Kyria too, do your observations match mine? |
@splitkb Just pushed a fix for the direction issue. My bad, bad copy & paste. |
@XScorpion2 Are you sure the code is pushed? I've copied over the encoder code into my local |
It seems as though there's still the same problem, but now in the opposite direction. I did |
at work, will check again tonight |
Yeah, that's the same issues that I was seeing, and can confirm that the changes don't fix it. |
To make fauxpark happy Co-Authored-By: fauxpark <[email protected]>
Confirmed to work, like a charm! Thank you very much for your efforts, @XScorpion2, it's much appreciated by myself and Kyria users! |
Can also confirm that this fixes the issue. However, it does not work on with #5998. But that's out of scope for this PR |
Also, could the keyboard and keymap stuff be removed from the PR |
@drashna fixed |
* Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <[email protected]> * Update custom_encoder.c * Update rules.mk
To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads.
* Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <[email protected]> * Update custom_encoder.c * Update rules.mk
* Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <[email protected]> * Update custom_encoder.c * Update rules.mk
To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads.
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in #7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in #7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in #7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <[email protected]> * Update custom_encoder.c * Update rules.mk
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in qmk#7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Add `ENCODER_DIRECTION_FLIP` setting To allow for simple change of direction In fixing the Split Encoder issues in #7325, the direction was flipped for all encoders. However, this flip actually corrects the direction to be correct, but this was an unintended change in behavior. Rather than reverting the dirction (because, now it's actually correctly processing CW vs CCW), lets add an option to flip this, so that users can revert to the older behavior if they want, without having to redefine the pins/pads. * Revert direction to old behavior * Make setting easier to read and understand * Use physically correct direction by default * Wordsmithing in documentation * Fix indenting in example * Add changelog
* Updated slave encoder sync to reduce dropped pulses * Fixing encoder direction * Encoder behavior fixes, tested * Update keyboards/rgbkb/sol/keymaps/xulkal/rules.mk To make fauxpark happy Co-Authored-By: fauxpark <[email protected]> * Update custom_encoder.c * Update rules.mk
Description
Fixes the slave encoder state syncing to reduce dropped pulses.
Types of Changes
Issues Fixed or Closed by This PR
Checklist