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

Sequences don't allow repeated characters #6

Open
littletinyfish opened this issue Jul 6, 2018 · 0 comments
Open

Sequences don't allow repeated characters #6

littletinyfish opened this issue Jul 6, 2018 · 0 comments

Comments

@littletinyfish
Copy link

I'm trying to create a sequence that quickly renders Unicode characters. Since the KLL/USB spec doesn't allow Unicode, I've set up sequences for the ones I use most often.

For instance I've assigned Layer 3 > Key C to the sequence 0169. When I hold fn3+Alt and hit C it gives me ©.

#Configurator code:
U"C" : U"P0" , U"P1" , U"P6" , U"P9";  # Copyright.

However, certain alt codes require repeated characters, which do not seem to register. The horizontal ellipsis, for instance:

#Configurator code:
U"X" : U"P0" , U"P1" , U"P3" , U"P3";  # Horizontal Ellipsis
U"X" : U"P0" , U"P1" , U"P3" , U[91];  # Tried faking it by using a different format key code.

When this sequence runs, it should output 0133. Instead, it outputs 013.

These alt codes specifically require numpad keys, so a normal number string doesn't work.

#Configurator code:
U"X" : '0133';

I tested it with sequences that contained non-sequentially-repeated characters and it ran just fine.

U"A" : U"A", U"B", U"A"; output "aba" as expected.

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