mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
55 lines
1.8 KiB
Markdown
55 lines
1.8 KiB
Markdown
|
---
|
||
|
title: Logitech V400
|
||
|
layout: default
|
||
|
created: 2009-02-10 00:06:10 +0100
|
||
|
toc: false
|
||
|
tags:
|
||
|
- know-how
|
||
|
- hardware
|
||
|
- logitech
|
||
|
- mouse
|
||
|
- usb
|
||
|
---
|
||
|
![Logitech V400]({{ site.url }}/assets/logitech_v400.jpg)
|
||
|
|
||
|
* **Support:** [logitech.com](http://www.logitech.com/index.cfm/428/144&cl=us,en)
|
||
|
|
||
|
|
||
|
Enable all settings in SetPoint
|
||
|
===============================
|
||
|
|
||
|
Install [uberOptions](http://www.mstarmetro.net/~rlowens/uberOptions/) to enable ALL settings in the *Logitech SetPoint* application.
|
||
|
|
||
|
|
||
|
Remapping buttons in Linux
|
||
|
==========================
|
||
|
|
||
|
You can use the following command to remap the buttons:
|
||
|
|
||
|
xinput set-button-map <device-id> <button1> <button2> <button3> ... <buttonN>
|
||
|
|
||
|
The `<device-id>` is shown in the `xinput list` output as *Logitech USB Receiver [XExtensionPointer]* - you can use the name as a string or the id number.
|
||
|
You can query the actual button state using `xinput query-state <device-id>`.
|
||
|
|
||
|
The mouse has following button-ids:
|
||
|
|
||
|
| Button | ID |
|
||
|
|:----------------------|:--:|
|
||
|
| Left mouse button | 1 |
|
||
|
| Right mouse button | 3 |
|
||
|
| Wheel button | 2 |
|
||
|
| Wheel up | 4 |
|
||
|
| Wheel down | 5 |
|
||
|
| Wheel left | 6 |
|
||
|
| Wheel right | 7 |
|
||
|
| "Up" button | 9 |
|
||
|
| "Down" button | 8 |
|
||
|
|
||
|
See [remapping mouse buttons]({% post_url 2009-07-17-remapping-mouse-buttons %}) on what buttons X11 recognizes.
|
||
|
|
||
|
According to this the default configuration (`xinput set-button-map <device-id> 1 2 3 4 5 6 7 8 9`) already gives the correct button assignment.
|
||
|
If you prefer to swap the thumb buttons so that "Up" is *Thumb1* and "Down" is *Thumb2* you can do this using the following command:
|
||
|
|
||
|
# input id: 1 2 3 4 5 6 7 8 9
|
||
|
xinput set-button-map <device-id> 1 2 3 4 5 6 7 9 8
|