On Fri, Oct 21, 2011 at 06:37:23PM -0700, Jason Gerecke wrote:
> The driver does not currently pass through KEY_* events as keyboard
> presses, and the modifications to make it do so are outside the
> scope of this patch set. Until the driver is patched to change this
> oddity, we treat the three KEY_* the 24HD sends from the kernel the
> same as BTN_* events.

I'd say we'll just wait until the driver is patched properly. Putting a
temporary solution in place is almost always bad. Once people start using
it, you end up having to support both.


Cheers,
  Peter

> 
> Signed-off-by: Jason Gerecke <killert...@gmail.com>
> ---
>  src/wcmUSB.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> index c92ce41..0a9ce9b 100644
> --- a/src/wcmUSB.c
> +++ b/src/wcmUSB.c
> @@ -156,7 +156,8 @@ static unsigned short padkey_codes [] = {
>       BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z,
>       BTN_BASE, BTN_BASE2, BTN_BASE3,
>       BTN_BASE4, BTN_BASE5, BTN_BASE6,
> -     BTN_TL, BTN_TR, BTN_TL2, BTN_TR2, BTN_SELECT
> +     BTN_TL, BTN_TR, BTN_TL2, BTN_TR2, BTN_SELECT,
> +     KEY_PROG1, KEY_PROG2, KEY_PROG3
>  };
>  
>  /* Fixed mapped stylus and mouse buttons */
> -- 
> 1.7.6

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to