-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusing-a-trackball-as-scrollwheel.html
63 lines (50 loc) · 2.68 KB
/
using-a-trackball-as-scrollwheel.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://okke-formsma.github.io/theme/styles.css" />
<title>Okke's blog - Using a trackball as scrollwheel</title>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<link href="https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Libre+Franklin:wght@500&display=swap" rel="stylesheet">
<link href="https://okke-formsma.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Okke's blog Full Atom Feed" />
<link href="https://okke-formsma.github.io/feeds/misc.atom.xml" type="application/atom+xml" rel="alternate" title="Okke's blog Categories Atom Feed" />
</head>
<body>
<header>
<h1 class="title"><a href="https://okke-formsma.github.io/">Okke's blog</a></h1>
<nav>
<ul>
</ul>
</nav>
</header>
<main>
<article class="post">
<header>
<time class="published" datetime="2020-05-27T19:35:00+02:00"> 2020-05-27 </time>
<h2>
<a href="https://okke-formsma.github.io/using-a-trackball-as-scrollwheel.html" rel="bookmark" title="Permalink to Using a trackball as scrollwheel">
Using a trackball as scrollwheel
</a>
</h2>
</header>
<footer>
</footer>
<div class="post-content"> <p>Tiny scrollwheel on mice have a few problems. They are small and the movement to scroll is prone to RSI. I've been using an Elecom HUGE trackball, and I love it. Except it doesn't have a nice scroll ring as the Kensingtons have. Today I figured out how to turn the entire trackball into a huge scrollwheel by configuring libinput.</p>
<p>To try it out, run a few xinput commands. </p>
<ol>
<li><code>xinput list</code> and find the device id of your mouse. In my case it's 14.</li>
<li><code>xinput set-prop 14 "libinput Scroll Method Enabled" 0, 0, 1</code> to enable 'button scrolling'</li>
<li><code>xinput set-prop 14 "libinput Button Scrolling Button" 12</code> to use 'Fn3' on the Huge as the scroll trigger. If you want to use the 'middle mouse button', use 2 here.</li>
</ol>
<p>If you like it, create the file /usr/share/X11/xorg.conf.d/60-huge.conf to make these settings persist between reboots.</p>
<div class="highlight"><pre><span></span>Section "InputClass"
Identifier "ELECOM TrackBall Mouse HUGE TrackBall"
Option "ScrollMethod" "button"
Option "ScrollButton" "12"
EndSection
</pre></div> </div>
</article>
</main>
</body>
</html>