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

Update massdrop/alt and arm_atsam/led_matrix to fix #10813 #10818

Merged
merged 3 commits into from
Nov 9, 2020

Conversation

cmerrill
Copy link
Contributor

@cmerrill cmerrill commented Oct 31, 2020

Description

This PR makes the following three changes:

  • Updates the custom LED matrix handling code in tmk_core/protocol/arm_atsam/led_matrix.c to only change the appearance of the CapsLock key if the LED_FLAG_INDICATOR flag is set.
  • Updates the keyboard/massdrop/alt/config_led.c file to correctly call out all of the modifier keys on the keyboard (in the same style as on massdrop/ctrl) and to add the additional "INDICATOR" flag to the CapsLock key for use as an indicator. I am not entirely sure if this is the right way to deal with using a key LED as an indicator, but it was the closest to the current implementation.
  • Updates the keyboard/massdrop/alt/keymaps/default/keymap.c file to correctly set the "MODIFIER" and "INDICATOR" flags as enabled when cycling between RGB lighting for All/Keys Only/Underglow Only/None.

In general, I tried to make minimal changes while still implementing the fix.

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

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • 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).

Copy link
Member

@fauxpark fauxpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also need to be done for the CTRL?

@cmerrill
Copy link
Contributor Author

cmerrill commented Nov 1, 2020

This should likely also be done for the CTRL, but I don't have a keyboard to verify the changes.

I've pushed the equivalent CTRL changes to my branch (it is implemented for both the Caps Lock and Scroll Lock options on the CTRL). The CTRL seemed to have this already partially, but not entirely, implemented.

Copy link
Member

@fauxpark fauxpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ash0x0 @MatthewRobo @XScorpion2 if one of you could test out the CTRL side of things here?

keyboards/massdrop/ctrl/keymaps/default/keymap.c Outdated Show resolved Hide resolved
@fauxpark fauxpark requested a review from a team November 1, 2020 20:22
@drashna drashna requested a review from a team November 2, 2020 00:35
Copy link
Contributor

@ash0x0 ash0x0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No visible changes for CTRL as this wasn't an issue at least for me.

Co-authored-by: Ryan <fauxpark@gmail.com>
@noroadsleft noroadsleft merged commit 16fe4b8 into qmk:master Nov 9, 2020
@noroadsleft
Copy link
Member

Thanks!

ChrissiQ pushed a commit to ChrissiQ/qmk_firmware that referenced this pull request Nov 10, 2020
)

* Update massdrop/alt keyboard to fix Caps Lock LED flickering.

* Fix Caps-lock LED during underglow-only for massdrop/ctrl

* Update keyboards/massdrop/ctrl/keymaps/default/keymap.c
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
)

* Update massdrop/alt keyboard to fix Caps Lock LED flickering.

* Fix Caps-lock LED during underglow-only for massdrop/ctrl

* Update keyboards/massdrop/ctrl/keymaps/default/keymap.c
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.

[Bug] Massdrop Alt Default keymap Caps Lock LED flickers
6 participants