Skip to contentSkip to conversation

fixing hidp keycodes

Bluez-devel Guylhem Aznar 2 participants 2 messages Apr 21, 2005 – Apr 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Guylhem,

Quoted 6 lines

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.

Quoted 2 lines

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