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

Functional LK3 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Functional LK3 #4

wants to merge 1 commit into from

Conversation

sfjuocekr
Copy link

Made LK3 reflect P/INSERT.

Not sure if insert is a meaningful key to have or another modifier is better.

The bool shift_key_pressed() routine could be changed to int mod_key_pressed() and return a non-zero value for modifier pressed.

Made LK3 reflect P/INSERT. 

Not sure if insert is a meaningful key to have or another modifier is better. 

The bool shift_key_pressed() routine could be changed to int mod_key_pressed() and return a non-zero value for modifier pressed.
const int pins[KEY_NUM] = {3, 6, 7, 8, 9, 10, 11, 12, 13, 0, 2, 3, 4, 6, 7};
const int shift_pins[SHIFT_KEY_NUM] = {1, 5};
const int pins[KEY_NUM] = {3, 6, 7, 8, 9, 10, 11, 12, 13, 0, 2, 3, 4, 5, 6, 7};
const int shift_pins[SHIFT_KEY_NUM] = {1};
Copy link
Member

@Mihaylov93 Mihaylov93 Jan 13, 2020

Choose a reason for hiding this comment

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

As its now 1 value, should be an int instead of a vector of int.

const int shift_pin = 1 for example or a #define to save bytes

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.

None yet

2 participants