All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] fixing hidp keycodes
@ 2005-04-21 22:03 Guylhem Aznar
  2005-04-22 10:16 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Guylhem Aznar @ 2005-04-21 22:03 UTC (permalink / raw)
  To: bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Bluez-devel] fixing hidp keycodes
@ 2005-04-22 10:56 Guylhem Aznar
  2005-04-22 11:10 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Guylhem Aznar @ 2005-04-22 10:56 UTC (permalink / raw)
  To: bluez-devel

Hello

Yes I did apply mh patches. I can put a copy of the kernel online if
you want to see it.

I'm not sure I understand the "report mode". Pressing on a keyboard
key after hidd --connect make the key work in applications. It's not
simply reporting.

hidp_keycode is declared locally in core.c and never used elsewhere.
input_report_key seems to send hidp_keycode[keys[i]] to the input
layer. If I printk this, I only see 0.=20

What I want to do on my strange keyboard is :
swap tab and capslock
swap capslock and esc

So I swapped 15 and 58, then 58 and 1 in the hidp_keycodes, but this
only gets me multiple esc. However, replacing keycodes 65 and 66 by 0
which where incorrectly send when pressing on a special keyboard
modifier key worked, as did swapping keycode 30 and 125 (some library
has keycode 30=3Dmodfier hardcoded in, so I had to do a workaround and
remap the a key to 125 and change the keyboard map accordingly)

This suggest that my approach should work. I don't understand why it's
not working with tab/capslock/esc.

I'm puzzled. Any suggestion is welcome.

--=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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-05 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 22:03 [Bluez-devel] fixing hidp keycodes Guylhem Aznar
2005-04-22 10:16 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-04-22 10:56 Guylhem Aznar
2005-04-22 11:10 ` Marcel Holtmann
2005-05-05 20:32   ` Guylhem Aznar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.