Hi, I've been thinking about the fn key a bit more -- I mapped it to control_r which is just a hack and I wanted to change that. So I decided to map it to KEY_FN instead, which almost works. I have a patch for pbbuttonsd to accept fn as another modifier, so that's ok. The question now is how I can get X to notice this key. I think the problem is that with the fn key generating KEY_FN, showkey shows: 0x00 0x83 0xd0 (up) 0x80 0x83 0xd0 (down) whereas, for example, with the ctrl key, it only shows: 0x1d (up) 0x9d (down) xev doesn't show anything at all when I press this key. Is it possible to convince X that keys with keycodes > 255 exist? Then I could map it to some modifier there and be happy with a less hacky implementation :) Or does X just ignore that? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part