aboutsummaryrefslogtreecommitdiff
path: root/en/devices/input/diagnostics.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/input/diagnostics.html')
-rw-r--r--en/devices/input/diagnostics.html21
1 files changed, 12 insertions, 9 deletions
diff --git a/en/devices/input/diagnostics.html b/en/devices/input/diagnostics.html
index bd5036df..92780018 100644
--- a/en/devices/input/diagnostics.html
+++ b/en/devices/input/diagnostics.html
@@ -29,8 +29,8 @@ processing of input events.</p>
<h2 id="input">Input</h2>
<p>To dump the input system’s state, run the following command:</p>
-<pre>
-$ adb shell dumpsys input
+<pre class="devsite-terminal devsite-click-to-copy">
+adb shell dumpsys input
</pre>
<h2 id="output">Output</h2>
@@ -46,7 +46,7 @@ but consists of three sections:</p>
<h3 id="event_hub_state">Event Hub State</h3>
-<pre><code>
+<pre class="devsite-click-to-copy">
INPUT MANAGER (dumpsys input)
Event Hub State:
@@ -171,7 +171,7 @@ the touch screen.</p>
<p>As an example, this is what a special function keypad looks like:</p>
-<pre>
+<pre class="devsite-click-to-copy">
Input Reader State
...
Device 3: tuna-gpio-keypad
@@ -192,7 +192,7 @@ Input Reader State
<p>Here is a touch screen. Notice all of the information about the resolution of
the device and the calibration parameters that were used.</p>
-<pre>
+<pre class="devsite-click-to-copy">
Input Reader State
...
Device 6: Melfas MMSxxx Touchscreen
@@ -264,7 +264,8 @@ Input Reader State
<p>Here is an external keyboard / mouse combo HID device. (This device doesn't actually
have a mouse but its HID descriptor says it does.)</p>
-<pre><code> Device 7: Motorola Bluetooth Wireless Keyboard
+<pre class="devsite-click-to-copy">
+ Device 7: Motorola Bluetooth Wireless Keyboard
IsExternal: true
Sources: 0x00002103
KeyboardType: 2
@@ -302,7 +303,8 @@ have a mouse but its HID descriptor says it does.)</p>
</code></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><code>Device 18: Logitech Logitech Cordless RumblePad 2
+<pre class="devsite-click-to-copy">
+Device 18: Logitech Logitech Cordless RumblePad 2
IsExternal: true
Sources: 0x01000511
KeyboardType: 1
@@ -345,7 +347,8 @@ range. The axis mapping can be configured using key layout files.</p>
</code></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><code> Configuration:
+<pre class="devsite-click-to-copy">
+ Configuration:
ExcludedDeviceNames: []
VirtualKeyQuietTime: 0.0ms
PointerVelocityControlParameters: scale=1.000, lowThreshold=500.000, highThreshold=3000.000, acceleration=3.000
@@ -378,7 +381,7 @@ parameters such as the mouse pointer speed.</p>
<p>The <code>InputDispatcher</code> is responsible for sending input events to applications.
Its state dump shows information about which window is being touched, the
state of the input queue, whether an ANR is in progress, and so on.</p>
-<pre>
+<pre class="devsite-click-to-copy">
Input Dispatcher State:
DispatchEnabled: 1
DispatchFrozen: 0