Hi,
cmd-y does undo and cmd-z does redo under MacOSX using a german keyboard. The y-key and the z-key work as expected when pressed without pressing cmd simultaneously.
Best,
Holger
Stranica: 1/1.
HBu
8.5 years ago
- HBu
- Postovi: 5
Nate
I have an NSEvent and I use the keyCode. This is a hardware specific scan code for the physical location of the key. For OS X I don't see any sane way to convert this scan code into a virtual key code, which is the meaning of the scan code given the users keyboard layout (QWERTY, AZERTY, etc). Eg, Windows has MapVirtualKey to convert a scan code to a virtual key code. I can't find a way to do it in OS X, so unfortunately I can't fix it there.
8.5 years ago
-
Nate - Postovi: 11855
Nate
Actually I was wrong, I misread the docs for keyCode. keyCode is already the device independent code, not a scan code. GLFW is converting the keyCode to a psuedo scan code, which I disagree with as being the right thing to do. You can see the discussion here:
https://github.com/glfw/glfw/issues/114 ... t-23227736
https://github.com/glfw/glfw/issues/114 ... t-23227736
8.5 years ago
-
Nate - Postovi: 11855
Mark topic unread
• Stranica: 1/1.
Natrag na Bugs
- Vremenska zona: UTC