Lines Matching full:code
35 event types and codes in the <code>linux/input.h</code> kernel header file.
39 <p>Next, the Android <code>EventHub</code> component reads input events from the kernel
40 by opening the <code>evdev</code> driver associated with each input device.
47 <p>Finally, the <code>InputReader</code> sends input events to the InputDispatcher
74 in <code>config.xml</code> such as the operation of lid switch.</p>
78 <p><code>config_lidKeyboardAccessibility</code>: Specifies the effect of the
82 <p><code>config_lidNavigationAccessibility</code>: Specifies the effect of the
86 <p><code>config_longPressOnPowerBehavior</code>: Specifies what should happen when
90 <p><code>config_lidOpenRotation</code>: Specifies the effect of the lid switch
94 <p>Refer to the documentation within <code>frameworks/base/core/res/res/values/config.xml</code>
97 <p>Key maps are used by the Android <code>EventHub</code> and <code>InputReader</code> components
104 <p>Input device configuration files are used by the Android <code>EventHub</code> and
105 <code>InputReader</code> components to configure special device characteristics
118 <dt>Physical Scan Code</dt>
120 <p>A physical scan code is a device-specific identifier that is associated
141 <dt>Linux Key Code</dt>
143 <p>A Linux key code is a standard identifier for a key or button.
144 Linux key codes are defined in the <code>linux/input.h</code> header file using
145 constants that begin with the prefix <code>KEY_</code> or <code>BTN_</code>. The Linux
149 <code>EV_KEY</code> events.</p>
150 <p>The Android API sometimes refers to the Linux key code associated
151 with a key as its "scan code". This is technically incorrect in
155 <dt>Linux Relative or Absolute Axis Code</dt>
157 <p>A Linux relative or absolute axis code is a standard identifier
161 Linux axis code are defined in the <code>linux/input.h</code> header file using
162 constants that begin with the prefix <code>REL_</code> or <code>ABS_</code>. The Linux
165 delivering information about them as part of <code>EV_REL</code> and
166 <code>EV_ABS</code> events.</p>
168 <dt>Linux Switch Code</dt>
170 <p>A Linux switch code is a standard identifier for reporting the
172 switch codes are defined in the <code>linux/input.h</code> header file
173 using constants that begin with the prefix <code>SW_</code>. The Linux
174 kernel input drivers report switch state changes as <code>EV_SW</code> events.</p>
179 <dt>Android Key Code</dt>
181 <p>An Android key code is a standard identifier defined in the Android
183 are defined by the <code>android.view.KeyEvent</code> class as constants that
184 begin with the prefix <code>KEYCODE_</code>.</p>
190 when the keys identified as <code>KEYCODE_SHIFT</code> and <code>KEYCODE_A</code> are both
195 <dt>Android Axis Code</dt>
197 <p>An Android axis code is a standard identifier defined in the Android
199 defined by the <code>android.view.MotionEvent</code> class as constants that
200 begin with the prefix <code>AXIS_</code>.</p>
209 are defined by the <code>android.view.KeyEvent</code> class as constants that
210 begin with the prefix <code>META_</code>.</p>
212 component which monitors when modifier keys such as <code>KEYCODE_SHIFT_LEFT</code>
222 Android button states are defined by the <code>android.view.MotionEvent</code>
223 class as constants that begin with the prefix <code>BUTTON_</code>.</p>