Help - Search - Members - Calendar
Full Version: Qkeyevent For "fn"
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Zaurus - Everything Development > OpenZaurus/Opie/Qtopia

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.

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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.