Thread (3 messages) 3 messages, 2 authors, 2007-10-16

Re: [PATCH] Map MS Presenter 8000 bottom-side buttons

From: Jiri Kosina <hidden>
Date: 2007-10-16 10:16:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help