On Tue, Jul 26, 2016 at 09:56:26PM -0700, Ping Cheng wrote:
> Signed-off-by: Ping Cheng <pi...@wacom.com>
> Tested-by: Kelly Price <strredw...@gmail.com>
> ---
>  tools/xsetwacom.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
> index 2f75d78..7a6e26b 100644
> --- a/tools/xsetwacom.c
> +++ b/tools/xsetwacom.c
> @@ -605,8 +605,12 @@ static struct modifier specialkeys[] = {
>  
>       {"backspace", "BackSpace"}, {"Backspace", "BackSpace"},
>  
> +     {"return", "Return"}, {"enter", "KP_Enter"},

IMO this is not a good idea. "enter" is ambiguous and mapping it
unconditionally to the keypad enter key is likely to cause confusion. imo
it's better here to leave it out and not map it, requiring the user to
specify the xkb keycode.

Cheers,
   Peter

> +
>       {"tab", "Tab"},
>  
> +     {"capslock", "Caps_Lock"},
> +
>       {"PgUp", "Prior"}, {"PgDn", "Next"},
>  
>       {"del", "Delete"}, {"home", "Home"},
> -- 
> 1.9.1
> 

------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to