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

Refactor jj40 to current standards #5574

Merged
merged 4 commits into from
Apr 8, 2019
Merged

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Apr 7, 2019

Description

So far:

  • Remove use of custom matrix
  • Use ps2avrgb implementation for RGB underglow
  • Use generic i2c_master instead of its own copy
  • Use default backlight functionality
  • Update default keymap to include RGB and Backlight keycodes

Dependencies:

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

@zvecr zvecr marked this pull request as ready for review April 7, 2019 03:08
@zvecr
Copy link
Member Author

zvecr commented Apr 7, 2019

There seem to be a few broken layouts, including community ones.

  • drashna
    • error: ‘PORTE’ undeclared
    • Due to port not existing on atmega32a
  • fun40
    • missing KEY_LOCK_ENABLE = yes rules.mk flags
  • krusli
  • waples
    • unused variable cie_lightness

Mostly simple fixes, but wont be fixed given the current stance on keymaps. (fun40 is not clear it has an owner)

@drashna
Copy link
Member

drashna commented Apr 7, 2019

@zvecr in the future, feel free to tag the owners of these keymaps. That way stuff can git fixed.

@jackhumbert @skullydazed, any issues with the backlight pin addition?

@noroadsleft
Copy link
Member

noroadsleft commented Apr 7, 2019

@zvecr,

The drashna keymap is, well, @drashna's, and as I recall, he doesn't own a JJ40.

The fun40 keymap seems to have confusing providence. I think perhaps the user who contributed it deleted their GitHub account, and then someone else (or maybe the same person?) registered the same username. (The PR pre-dates the account creation.)

The issues with the krusli keymap (@krusli) do indeed seem to be my fault. I distinctly remember having a reason for that change, but heck if I can remember what it was. :(

The waples keymap was submitted by... @Waples.

@drashna,

That way stuff can git fixed.

😆

- @noroadsleft
has made similar typos on occasion

@drashna
Copy link
Member

drashna commented Apr 7, 2019

@noroadsleft correct. I don't. I do own several 4x12 ortho boards, and am using the community layout. I've fixed the issue in a branch, so it shouldn't trigger the issue in the future.

And yeah, I type git so much, "get" ends up "git" too often. And I figured it was too good to fix here. :D

@krusli
Copy link
Contributor

krusli commented Apr 8, 2019

@noroadsleft _NUMPAD was a holdover from when I was trying a numpad layer on my jj40. I’ve also since moved to having all my ortho boards share the same layout (community layouts) too.

Let me go have a look if I don’t have anything I need, or jj40 specific left in there — if so then it should be fine to just take my keymap out of the jj40 dir.

@drashna
Copy link
Member

drashna commented Apr 8, 2019

Thanks!

@drashna drashna merged commit 91b18e2 into qmk:master Apr 8, 2019
danielo515 pushed a commit to danielo515/qmk_firmware that referenced this pull request May 15, 2019
* Refactor jj40 in line with current ps2avrgb template

* Disable bootmagic lite as it seems to not work on atmega32a/bootloadHID

* Add backlight pwm bodge till qmk#4324 lands

* Increase planck keymap compatibility
shimesaba-type0 pushed a commit to shimesaba-type0/qmk_firmware that referenced this pull request Jun 22, 2019
* Refactor jj40 in line with current ps2avrgb template

* Disable bootmagic lite as it seems to not work on atmega32a/bootloadHID

* Add backlight pwm bodge till qmk#4324 lands

* Increase planck keymap compatibility
Timbus pushed a commit to Timbus/qmk_firmware that referenced this pull request Jun 23, 2019
* Refactor jj40 in line with current ps2avrgb template

* Disable bootmagic lite as it seems to not work on atmega32a/bootloadHID

* Add backlight pwm bodge till qmk#4324 lands

* Increase planck keymap compatibility
@zvecr zvecr deleted the feature/jj40_refactor branch April 28, 2020 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants