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

Bastard Keyboards: Add support for Dilemma v2 (3x5+3) #22185

Merged
merged 22 commits into from
Dec 12, 2023

Conversation

casuanoob
Copy link
Contributor

Description

This PR adds support for @bstiq's Dilemma v2 keyboard, which is the 3x5+3 entry in the Dilemma range of keyboards.

Please note that the existing dilemma/3x5_3 configs in the upstream qmk repo which were merged in @0xcharly's PR #18903 actually reflect a never-released prototype version of the Dilemma v2, so there are no users who would be affected by replacing them.

  • Add implementation for the dilemma_3x5_3 keyboard.
  • Update default keymap.
  • Add via keymap.
  • Update bastardkb/dilemma/3x5_3/readme.md

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

@github-actions github-actions bot added keyboard keymap via Adds via keymap and/or updates keyboard for via support labels Oct 2, 2023
@drashna
Copy link
Member

drashna commented Nov 29, 2023

This should be updated (and subsequent merge conflicts fixed).

0xcharly and others added 18 commits December 1, 2023 15:34
Remove rgb matrix layout macro from 3x5_3.c
Remove defines from config.h and rules.mk that are now in info.json
Refactor default keymap to use core tri-layer subsystem
Added default keymap readme
some things were only working because "processor: RP2040" defaults to
GENERIC_PROMICRO_RP2040.
explicitly set "board": "GENERIC_RP_RP2040" instead.
correctly enable SPI0 and SPID0 instead of SPI1
mirror the changes requested by reviewers in the Dilemma Max PR
move rgb animation enabling to info.json
remove redefinitions of default rgbmatrix values
move rules.mk <feature>_enable to info.json
Change RGB Matrix flags to Indicator on the pinky columns.
Add per-layer underglow colours for each layer.
Add caps lock indication on the pinky columns.
Add full red RGB on bootloader entry.
Convert values from HSV to respect brightness settings
- wrapper macros removed to conform with pristine keymap requirement
- readded miryoku inspired ESC_MEDIA layer
- use *_kb function to keep via keymap pristine
- allows user to override default behaviour easily from keymap level
- accidentally put the wrong keycode name in, which broke the layers
- move shutdown function to 3x5_3.c
PR qmk#21060 added the new shutdown_kb callback to dilemma.c, so can be
removed from 3x5_3.c
casuanoob and others added 2 commits December 2, 2023 02:19
Per Drashna's suggestion, no need to redefine existing minmax macro
@keyboard-magpie keyboard-magpie requested a review from a team December 6, 2023 08:13
`[2]` is deprecated for `[NUM_DIRECTIONS]`, missed it when updating

Co-authored-by: Ryan <[email protected]>
@finrod09
Copy link
Contributor

I have tested these changes on the appropriate hardware and everything works as expected. Thanks, casua!

@drashna drashna merged commit 06b9925 into qmk:develop Dec 12, 2023
3 checks passed
@bstiq
Copy link
Contributor

bstiq commented Dec 12, 2023

Thanks everyone!! 🥳🥳

@casuanoob casuanoob deleted the bk_dilemma_3x5_3 branch December 24, 2023 14:27
itsjonny96 pushed a commit to itsjonny96/qmk_firmware that referenced this pull request Jan 7, 2024
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Charly Delay <[email protected]>
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 17, 2024
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Charly Delay <[email protected]>
mechlovin pushed a commit to mechlovin/qmk_firmware that referenced this pull request Jan 19, 2024
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Charly Delay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keyboard keymap via Adds via keymap and/or updates keyboard for via support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants