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

The layered function keys are assigned to different keys in version 0.19.2 of QMK. #751

Closed
Tracked by #14
Salicylic-acid3 opened this issue Dec 6, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@Salicylic-acid3
Copy link

最新のQMK環境で書き込んだ場合、レイヤー機能キー(例えばMO)が違うキーとして認識されるようです。
複数のキーボードのファームウェアで確認しました。
ちなみにMO(1)でCtrl、MO(2)でShiftでした。

When writing in the latest QMK environment, it seems that the layer function keys (e.g. MO) are recognized as different keys (Ctrl for MO).
I have confirmed this with multiple keyboard firmwares.
(By the way, it was Ctrl for MO(1) and Shift for MO(2).

@yswallow
Copy link

yswallow commented Dec 6, 2022

Since QMK Breaking Changes on Nov 26, 2022, keycodes except basic keycodes are changed.

It is not only the layer keys, but also RGB keys and Mouse keys.

The information of all the keys is here. https://keyboards.qmk.fm/v1/constants/keycodes_0.0.1.json

I think the keycodes version can be recognized by using get_protocol_version: 0x01 in RAW HID. If the response is 0x000A or below, send the keycodes which are used in Remap currently. If that is 0x000B, we need to send the latest keycodes. https://github.com/qmk/qmk_firmware/blob/4020674163fc80914059c4c9c3be5c0ae00bd150/quantum/via.h#L61

@yoichiro
Copy link
Collaborator

yoichiro commented Dec 7, 2022

@yswallow @Salicylic-acid3 Thank you for the reporting. Well, this change is so large impact against Remap. Probably, Remap can't switch a key code structure depending on the VIA protocol version, because there is no matter between the VIA protocol version and the QMK revision, I guess. Anyway, I intend to understand the detail of the change as the first approach.

@yoichiro yoichiro self-assigned this Dec 7, 2022
@yoichiro yoichiro added the enhancement New feature or request label Dec 7, 2022
@yoichiro
Copy link
Collaborator

yoichiro commented Dec 7, 2022

@yswallow I have one question. Do you know how to generate the keycodes_0.0.1.json?

@yswallow
Copy link

yswallow commented Dec 7, 2022

I don’t know. I found this URL on QMK Documentation.

@JohnAZoidberg
Copy link

@yoichiro

@yswallow I have one question. Do you know how to generate the keycodes_0.0.1.json?

It's all of the files here: https://github.com/qmk/qmk_firmware/tree/master/data/constants/keycodes
merged together.

@yoichiro
Copy link
Collaborator

The new version of Remap has been released on Sep 11th, 2023. The version is supporintg QMK Firmware 0.22.2 or higher and VIA Protocol version 0x0C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants