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

Adding K30 Support #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Adding K30 Support #3

wants to merge 2 commits into from

Conversation

suranc
Copy link

@suranc suranc commented Oct 23, 2018

This branch will add K30 support to this tool. I've tested each feature and they all work, including setting hardware macros G1-6. The only exception is testing the SW macro mode, since I'm not sure how to verify that.

Copy link
Owner

@cvuchener cvuchener left a comment

Choose a reason for hiding this comment

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

If the K30 is the same as the K40, simply add its ID in the K40Device set. Otherwise, don't copy the part that don't apply.

The only exception is testing the SW macro mode, since I'm not sure how to verify that.

In SW mode, the keyboard should send the special keycode when a G-key is pressed instead of the saved macro.

SetBacklightColorMode = 56,
SetBacklightAnimation = 49,
DoCycleAnimation = 52,
};
Copy link
Owner

Choose a reason for hiding this comment

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

You are not using most of those. Are you sure about the request codes, or is it just copied from the K40 codes?

uint8_t unk3;
uint8_t color_mode;
} __attribute__ ((packed));
};
Copy link
Owner

Choose a reason for hiding this comment

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

Same here. You don't use the color parts and they looks copied from the K40 status.

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

Successfully merging this pull request may close these issues.

2 participants