All of lore.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Zhang Rui <rui.zhang@intel.com>, linux-input@atrey.karlin.mff.cuni.cz
Cc: linux-acpi@vger.kernel.org, mjg59@srcf.ucam.org,
	dmitry.torokhov@gmail.com, hmh@hmh.eng.hr, hughsient@gmail.com,
	luming.yu@intel.com
Subject: Re: [RFC] [PATCH V2 1/3] ACPI video hotkey: add new input key codes for ACPI video hotkey events
Date: Wed, 15 Aug 2007 23:16:26 -0400	[thread overview]
Message-ID: <200708152316.26433.lenb@kernel.org> (raw)
In-Reply-To: <1186780041.6830.57.camel@rzhang-asus.sh.intel.com>

Thanks for refreshing Luming's patch series, Rui.

<added linux-input list>

I have only minor feedback: on the actual key-codes.
It seems to me that we should define keys for events that are in the spec
rather than leaving two of them as UNKNOWN just because the text machine
on hand doesn't have them.


On Friday 10 August 2007 17:07, Zhang Rui wrote:
> From: Yu Luming <luming.yu@intel.com>
> 
> Add keycode for ACPI video hotkey event.
> 
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
>  include/linux/input.h |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> Index: linux-2.6.23-rc2/include/linux/input.h
> ===================================================================
> --- linux-2.6.23-rc2.orig/include/linux/input.h
> +++ linux-2.6.23-rc2/include/linux/input.h
> @@ -553,6 +553,11 @@ struct input_absinfo {
>  #define KEY_BRL_DOT7		0x1f7
>  #define KEY_BRL_DOT8		0x1f8
>  
> +#define KEY_VIDEO_NEXT		0x1f9
> +#define KEY_VIDEO_PREV		0x1fa
> +#define KEY_BRIGHTNESS_ZERO	0x1fb
> +#define KEY_BRIGHTNESS_OFF	0x1fc
> +

should we also define KEY_VIDEO_CYCLE_MODE?
(though i'm not sure, exactly, how this is supposed to differ from KEY_VIDEO_NEXT...)

should we also define KEY_BRIGHTNESS_CYCLE?
(acts like KEY_BRIGHTNESSUP, but it goes to min after it hits max.)

>  /* We avoid low common keys in module aliases so they don't get huge. */
>  #define KEY_MIN_INTERESTING	KEY_MUTE
>  #define KEY_MAX			0x1ff
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

      reply	other threads:[~2007-08-16  3:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10 21:07 [RFC] [PATCH V2 1/3] ACPI video hotkey: add new input key codes for ACPI video hotkey events Zhang Rui
2007-08-16  3:16 ` Len Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200708152316.26433.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hmh@hmh.eng.hr \
    --cc=hughsient@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    --cc=luming.yu@intel.com \
    --cc=mjg59@srcf.ucam.org \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.