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 uzu42 keyboard #6842

Merged
merged 49 commits into from
Oct 16, 2019
Merged

Add uzu42 keyboard #6842

merged 49 commits into from
Oct 16, 2019

Conversation

nrtkbb
Copy link
Contributor

@nrtkbb nrtkbb commented Sep 30, 2019

Description

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

@drashna
Copy link
Member

drashna commented Sep 30, 2019

Could this be converted over to Split Common, so that it's not using custom split keyboard code?
There are a couple of PRs open that go over how to do this.
For instance: #6260

Additionally, you may want to use OLED driver instead of the custom ssd1306 implementation, as it it much more feature rich (includes options like rotating the screen 90 degrees). As well as move most of the OLED code into the keymap, rather than having a "lib" full of files that do that?
https://docs.qmk.fm/#/feature_oled_driver

@drashna drashna requested a review from a team September 30, 2019 18:04
keyboards/uzu42/rev1/config.h Outdated Show resolved Hide resolved
keyboards/uzu42/rev1/rev1.h Outdated Show resolved Hide resolved
keyboards/uzu42/rev1/rev1.h Outdated Show resolved Hide resolved
keyboards/uzu42/rules.mk Outdated Show resolved Hide resolved
keyboards/uzu42/rules.mk Outdated Show resolved Hide resolved
keyboards/uzu42/rules.mk Outdated Show resolved Hide resolved
keyboards/uzu42/rules.mk Outdated Show resolved Hide resolved
keyboards/uzu42/rules.mk Show resolved Hide resolved
keyboards/uzu42/rules.mk Outdated Show resolved Hide resolved
keyboards/uzu42/config.h Outdated Show resolved Hide resolved
@nrtkbb
Copy link
Contributor Author

nrtkbb commented Oct 1, 2019

Could this be converted over to Split Common, so that it's not using custom split keyboard code?
There are a couple of PRs open that go over how to do this.
For instance: #6260

Additionally, you may want to use OLED driver instead of the custom ssd1306 implementation, as it it much more feature rich (includes options like rotating the screen 90 degrees). As well as move most of the OLED code into the keymap, rather than having a "lib" full of files that do that?
https://docs.qmk.fm/#/feature_oled_driver

I tried to apply the reference modification, but the key input and the backlight LED became very unstable, so I reverted.
I just started learning about QMK, so I didn't know the cause. I'm sorry.

nrtkbb and others added 6 commits October 2, 2019 01:31
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-Authored-By: fauxpark <fauxpark@gmail.com>
@nrtkbb
Copy link
Contributor Author

nrtkbb commented Oct 2, 2019

@drashna
May I ask a question?
Is it possible to perform key input normally without connecting the OLED module with OLED_DRIVER_ENABLE = yes set?

@nrtkbb nrtkbb requested a review from drashna October 3, 2019 11:15
Copy link
Member

@drashna drashna left a comment

Choose a reason for hiding this comment

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

Honestly, I'd really like to see the OLED code moved out of the lib folder, and thrown into the keymap.c folder.

This way, it's still present and available, but users can copy the kemap and customize it much more easily.

@nrtkbb nrtkbb requested a review from drashna October 6, 2019 09:42
@nrtkbb
Copy link
Contributor Author

nrtkbb commented Oct 6, 2019

@drashna
Thank you for your re-review and explaining!
I tried to fix it.

Copy link
Member

@drashna drashna left a comment

Choose a reason for hiding this comment

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

Looks good for the most part.

However, the only issue I have still, is the lib folder.

IMO, those files should be removed completely and the code in them moved to the keymap.c.

@nrtkbb
Copy link
Contributor Author

nrtkbb commented Oct 14, 2019

@drashna
Thank you for your re-review again!
I tried to fix it.

@nrtkbb nrtkbb requested a review from drashna October 15, 2019 10:45
Copy link
Member

@drashna drashna left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@drashna drashna merged commit 9b07098 into qmk:master Oct 16, 2019
ripxorip pushed a commit to ripxorip/qmk_firmware that referenced this pull request Dec 3, 2019
* initial commit

