Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Send numlock keypress when disabling the numpad layer. #2

Merged
merged 1 commit into from
Mar 9, 2018

Conversation

edanaher
Copy link
Contributor

This avoids the OS being stuck with Numlock on, which leaves the LED on
if other keyboard are attached, and breaks FVWM.

See keyboardio/Model01-Firmware#42

This avoids the OS being stuck with Numlock on, which leaves the LED on
if other keyboard are attached, and breaks FVWM.

See keyboardio/Model01-Firmware#42
@algernon algernon self-assigned this Feb 26, 2018
@algernon algernon self-requested a review March 9, 2018 15:12
@algernon
Copy link
Contributor

algernon commented Mar 9, 2018

Just tested this along with #3, both work as advertised, and I couldn't spot any regressions, so I'll merge both.

Thank you for figuring out how to improve the situation, and submitting these PRs!

@algernon algernon merged commit 3e7b4cb into keyboardio:master Mar 9, 2018
@MartyGentillon
Copy link
Contributor

I will have to check, but I am pretty sure that these do conflict....

@MartyGentillon
Copy link
Contributor

Yep, just like I thought, it breaks the intended behavior of #3

The test procedure:

  1. activate numlock on second keyboard
  2. Activate the number layer
  3. Deactivate the number layer
  4. Numlock should still be on, it isn't.

Working on a patch.

MartyGentillon added a commit to MartyGentillon/Kaleidoscope-NumPad that referenced this pull request Mar 15, 2018
Test procedure:
  1. Make sure numlock is off on host machine.
  2. Activate num layer. Confirm, numlock is now on.
  3. Deactivate num layer. Confirm, numlock is now off.
  4. Using another keyboard, activate numlock on host machine.
  5. Activate num layer. Confirm, numlock is still on.
  6. Deactivate num layer. Confirm, numlock is still on.

Prior to this commit, step 6 resulted in numlock being off.

see keyboardio#2
see keyboardio#3
see keyboardio#1
see keyboardio#6
MartyGentillon added a commit to MartyGentillon/Kaleidoscope-NumPad that referenced this pull request Mar 15, 2018
Test procedure:
  1. Make sure numlock is off on host machine.
  2. Activate num layer. Confirm, numlock is now on.
  3. Deactivate num layer. Confirm, numlock is now off.
  4. Using another keyboard, activate numlock on host machine.
  5. Activate num layer. Confirm, numlock is still on.
  6. Deactivate num layer. Confirm, numlock is still on.

Prior to this commit, step 6 resulted in numlock being off.

see keyboardio#2
breaks keyboardio#3
see keyboardio#1
fixes keyboardio#6
MartyGentillon added a commit to MartyGentillon/Kaleidoscope-NumPad that referenced this pull request Mar 15, 2018
Test procedure:
  1. Make sure numlock is off on host machine.
  2. Activate num layer. Confirm, numlock is now on.
  3. Deactivate num layer. Confirm, numlock is now off.
  4. Using another keyboard, activate numlock on host machine.
  5. Activate num layer. Confirm, numlock is still on.
  6. Deactivate num layer. Confirm, numlock is still on.

Prior to this commit, step 6 resulted in numlock being off.

see keyboardio#2
broken keyboardio#3
see keyboardio#1
fixes keyboardio#6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants