Home » Developing U++ » U++ Developers corner » How does UPP classify keys (key abstraction)
Re: How does UPP classify keys [message #54580 is a reply to message #54579] |
Mon, 17 August 2020 09:51   |
Oblivion
Messages: 1226 Registered: August 2007
|
Senior Contributor |
|
|
Hello chivstyle,
In short, it is generally better to handle the control keys before stripping the delta on all platforms (MacOS uses "platform independent values" for those keys while windows and linux use ASCII codes, such as 0x0D for K_RETURN. Thus on MacOS, the K_RETURN value is shifted with delta flag, while on Windows and Linux (and others) it is simply ASCII code 0x0d).
P.s. Since you are developing a terminal emulator, there is already a high-end terminal emulator ctrl (widget) for Upp, that can speed up your development. Have you checked it?
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 17 August 2020 09:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Aug 26 17:16:44 CEST 2025
Total time taken to generate the page: 0.05212 seconds
|