[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Powerbook5,8: function keys not working



Hello Mich

On Fri, Jan 20, 2006 at 12:57:04AM +0100, Mich Lanners wrote:
> Are you sure the patch I'm using already does that? I use the older one
> (patchwork.ozlabs.org/linuxppc/patch?id=3856).

Please try 2.6.16-rc1. It has the latest patch.

> What is the KEY_FN code? 0x1d0?

Yes.

> What is the difference between key-down and key-up? I thought the
> highest bit is set; but what about multi-byte sequences or keycodes
> above 127?

The kernel doesn't use a u8 to store the keys, but an int. You can use
evtest.c (search for it with your favourite search machine) to see the
events directly.

Greets,
Michael

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amsterdam
Linux Symposium)

Attachment: pgp3WswZ90GrT.pgp
Description: PGP signature


Reply to: