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

Add lkbm keymap #17218

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Add lkbm keymap #17218

merged 1 commit into from
Jul 2, 2022

Conversation

aidalgol
Copy link

@aidalgol aidalgol commented May 27, 2022

The keymap that takes commands as LED-Key BitMasks.

Based on maddie (by @hexadecatrienoic), this keymap lets you send a 2-bit command by having a macro on your keyboard tap KC_NUM_LOCK and KC_CAPS_LOCK on and off within a very short window (25ms by default) to represent bits 1 and 2 respectively. The keymap uses this to allow toggling between sending mouse-movement events and scrolling events; cycling DPI presets, and resetting to the bootloader, so you can reflash without having to unscrew your Ploopy Nano.

This required adding a function to the keyboard's .c/.h files to allow cycling the DPI presets, which were already defined there.

Types of Changes

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

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).

The keymap that takes commands as LED-KEY BitMasks.
@drashna drashna requested a review from a team May 31, 2022 08:02
@aidalgol aidalgol marked this pull request as ready for review June 1, 2022 04:27
@tzarc tzarc merged commit 8c4a5f9 into qmk:master Jul 2, 2022
casuanoob pushed a commit to casuanoob/qmk_firmware that referenced this pull request Jul 2, 2022
schattenbrot pushed a commit to schattenbrot/qmk_firmware that referenced this pull request Aug 2, 2022
nolanseaton pushed a commit to nolanseaton/qmk_firmware that referenced this pull request Jan 23, 2023
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