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

RK #23559

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

RK #23559

wants to merge 9 commits into from

Conversation

sdk66
Copy link

@sdk66 sdk66 commented Apr 19, 2024

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: 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 Apr 19, 2024
Remove redundant keyboards
Copy link

github-actions bot commented Jun 4, 2024

Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with bug, awaiting review, breaking_change, in progress, or on hold to prevent the issue from being re-flagged.

@github-actions github-actions bot added the stale Issues or pull requests that have become inactive without resolution. label Jun 4, 2024
keyboards/rk/rk839/readme.md Outdated Show resolved Hide resolved
keyboards/rk/rk839/info.json Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the stale Issues or pull requests that have become inactive without resolution. label Jun 13, 2024
@tzarc tzarc marked this pull request as draft June 13, 2024 05:39
@tzarc
Copy link
Member

tzarc commented Jun 13, 2024

Move to Draft as no wireless code has been provided.

@sdk66
Copy link
Author

sdk66 commented Jun 13, 2024

移至草稿,因为未提供无线代码。

First of all, I'm sorry, now the keyboard I use is a wired, the wireless circuit part on the PCB is not referenced, this keyboard is a pure wired keyboard, and there is no wireless part

@sdk66
Copy link
Author

sdk66 commented Jun 13, 2024

移至草稿,因为未提供无线代码。

Now the modified PCB looks like this。I'm sorry for the inconvenience and thank you for your correction
1718258987808

@tzarc
Copy link
Member

tzarc commented Jun 13, 2024

You'll have to forgive my reluctance to believe you, but 5 hours ago you posted a wireless keyboard PCB screenshot, and now, once told that you need to provide wireless sources, the wireless portion has magically disappeared.

As per the PR checklist:


Wireless-capable boards:

  • Given license abuse from vendors, QMK does not accept any vendor PRs for wireless- or Bluetooth-capable keyboards without wireless and/or Bluetooth code
    • Historically, vendors have done this in bad faith in order to attain downstream VIA compatibility with no intention of releasing wireless sources
    • QMK's license, the GPL2+, requires full source disclosure for any distributed binary -- including full sources for any keyboard shipped by vendors containing QMK and/or firmware-side VIA code
    • If a vendor's wireless-capable keyboard PR submission is lacking wireless capability, then the PR will be left on-hold and unmergeable until wireless bindings are provided
    • If a vendor's wireless-capable keyboard is merged into QMK before it's known that the board is wireless, then all existing and future PRs from the same vendor will be put on hold until wireless bindings for the offending keyboard are provided

So, with that in mind, once released is this a wired-only, or wireless keyboard?

keyboards/rk/rk839/info.json Outdated Show resolved Hide resolved
Comment on lines 7 to 8
gpio_set_pin_output(A5);
gpio_write_pin_high(A5);
Copy link
Member

Choose a reason for hiding this comment

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

Please explain the purpose of A5.

Copy link
Author

Choose a reason for hiding this comment

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

Please explain the purpose of A5.
Now this A5 pin is used to control the switch of the LED light

Copy link
Member

Choose a reason for hiding this comment

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

This file should be named keyboard.json.

Copy link
Author

Choose a reason for hiding this comment

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

Thank you for your advice

keyboards/rk/rk839/rules.mk Outdated Show resolved Hide resolved
{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"matrix": [0, 14], "x": 15, "y": 0},
Copy link
Contributor

@dunk2k dunk2k Jun 13, 2024

Choose a reason for hiding this comment

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

Looking at references/images provided, this key doesn't exist. Can this line, of code, be removed to match references?

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the suggestion, I tried to remove the extra keystrokes

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{"matrix": [0, 14], "x": 15, "y": 0},

Copy link
Author

Choose a reason for hiding this comment

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

Do you need to delete this line?

Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to delete this line?

Yes please, as this key doesn't exist in the images you've shared

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the suggestion, I'll delete this line

是否需要删除此行?

是的,因为此键在您共享的图像中不存在

Thanks for the suggestion, I'll delete this line

@sdk66
Copy link
Author

sdk66 commented Jun 13, 2024

你必须原谅我不愿意相信你,但 5 小时前你发布了无线键盘 PCB 截图,现在,一旦被告知你需要提供无线源,无线部分就神奇地消失了。

根据 PR 清单:

支持无线的板:

  • 鉴于供应商滥用许可证,QMK 不接受任何没有无线和/或蓝牙代码的无线或蓝牙键盘的供应商 PR
    • 从历史上看,供应商这样做是出于恶意,以实现下游VIA兼容性,而无意发布无线源
    • QMK 的许可证 GPL2+ 要求对任何分布式二进制文件进行完整的源代码披露——包括供应商提供的任何包含 QMK 和/或固件端 VIA 代码的键盘的完整源代码
    • 如果供应商的无线键盘 PR 提交缺少无线功能,则 PR 将处于暂停状态且不可合并,直到提供无线绑定
    • 如果供应商的无线键盘在知道主板是无线的之前合并到 QMK 中,则同一供应商的所有现有和未来 PR 都将被搁置,直到为有问题的键盘提供无线绑定

因此,考虑到这一点,一旦发布,这是纯有线键盘还是无线键盘?

This is a pure wired keyboard,There won't be any wireless functionality.,

{"matrix": [0, 11], "x": 11, "y": 0},
{"matrix": [0, 12], "x": 12, "y": 0},
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
{"matrix": [0, 14], "x": 15, "y": 0},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{"matrix": [0, 14], "x": 15, "y": 0},

{"matrix": [1, 11], "x": 11.5, "y": 1},
{"matrix": [1, 12], "x": 12.5, "y": 1},
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
{"matrix": [1, 14], "x": 15, "y": 1.25},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
{"matrix": [1, 14], "x": 15, "y": 1.25},
{"matrix": [1, 14], "x": 15, "y": 1},

1.修改info.json的名字为keyboard.json
2.删除rules.mk文件
3.删除keyboard.json的169行
Copy link
Contributor

@dunk2k dunk2k left a comment

Choose a reason for hiding this comment

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

removed keycode from non-existent key position; fixes CI Build failure

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT( /* Base */
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE,
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT( /* Base */
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MUTE,
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,

@tzarc tzarc mentioned this pull request Jun 13, 2024
14 tasks
keyboards/rk/rk839/rk839.c Outdated Show resolved Hide resolved
@sdk66
Copy link
Author

sdk66 commented Jul 9, 2024

We currently have two firmware versions: one is the QMK wired firmware, and the other is our self-developed tri-mode firmware. We do not know how to develop a QMK tri-mode keyboard. This keyboard uses the QMK firmware for wired functionality and does not have wireless capabilities. The wireless functionality is provided by a separately developed firmware that is not based on QMK。I apologize for any confusion caused and wish you a pleasant life。

@tzarc
Copy link
Member

tzarc commented Jul 9, 2024

Does the tri-mode support VIA?

@sdk66
Copy link
Author

sdk66 commented Jul 9, 2024

Does the tri-mode support VIA?

Of course, it is not supported. The current keyboard uses wired QMK firmware, and the tri-mode solution is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid keyboard keymap needs-wireless-code 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