LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-22-2010, 01:22 AM   #1
isaaclw
Member
 
Registered: Dec 2009
Posts: 36

Rep: Reputation: 15
tweaking a mouse to act as a remote or keyboard


I have a Logitech wireless mouse (LX7 Cordless optical: http://www.google.com/products/catal...43825054403800).

I would like to set it up so I could (in some occasions) use the mouse buttons as a remote for Amarok.

Is there a way that I could toggle between using the mouse "as a keyboard" and using the mouse as a mouse?
ie: I want to map the mouse buttons to any keyboard button (hopefully one that I can choose, or else the media buttons).

Code:
isaac@bohr:~$ dmesg | grep -i "logitech"
[162289.601836] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input10
[162289.601928] logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input0
[162289.607590] logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
[162289.608302] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11
[162289.608467] logitech 0003:046D:C517.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input1
[162737.819387] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input12
[162737.819496] logitech 0003:046D:C517.0003: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input0
[162737.825319] logitech 0003:046D:C517.0004: fixing up Logitech keyboard report descriptor
[162737.825858] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input13
[162737.826038] logitech 0003:046D:C517.0004: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input1
Note: the receiver can take a wireless keyboard also. I don't have the keyboard with me, it's about 7 time zones away. I suspect that's why it's showing up in dmesg.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does your mouse-wheel act strangely after a while ? Possible solution... H_TeXMeX_H General 6 04-09-2010 03:02 PM
Mouse pointer suddenly act very strange! antoniusEde Debian 3 02-27-2010 09:27 PM
How to remote keyboard & mouse, not video? Eric Elliott Linux - Newbie 3 05-20-2008 05:37 AM
[Dell d830] Keyboard left and up arrow act strange v1pEr Linux - Hardware 0 03-28-2008 05:58 AM
Synaptics: third button should act as (mouse) wheel Quis Linux - Laptop and Netbook 6 07-28-2006 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration