lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 11 Nov 2008 18:27:42 +0100 (CET)
From:	Jiri Kosina <jkosina@...e.cz>
To:	Henrik Rydberg <rydberg@...omail.se>
cc:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] input: Map missing keys to appropriate functions

On Tue, 4 Nov 2008, Henrik Rydberg wrote:

> On macbooks there are specific keys for the user-space functions Expose
> and Dashboard, which currently has no counterpart in input.h. This patch
> adds KEY_SCALE and KEY_DASHBOARD, and maps the keyboard accordingly.
> Signed-off-by: Henrik Rydberg <rydberg@...omail.se>
> ---
>  drivers/hid/hid-apple.c |    5 +++--
>  include/linux/input.h   |    2 ++
[ ... ]
> diff --git a/include/linux/input.h b/include/linux/input.h
> index b86fb55..5341e82 100644
> --- a/include/linux/input.h
> +++ b/include/linux/input.h
> @@ -238,6 +238,7 @@ struct input_absinfo {
>  #define KEY_KPEQUAL		117
>  #define KEY_KPPLUSMINUS		118
>  #define KEY_PAUSE		119
> +#define KEY_SCALE		120	/* AL Compiz Scale (Expose) */
> 
>  #define KEY_KPCOMMA		121
>  #define KEY_HANGEUL		122
> @@ -322,6 +323,7 @@ struct input_absinfo {
>  #define KEY_PAUSECD		201
>  #define KEY_PROG3		202
>  #define KEY_PROG4		203
> +#define KEY_DASHBOARD		204	/* AL Dashboard */
>  #define KEY_SUSPEND		205
>  #define KEY_CLOSE		206	/* AC Close */
>  #define KEY_PLAY		207

Dmitry, could you please Ack this? Is it OK if I take it through my tree, 
together with the hid-apple mapping update? Thanks.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