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 Skyloong Gk104 q1 ansi keyboard #23256

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from

Conversation

NaturalZh
Copy link

Create a skyloong gk104 q1 ansi keyboard

Description

The Skyloong GK104 Q1 keyboard is an RGB matrix keyboard with LED digital display.

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 Mar 11, 2024
keyboards/skyloong/gk104/q1/ansi/rules.mk Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/config.h Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/config.h Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/info.json Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/config.h Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/info.json Show resolved Hide resolved
keyboards/skyloong/gk104/q1/q1.c Show resolved Hide resolved
keyboards/skyloong/gk104/q1/matrix.c Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/matrix.c Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/mcuconf.h Outdated Show resolved Hide resolved
# define WIN_LOCK_INDEX 93
# define CAPS_LOCK_INDEX 58
# define SCR_LOCK_INDEX 14
# define SDB B5
Copy link
Member

Choose a reason for hiding this comment

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

Why is this mapping the same pin as AW20216S_EN_PIN? It doesnt look to add any value and all references should probably be removed.

Copy link
Member

Choose a reason for hiding this comment

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

Please don't resolve the conversation if the issue hasn't actually been addressed.

SDB looks like it should be removed.

Suggested change
# define SDB B5

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.

it looks like you have a lot of duplicate code here. A lot of it could and really should be de-duplicated.

# define WIN_LOCK_INDEX 93
# define CAPS_LOCK_INDEX 58
# define SCR_LOCK_INDEX 14
# define SDB B5
Copy link
Member

Choose a reason for hiding this comment

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

Please don't resolve the conversation if the issue hasn't actually been addressed.

SDB looks like it should be removed.

Suggested change
# define SDB B5

keyboards/skyloong/gk104/q1/led_hc595.c Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/led_hc595.c Outdated Show resolved Hide resolved
keyboards/skyloong/gk104/q1/matrix.c Outdated Show resolved Hide resolved
NaturalZh and others added 21 commits April 3, 2024 11:29
OK, Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, I see.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, I see.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, I see. Thank you very much.

Co-authored-by: Joel Challis <git@zvecr.com>
Yes, SPI1 didn`t be used. Thank you.

Co-authored-by: Joel Challis <git@zvecr.com>
OK, Thank you.

Co-authored-by: Drashna Jaelre <drashna@live.com>
OK, Thank you.

Co-authored-by: Drashna Jaelre <drashna@live.com>
@NaturalZh
Copy link
Author

What can I do for this PR else ?

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

3 participants