Laptop Function key (KEY_FN) not recognized by XWindows

From
Rakesh Iyer <hidden>
Date
2011-02-05 01:05:52
Hi All.

I am writing a Keyboard driver where the Function key (as seen in Laptop) is used as a modifier.
In my driver I have used "KEY_FN"(from include/linux/input.h) as the keycode for this key.

When I run "xev" the key press events do not get detected.
If I modify the keycode to say KEY_MEDIA, "xev" does show the event properly.

I am wondering how to go about getting this key detected and processed by XWindows.

Thanks and Regards
Rakesh
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Thread (3 messages) 3 messages, 2 authors, last reply 2011-02-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help