Code Monkey home page Code Monkey logo

Comments (6)

DreymaR avatar DreymaR commented on June 26, 2024

The Special: NumLock key should have ordinary scan code (00_45). I can confirm that 'Type a key' incorrectly(?) registers my NumLock to as Special: € (E0_45).

Looks like some kind of bug?

from sharpkeys.

randyrants avatar randyrants commented on June 26, 2024

Some questions:

  • What keyboard layout is being used? I see a call out that de-DE is being used for locale, but in what sense? Display, input, keyboard layout? Each setting is different and may impact the app.
  • Does the key remap correctly? I mean, I get it says euro, but if you remap it to something else, does it work anyway?
  • What happens if you select Num_Lock from the list of characters when setting up a remapping?

Thanks!

from sharpkeys.

nummacway avatar nummacway commented on June 26, 2024

By locale, I mean the Windows region and display language. The software-side keyboard layout is German as well. There are only two physical keyboard layouts in the world, ANSI and ISO, of which I used the latter on all my computers I tested. Except for very cheap imports and some cheap laptops, European keyboards are always ISO.
I gave all other details in my OP.

from sharpkeys.

randyrants avatar randyrants commented on June 26, 2024

Thanks for the additional info; I also, re-read the OP, as I missed the answers to the bottom two questions.

My guess here is that the keyboard layout is translating the scancode somewhere in the Windows stack before it gets passed to SharpKeys. I've seen this happen, where I've connected a ja-JP or en-GB keyboard to a PC running en-US language/keyboard and it gets interesting, because it can vary. There are times when they key will respond based off its location, other times when it gives you what's on the label of the key, and other times when it just ignores you (because there's no en-US key equivalent, like the Kana key.) It's really, really messy when trying to code, because [ {, ] }, and /? are all over the place.

Not much I can do with this one, as I do not have the resources to try to shift the labels of the scancodes to map to the local keyboard changes, so I can't try that. It took at least 6 years before I got my hands on a keyboard with Alt+Gr to test some early attempts at mapping , but if people wanted to fork the codebase, they could start localizing it on their own.

Only other thing I could think to do is select the 00_45 by hand and export the Scancode Layout from the Registry for future use. If you always remap that key on every machine you touch, it's a lot easier than installing the app and setting the UI each time. I don't think I've run SharpKeys to remap my keys in a couple of years :)

HTH!

from sharpkeys.

nummacway avatar nummacway commented on June 26, 2024

If you still have the British one, that one should be ISO, which means it has a two-row Return key (L-shape) and an additional key between LShift and Z. I do not have an ANSI keyboard at hand, because Europeans can't create XML files with an ANSI one.

from sharpkeys.

DreymaR avatar DreymaR commented on June 26, 2024

There are only two physical keyboard layouts in the world, ANSI and ISO, [...].

Oh no, that's wrong. There are Western form factors that adhere to neither standard (although they use the same scan code set), and there is the JIS for instance.

https://deskthority.net/wiki/ANSI_vs_ISO

European keyboards are always ISO.

Also wrong. The Czech Republic and Poland are counterexamples. I think it holds true for Western and Northern Europe, though.

Please don't claim falsehoods overconfidently.

Europeans can't create XML files with an ANSI one.

This one is also not entirely true. You're assuming that all European layouts have the <> symbols on their ISO key, which doesn't hold. Also, Europeans may easily use another system keyboard layout to produce these symbols, in addition to programs that let you type whatever you like with any underlying OS layout.

from sharpkeys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.