linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: [PATCH] Map MS Presenter 8000 bottom-side buttons
Date: Tue, 16 Oct 2007 12:16:12 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0710161214440.12935@jikos.suse.cz> (raw)
In-Reply-To: <4713A4D9.4060909@siemens.com>

On Mon, 15 Oct 2007, Jan Kiszka wrote:

> +			} else if (device->vendor == 0x045e && device->product == 0x0713) {
> +				set_bit(EV_REP, input->evbit);
> +				switch(usage->hid & HID_USAGE) {
> +					/* Make MS Presenter 8000 bottom-side keys useful,
> +					 * e.g. under OOffice */
> +					case 0xfd08: map_key_clear(KEY_RIGHT);		break;
> +					case 0xfd09: map_key_clear(KEY_LEFT);		break;
> +					case 0xfd0b: map_key_clear(KEY_PAUSE);		break;
> +					case 0xfd0f: map_key_clear(KEY_F5);		break;
> +					default:    goto ignore;
> +				}
> +			} else

Hi Jan,

could you please take a short look at current Linus' git tree - there are 
some more devices using MSVENDOR page, and we have introduced macros to 
match them. It would be great if you could redo the patch to fit into this 
picture and send it to me again.

Thanks,

-- 
Jiri Kosina
SUSE Labs

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 17:35 [PATCH] Map MS Presenter 8000 bottom-side buttons Jan Kiszka
2007-10-16 10:16 ` Jiri Kosina [this message]
2007-10-16 17:12   ` Jan Kiszka

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=Pine.LNX.4.64.0710161214440.12935@jikos.suse.cz \
    --to=jkosina@suse.cz \
    --cc=jan.kiszka@siemens.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).