aboutsummaryrefslogtreecommitdiff
path: root/en/devices/input
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/input')
-rw-r--r--en/devices/input/diagnostics.html6
-rw-r--r--en/devices/input/getevent.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/en/devices/input/diagnostics.html b/en/devices/input/diagnostics.html
index 92780018..160ceaed 100644
--- a/en/devices/input/diagnostics.html
+++ b/en/devices/input/diagnostics.html
@@ -300,7 +300,7 @@ have a mouse but its HID descriptor says it does.)</p>
ButtonState: 0x00000000
Down: false
DownTime: 0
-</code></pre>
+</pre>
<p>Here is a joystick. Notice how all of the axes have been scaled to a normalized
range. The axis mapping can be configured using key layout files.</p>
<pre class="devsite-click-to-copy">
@@ -344,7 +344,7 @@ Device 18: Logitech Logitech Cordless RumblePad 2
HAT_Y: min=-1.00000, max=1.00000, flat=0.00000, fuzz=0.00000
scale=1.00000, offset=0.00000, highScale=1.00000, highOffset=0.00000
rawAxis=17, rawMin=-1, rawMax=1, rawFlat=0, rawFuzz=0, rawResolution=0
-</code></pre>
+</pre>
<p>At the end of the input reader dump there is some information about global configuration
parameters such as the mouse pointer speed.</p>
<pre class="devsite-click-to-copy">
@@ -366,7 +366,7 @@ parameters such as the mouse pointer speed.</p>
SwipeMaxWidthRatio: 0.2
MovementSpeedRatio: 0.8
ZoomSpeedRatio: 0.3
-</code></pre>
+</pre>
<h4 id="things-to-look-for_1">Things To Look For</h4>
<ol>
<li>
diff --git a/en/devices/input/getevent.html b/en/devices/input/getevent.html
index 69746bcd..3223d8ef 100644
--- a/en/devices/input/getevent.html
+++ b/en/devices/input/getevent.html
@@ -93,7 +93,7 @@ adb shell su -- getevent -lp /dev/input/event1
ABS_MT_PRESSURE : value 0, min 0, max 255, fuzz 0, flat 0, resolution 0
input props:
INPUT_PROP_DIRECT
-</code></pre>
+</pre>
<h2 id="showing-live-events">Showing live events</h2>
<p>The following example shows a two-finger multi-touch gesture for a
touchscreen using the Linux multi-touch input protocol "B". The <code>-l</code>