* OLEDに表示するロゴをuzuのものに差し替えた

* delete undefault keymaps

* delete info.json

* delete pro_micro.h

* remove USE_Link_Time_Optimization check

* Moved constant defined for each keymap.c to rev1.h

* update layer_state_reader.c

* Rename Uzu42 to uzu42

* remove bootloader.h include

* LAYOUT_kc to LAYOUT

* delete keymap level rules.mk

* update readme.md

* remove persistent_default_layer_set function.

* try refactor to use split_common and use OLED driver

* Revert "try refactor to use split_common and use OLED driver"

This reverts commit 5a9afce.

* Update keyboards/uzu42/rev1/config.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rev1/rev1.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rev1/rev1.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Remove lines already defined in QMK

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* replaced comment block

* Update keyboards/uzu42/config.h

Co-Authored-By: Drashna Jaelre <drashna@live.com>

* Revert "Revert "try refactor to use split_common and use OLED driver""

This reverts commit a784921.

* fix setting for RGBLED

* The default of OLED_DRIVER_ENABLE has been changed to no.

* Delete unuse block.

* Remove unnecessary keycode definitions.

* Remove unuse custom keycode.

* Remove not needed code.

* Remove not called code.

* Remove code overwritten by the core.

* Remove LAYOUT_kc macro.

* Moved the definition of the layer block to keymap.c.

* Removed unuse variable.

* Remove code overwritten by the core too.

* incorporate layer changes

* Moved src rule to keymap from rev1.

* Removed rgb_state_reader.c from lib folder and the code move to the keymap.c

* Removed layer_state_reader.c from lib folder and the code move to the keymap.c

* Removed logo_reader.c from lib folder and the code move to the keymap.c

* Removed keylogger.c from lib folder and the code move to the keymap.c

* Moved glcdfont_uzu42.c from lib folder to the default keymaps folder.

* Removed unused files.
HokieGeek pushed a commit to HokieGeek/qmk_firmware that referenced this pull request Feb 21, 2020
* initial commit

* OLEDに表示するロゴをuzuのものに差し替えた

* delete undefault keymaps

* delete info.json

* delete pro_micro.h

* remove USE_Link_Time_Optimization check

* Moved constant defined for each keymap.c to rev1.h

* update layer_state_reader.c

* Rename Uzu42 to uzu42

* remove bootloader.h include

* LAYOUT_kc to LAYOUT

* delete keymap level rules.mk

* update readme.md

* remove persistent_default_layer_set function.

* try refactor to use split_common and use OLED driver

* Revert "try refactor to use split_common and use OLED driver"

This reverts commit 5a9afce.

* Update keyboards/uzu42/rev1/config.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rev1/rev1.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rev1/rev1.h

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Remove lines already defined in QMK

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/uzu42/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* replaced comment block

* Update keyboards/uzu42/config.h

Co-Authored-By: Drashna Jaelre <drashna@live.com>

* Revert "Revert "try refactor to use split_common and use OLED driver""

This reverts commit a784921.

* fix setting for RGBLED

* The default of OLED_DRIVER_ENABLE has been changed to no.

* Delete unuse block.

* Remove unnecessary keycode definitions.

* Remove unuse custom keycode.

* Remove not needed code.

* Remove not called code.

* Remove code overwritten by the core.

* Remove LAYOUT_kc macro.

* Moved the definition of the layer block to keymap.c.

* Removed unuse variable.

* Remove code overwritten by the core too.

* incorporate layer changes

* Moved src rule to keymap from rev1.

* Removed rgb_state_reader.c from lib folder and the code move to the keymap.c

* Removed layer_state_reader.c from lib folder and the code move to the keymap.c

* Removed logo_reader.c from lib folder and the code move to the keymap.c

* Removed keylogger.c from lib folder and the code move to the keymap.c

* Moved glcdfont_uzu42.c from lib folder to the default keymaps folder.

* Removed unused files.
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.

5 participants