OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Qkeyevent For "fn"
koan
post May 22 2010, 01:35 PM
Post #1





Group: Members
Posts: 328
Joined: 25-February 04
From: UK
Member No.: 2,025



Hi

What is the QKeyEvent for the Fn key as a modifier in the Sharp ROM ?

I tried checking QKeyEvent::state() == Qt::ControlButton but this didn't work.

If anyone knows I can save some time.

Thanks
Go to the top of the page
 
+Quote Post
koan
post May 23 2010, 12:53 PM
Post #2





Group: Members
Posts: 328
Joined: 25-February 04
From: UK
Member No.: 2,025



The answer is that the Fn key does not work as a modifier, at least not under the Sharp ROM. There is no QKeyEvent::state() change when you use Fn+(another key).

For the record, Fn alone has a key() value of 4165 and Fn pressed in combination with another key will generate key() values of ~ 100-200.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 12:04 PM