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

Filters in the "Add New Key Mapping" dialog #333

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

Conversation

d0vgan
Copy link

@d0vgan d0vgan commented Dec 10, 2020

The "Add New Key Mapping" dialog now contains two filter edit fields that allow to see only items matching the filter

@d0vgan
Copy link
Author

d0vgan commented Dec 10, 2020

This relates to the Issue #322

@d0vgan
Copy link
Author

d0vgan commented Dec 10, 2020

It was a long time since I did something in C#, so some parts of the code may be far from perfect.
For example, I'm not sure whether it is a good idea to fill the internal lists on the Dialog_KeyItem_Shown event or not.

@giacomo483
Copy link

hi guys, i'm an italian guy wit an italian layout keyboard. your program saved my keyboard from rage but i need to map another key and this key exists only ib italian layout (the u with accent), so can you upgrade the software with miltiple layout and language please? :(( thanks for reading

@d0vgan
Copy link
Author

d0vgan commented Feb 14, 2022

i need to map another key and this key exists only in italian layout

You may try my custom build of SharpKeys 3.9.2 that reads the keys information from a file "SharpKeys.keys". Probably you can add your custom key to that file. To do that, you need to know the scan code of that key - I believe http://www.nirsoft.net/utils/keyboard_state_view.html or similar should help with that.

P.S.
Looks like it may be not easy to retrieve a scan code of a desired key. Googling for "get scan code of key pressed" gives this in particular:
https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
This does not look straightforward at all, so probably you should search for "scan codes for italian keyboard" ( e.g. this: http://kbdlayout.info/KBDIT/scancodes+names ) or similar.

SharpKeys_3_9_2.zip

@d0vgan d0vgan force-pushed the feature/filtering_key_mapping branch 2 times, most recently from 90c066e to 1c84319 Compare February 15, 2022 09:10
@d0vgan d0vgan force-pushed the feature/filtering_key_mapping branch from 15c5b8e to 4750db4 Compare February 15, 2022 10:08
@ghost
Copy link

ghost commented Mar 20, 2022

Here is the smallest scan code key reader ever. It's from 2004, freeware. No longer available in the Web, but still works. Maybe it helps. It's a exe file for Windows. I use it for years.

At first start a Virus scan, but it should be clean.

No installation needed. Just start it.

TastenTest

Copy link

@Aedd9m Aedd9m left a comment

Choose a reason for hiding this comment

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

d0vgan:feature/filtering_key_mapping

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.

3 participants