Oberon Community Platform Forum
October 16, 2019, 02:40:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Window.KeyEvent  (Read 3055 times)
sage
Full Member
***
Posts: 170



WWW
« on: June 29, 2011, 05:24:11 AM »

Hi guys,
It seems that Window.KeyEvent works wrong under latest WinAos.
Key releasing events occurs as it should be, and 0 bit in flags equal to 1, telling that it's the key release event.
But, it's impossible to know what actually the key was released, because in that case ucs is always equal 0 and keysym is always equal 16777215 Huh
See attached project, press some arrow keys.

* Raycaster.zip (35.87 KB - downloaded 300 times.)
« Last Edit: June 29, 2011, 05:25:45 AM by sage » Logged
sage
Full Member
***
Posts: 170



WWW
« Reply #1 on: July 05, 2011, 09:26:20 AM »

The bug exists also under A2 native  Embarrassed
Investigating the I386.Keyboard.Mod I've discovered that Keyboard.Keyboard.HandleInterrupt wrongly handles key releasing events. The only useful information that it sends as message is flags field, other fields are nulled (ch set to 0X and keysym set to Inputs.ksNil).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!