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

Backslash for hash substitution due to US and UK keyboard settings #749

Open
Optimumfireworks opened this issue Mar 18, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@Optimumfireworks
Copy link

as I'm working on a Window Pc set to eng,UK the backslash is substituted by the hash when either a single keystroke or when contained within a string

the KC codes however don't give option to use anything other than KC.BSLASH or KC.BSLS which both generate # as does using \ within strings

is there an alternative setup to allow UK selection over US as I assume this will alleviate the issue or an alternative KC. code that will generate \

@Optimumfireworks Optimumfireworks added the bug Something isn't working label Mar 18, 2023
@regicidalplutophage
Copy link
Member

regicidalplutophage commented Mar 18, 2023

KMK is built around Adafruit HID library and this library assigns names to scancodes based on how they function in US ANSI keyboard.
In short, KMK calls a certain scancode KC.BSLS, but your PC interprets this scancode as #. What KMK calls it has no bearing on how your PC interprets it.

For keys that are completely missing from US ANSI layout, which that funky key near the the left shift is, you can reference this doc.
For the rest you'd have to cross reference images of UK and US keyboard layouts.

@xs5871
Copy link
Collaborator

xs5871 commented Mar 24, 2023

Re-tagging, because it's not a bug, but a feature request for support for non US-ANSI layouts.

@xs5871 xs5871 added enhancement New feature or request and removed bug Something isn't working labels Mar 24, 2023
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

3 participants