Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Oblivion is currently offline  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



[Updated on: Mon, 17 August 2020 09:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linking on OpenIndiana
Next Topic: [Proposition] Simply source package manager for Upp
Goto Forum:
  


Current Time: Tue Aug 26 22:02:34 CEST 2025

Total time taken to generate the page: 0.00335 seconds