All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <ext-jani.1.nikula@nokia.com>
To: ext Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Subject: Re: [RFC PATCH 1/1] Input: add new keycodes useful in mobile devices
Date: Mon, 26 Oct 2009 16:43:35 +0200	[thread overview]
Message-ID: <1256568215.10718.271.camel@jani-desktop> (raw)
In-Reply-To: <20091023071315.GA3986@core.coreip.homeip.net>

Hi Dmitry -

On Fri, 2009-10-23 at 09:13 +0200, ext Dmitry Torokhov wrote:
> Hi Jani,
> 
> On Thu, Oct 22, 2009 at 12:32:20PM +0300, Jani Nikula wrote:

> > +#define SW_PROXIMITY		0x0b  /* set = proximity sensor covered */
> 
> Don't quite like the name for this one, any alternatives?

SW_PROXIMITY is admittedly pretty vague, but I don't quite know how
specific you'd like it to be. The main idea is to indicate that the
device is covered, for example because it's in your pocket or near your
ear, so the UI should probably adapt to the situation (for example
disable touchscreen and display on some devices). Someone might also use
it as a "button" you don't have to touch.

How about one of these?

SW_FRONT_COVERED
SW_FRONT_PROXIMITY
SW_DISPLAY_COVERED
SW_DISPLAY_PROXIMITY
SW_EARPIECE_MODE (too specific IMHO)


BR,
Jani.



  reply	other threads:[~2009-10-26 14:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22  9:32 [RFC PATCH 0/1] new keycodes Jani Nikula
2009-10-22  9:32 ` [RFC PATCH 1/1] Input: add new keycodes useful in mobile devices Jani Nikula
2009-10-23  7:13   ` Dmitry Torokhov
2009-10-26 14:43     ` Jani Nikula [this message]
2009-10-27 16:20       ` Dmitry Torokhov
2009-10-30 13:38         ` [PATCH 0/3] new input keycodes, gpio-keys for RX-51 Jani Nikula
2009-10-30 13:38           ` [PATCH 1/3] Input: add new keycodes useful in mobile devices Jani Nikula
2009-10-30 13:38             ` [PATCH 2/3] ARM OMAP3: RX-51 board: add initialization of gpio keys Jani Nikula
2009-10-30 13:38               ` [PATCH 3/3] ARM OMAP3: rx51_defconfig: enable support for " Jani Nikula
2009-10-30 17:44                 ` Tony Lindgren
2009-10-30 17:43               ` [PATCH 2/3] ARM OMAP3: RX-51 board: add initialization of " Tony Lindgren
2009-10-30 21:41             ` [PATCH 1/3] Input: add new keycodes useful in mobile devices James Mastros
2009-11-04 15:13           ` [PATCH v2 0/2] new input keycodes, gpio-keys for RX-51 Jani Nikula
2009-11-04 15:13             ` [PATCH v2 1/2] Input: add new keycodes useful in mobile devices Jani Nikula
2009-11-04 15:13               ` [PATCH v2 2/2] ARM OMAP3: RX-51 board: add initialization of gpio keys Jani Nikula
2009-11-06  7:40             ` [PATCH v2 0/2] new input keycodes, gpio-keys for RX-51 Dmitry Torokhov

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=1256568215.10718.271.camel@jani-desktop \
    --to=ext-jani.1.nikula@nokia.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /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.