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 » U++ Library support » U++ Core » Problem with some keyboard keys
Problem with some keyboard keys [message #43860] Tue, 11 November 2014 16:49 Go to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
In addition to this, I would substitute GuiPlatformGetKeyDesc() hexadecimal codes with real defines like VK_OEM_PLUS in Windows or GDKEY(plus) in Linux, and include all GuiPlatformGetKeyDesc() in GetKeyDesc().

For example in Windows version of GuiPlatformGetKeyDesc(), it appears {0x100bb, "[=]"}. However it corresponds to VK_OEM_PLUS that is '+' key.

Mirek, if you want I can propose an implementation.


Best regards
Iñaki
Re: Problem with some keyboard keys [message #43868 is a reply to message #43860] Wed, 12 November 2014 11:20 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13639
Registered: November 2005
Ultimate Member
OK. The only problem: GDK/Win are not the only supported platforms. At least we would need raw X11, ideally also SDL (currently in rainbow) and Turtle.

Mirek
Re: Problem with some keyboard keys [message #43873 is a reply to message #43868] Wed, 12 November 2014 12:47 Go to previous message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Perfect. Added in Redmine here.

Best regards
Iñaki

[Updated on: Wed, 12 November 2014 12:49]

Report message to a moderator

Previous Topic: Missing GetTickCount64
Next Topic: Stack tracing
Goto Forum:
  


Current Time: Wed Jun 29 12:59:29 CEST 2022

Total time taken to generate the page: 0.01366 seconds