这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@flauntingspade4
Copy link

Does as the title says, to make conversions easier-it's possible some of the conversions are incorrect, or map to the wrong char

@Narsil
Copy link
Owner

Narsil commented Jan 31, 2021

Sorry but I can't accept this PR.

Key are physical keys, they do NOT correspond to char by any means. The only way you can retrieve some String output linked to those keys is going through OS specific objects Keyboard that actually contain the logic to detect the output

@Narsil Narsil closed this Jan 31, 2021
@Narsil
Copy link
Owner

Narsil commented Jan 31, 2021

If you want to go in reverse and see which keys you need to press in order to get some String output, currently there is no other way than trying all different key combinations and maintaining a map. And even then, you need ot be careful if you user switchers layout at some point.

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