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

I have numerous problems with the layout. #57

Open
Miko4 opened this issue Oct 30, 2014 · 0 comments
Open

I have numerous problems with the layout. #57

Miko4 opened this issue Oct 30, 2014 · 0 comments

Comments

@Miko4
Copy link

Miko4 commented Oct 30, 2014

Hi, I have some problems with this firmware.

To refer to the Keys, I use this chart: https://imgur.com/23oq21M

How do I add a Key that activates a layer? What I did so far:

  • The symbol in _kb_layout seems irrelevant, but replace it with something meaningful to keep track.
  • Add a pointer to _kbfun_layer_push_N in _kb_layout_press.
  • Add a pointer to _kbfun_layer_pop_N in _kb_layout_release.
    I want Key K02 in the diagram to enter Layer 1, and leave it if i release the key. So far I only toggles it.

Also kbfun_transparent seems to get in my way. I do not see why one would want such a function, but fine, I replaced it with kbfun_press_release. Yet, some strange things happen I suspect to be related with that.

K0A and K39 on layer 1 are mapped to backspace. However, only K39 actually produces a backspace. K0A produces Spaces, as on layer 0. I can't figure out why.

On Layer 1 The left half is a flipped version of the right half. That works for most keys just fine. However key k42, that should produce a "o", does produce a "shiftL + o" and so a captial "o", and I don't know why.

keys K20 and KD2 do behave like shift keys, and this is intended behavior. However that does not make sense to me, as they are mapped to kbfun_2_keys_capslock_press_release rather than to kbfun_shift_press_release. I'd like to map key K2D on layer 2 to shift lock, how do I do this?

Here is my C-Source code: https://gist.github.com/Miko4/974c2ecc5bda0becb5bd

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

No branches or pull requests

1 participant