2005-04-21 22:03:05

by Guylhem Aznar

[permalink] [raw]
Subject: [Bluez-devel] fixing hidp keycodes

Hello

I'm trying to replace hidp keycodes for a dell axim bluetooth keyboard
with has conflicting keycodes with my zaurus internal keys.

I tried to change the keycodes in hidp/core.c - However looks like my
modifications are only half applied, certainly due to a stupid
mistake.

How could I easily syslog the keycode from hidp_keycodes[] array being
sent to the input layer ?

--=20
Bien =E0 vous - Best regards,
Guylhem P. Aznar

--=20
*@externe.net http://externe.n=
et
P=E9rim=E9/Deprecated: @oeil.qc.ca, @metalab.unc.edu, @ibiblio.org, @7=
un.org
GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubk=
ey


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-04-22 10:16:27

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] fixing hidp keycodes

Hi Guylhem,

> I'm trying to replace hidp keycodes for a dell axim bluetooth keyboard
> with has conflicting keycodes with my zaurus internal keys.
>
> I tried to change the keycodes in hidp/core.c - However looks like my
> modifications are only half applied, certainly due to a stupid
> mistake.

do you applied the -mh patch? If yes, then you device may run in report
mode and thus hidp_keycodes[] is not used, because it is boot mode only.

> How could I easily syslog the keycode from hidp_keycodes[] array being
> sent to the input layer ?

Use things like printk() or BT_ERR().

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel