€•Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ%/translations/zh_CN/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/zh_TW/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/it_IT/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ja_JP/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ko_KR/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/pt_BR/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/sp_SP/input/event-codes”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒtarget”“”)�”}”(hŒ.. _input-event-codes:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œinput-event-codes”uh1hµh´Khhh²hh³Œ?/var/lib/git/docbuild/linux/Documentation/input/event-codes.rst”ubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒInput event codes”h]”hŒInput event codes”…”�”}”(hhËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÆh²hh³hÃh´KubhŒ paragraph”“”)�”}”(hŒ¬The input protocol uses a map of types and codes to express input device values to userspace. This document describes the types and codes and how and when they may be used.”h]”hŒ¬The input protocol uses a map of types and codes to express input device values to userspace. This document describes the types and codes and how and when they may be used.”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÚ)�”}”(hXgA single hardware event generates multiple input events. Each input event contains the new value of a single data item. A special event type, EV_SYN, is used to separate input events into packets of input data changes occurring at the same moment in time. In the following, the term "event" refers to a single input event encompassing a type, code, and value.”h]”hXkA single hardware event generates multiple input events. Each input event contains the new value of a single data item. A special event type, EV_SYN, is used to separate input events into packets of input data changes occurring at the same moment in time. In the following, the term “eventâ€� refers to a single input event encompassing a type, code, and value.”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K hhÆh²hubhÚ)�”}”(hXBThe input protocol is a stateful protocol. Events are emitted only when values of event codes have changed. However, the state is maintained within the Linux input subsystem; drivers do not need to maintain the state and may attempt to emit unchanged values without harm. Userspace may obtain the current state of event code values using the EVIOCG* ioctls defined in linux/input.h. The event reports supported by a device are also provided by sysfs in class/input/event*/device/capabilities/, and the properties of a device are provided in class/input/event*/device/properties.”h]”hXBThe input protocol is a stateful protocol. Events are emitted only when values of event codes have changed. However, the state is maintained within the Linux input subsystem; drivers do not need to maintain the state and may attempt to emit unchanged values without harm. Userspace may obtain the current state of event code values using the EVIOCG* ioctls defined in linux/input.h. The event reports supported by a device are also provided by sysfs in class/input/event*/device/capabilities/, and the properties of a device are provided in class/input/event*/device/properties.”…”�”}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Event types”h]”hŒ Event types”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjh²hh³hÃh´KubhÚ)�”}”(hŒÌEvent types are groupings of codes under a logical input construct. Each type has a set of applicable codes to be used in generating events. See the Codes section for details on valid codes for each type.”h]”hŒÌEvent types are groupings of codes under a logical input construct. Each type has a set of applicable codes to be used in generating events. See the Codes section for details on valid codes for each type.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khjh²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒ„EV_SYN: - Used as markers to separate events. Events may be separated in time or in space, such as with the multitouch protocol. ”h]”(hÚ)�”}”(hŒEV_SYN:”h]”hŒEV_SYN:”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K"hj+ubj%)�”}”(hhh]”j*)�”}”(hŒwUsed as markers to separate events. Events may be separated in time or in space, such as with the multitouch protocol. ”h]”hÚ)�”}”(hŒvUsed as markers to separate events. Events may be separated in time or in space, such as with the multitouch protocol.”h]”hŒvUsed as markers to separate events. Events may be separated in time or in space, such as with the multitouch protocol.”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K$hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj=ubah}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j$h³hÃh´K$hj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ^EV_KEY: - Used to describe state changes of keyboards, buttons, or other key-like devices. ”h]”(hÚ)�”}”(hŒEV_KEY:”h]”hŒEV_KEY:”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K'hjfubj%)�”}”(hhh]”j*)�”}”(hŒQUsed to describe state changes of keyboards, buttons, or other key-like devices. ”h]”hÚ)�”}”(hŒPUsed to describe state changes of keyboards, buttons, or other key-like devices.”h]”hŒPUsed to describe state changes of keyboards, buttons, or other key-like devices.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K)hj{ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjxubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K)hjfubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒfEV_REL: - Used to describe relative axis value changes, e.g. moving the mouse 5 units to the left. ”h]”(hÚ)�”}”(hŒEV_REL:”h]”hŒEV_REL:”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K,hjŸubj%)�”}”(hhh]”j*)�”}”(hŒYUsed to describe relative axis value changes, e.g. moving the mouse 5 units to the left. ”h]”hÚ)�”}”(hŒXUsed to describe relative axis value changes, e.g. moving the mouse 5 units to the left.”h]”hŒXUsed to describe relative axis value changes, e.g. moving the mouse 5 units to the left.”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K.hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj±ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K.hjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒxEV_ABS: - Used to describe absolute axis value changes, e.g. describing the coordinates of a touch on a touchscreen. ”h]”(hÚ)�”}”(hŒEV_ABS:”h]”hŒEV_ABS:”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K1hjØubj%)�”}”(hhh]”j*)�”}”(hŒkUsed to describe absolute axis value changes, e.g. describing the coordinates of a touch on a touchscreen. ”h]”hÚ)�”}”(hŒjUsed to describe absolute axis value changes, e.g. describing the coordinates of a touch on a touchscreen.”h]”hŒjUsed to describe absolute axis value changes, e.g. describing the coordinates of a touch on a touchscreen.”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K3hjíubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjêubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K3hjØubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒWEV_MSC: - Used to describe miscellaneous input data that do not fit into other types. ”h]”(hÚ)�”}”(hŒEV_MSC:”h]”hŒEV_MSC:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K6hjubj%)�”}”(hhh]”j*)�”}”(hŒLUsed to describe miscellaneous input data that do not fit into other types. ”h]”hÚ)�”}”(hŒKUsed to describe miscellaneous input data that do not fit into other types.”h]”hŒKUsed to describe miscellaneous input data that do not fit into other types.”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K8hj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj#ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K8hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ8EV_SW: - Used to describe binary state input switches. ”h]”(hÚ)�”}”(hŒEV_SW:”h]”hŒEV_SW:”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K:hjJubj%)�”}”(hhh]”j*)�”}”(hŒ.Used to describe binary state input switches. ”h]”hÚ)�”}”(hŒ-Used to describe binary state input switches.”h]”hŒ-Used to describe binary state input switches.”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khjƒubj%)�”}”(hhh]”j*)�”}”(hŒ)Used to turn LEDs on devices on and off. ”h]”hÚ)�”}”(hŒ(Used to turn LEDs on devices on and off.”h]”hŒ(Used to turn LEDs on devices on and off.”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K@hj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj•ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K@hjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ,EV_SND: - Used to output sound to devices. ”h]”(hÚ)�”}”(hŒEV_SND:”h]”hŒEV_SND:”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KBhj¼ubj%)�”}”(hhh]”j*)�”}”(hŒ!Used to output sound to devices. ”h]”hÚ)�”}”(hŒ Used to output sound to devices.”h]”hŒ Used to output sound to devices.”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KDhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjÎubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KDhj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ+EV_REP: - Used for autorepeating devices. ”h]”(hÚ)�”}”(hŒEV_REP:”h]”hŒEV_REP:”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KFhjõubj%)�”}”(hhh]”j*)�”}”(hŒ Used for autorepeating devices. ”h]”hÚ)�”}”(hŒUsed for autorepeating devices.”h]”hŒUsed for autorepeating devices.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KHhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KHhjõubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒCEV_FF: - Used to send force feedback commands to an input device. ”h]”(hÚ)�”}”(hŒEV_FF:”h]”hŒEV_FF:”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KJhj.ubj%)�”}”(hhh]”j*)�”}”(hŒ9Used to send force feedback commands to an input device. ”h]”hÚ)�”}”(hŒ8Used to send force feedback commands to an input device.”h]”hŒ8Used to send force feedback commands to an input device.”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KLhjCubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj@ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KLhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ=EV_PWR: - A special type for power button and switch input. ”h]”(hÚ)�”}”(hŒEV_PWR:”h]”hŒEV_PWR:”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KNhjgubj%)�”}”(hhh]”j*)�”}”(hŒ2A special type for power button and switch input. ”h]”hÚ)�”}”(hŒ1A special type for power button and switch input.”h]”hŒ1A special type for power button and switch input.”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KPhj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjyubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KPhjgubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒ?EV_FF_STATUS: - Used to receive force feedback device status. ”h]”(hÚ)�”}”(hŒ EV_FF_STATUS:”h]”hŒ EV_FF_STATUS:”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KRhj ubj%)�”}”(hhh]”j*)�”}”(hŒ.Used to receive force feedback device status. ”h]”hÚ)�”}”(hŒ-Used to receive force feedback device status.”h]”hŒ-Used to receive force feedback device status.”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KThjµubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj²ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KThj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^Œ*”uh1j$h³hÃh´K"hjh²hubeh}”(h]”Œ event-types”ah ]”h"]”Œ event types”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Event codes”h]”hŒ Event codes”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjèh²hh³hÃh´KWubhÚ)�”}”(hŒ-Event codes define the precise type of event.”h]”hŒ-Event codes define the precise type of event.”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KYhjèh²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_SYN”h]”hŒEV_SYN”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjh²hh³hÃh´K\ubhÚ)�”}”(hŒoEV_SYN event values are undefined. Their usage is defined only by when they are sent in the evdev event stream.”h]”hŒoEV_SYN event values are undefined. Their usage is defined only by when they are sent in the evdev event stream.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K^hjh²hubj%)�”}”(hhh]”(j*)�”}”(hXCSYN_REPORT: - Used to synchronize and separate events into packets of input data changes occurring at the same moment in time. For example, motion of a mouse may set the REL_X and REL_Y values for one motion, then emit a SYN_REPORT. The next motion will emit more REL_X and REL_Y values and send another SYN_REPORT. ”h]”(hÚ)�”}”(hŒ SYN_REPORT:”h]”hŒ SYN_REPORT:”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kahj)ubj%)�”}”(hhh]”j*)�”}”(hX.Used to synchronize and separate events into packets of input data changes occurring at the same moment in time. For example, motion of a mouse may set the REL_X and REL_Y values for one motion, then emit a SYN_REPORT. The next motion will emit more REL_X and REL_Y values and send another SYN_REPORT. ”h]”hÚ)�”}”(hX-Used to synchronize and separate events into packets of input data changes occurring at the same moment in time. For example, motion of a mouse may set the REL_X and REL_Y values for one motion, then emit a SYN_REPORT. The next motion will emit more REL_X and REL_Y values and send another SYN_REPORT.”h]”hX-Used to synchronize and separate events into packets of input data changes occurring at the same moment in time. For example, motion of a mouse may set the REL_X and REL_Y values for one motion, then emit a SYN_REPORT. The next motion will emit more REL_X and REL_Y values and send another SYN_REPORT.”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kchj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj;ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Kchj)ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒSYN_CONFIG: - TBD ”h]”(hÚ)�”}”(hŒ SYN_CONFIG:”h]”hŒ SYN_CONFIG:”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khhjbubj%)�”}”(hhh]”j*)�”}”(hŒTBD ”h]”hÚ)�”}”(hŒTBD”h]”hŒTBD”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kjhjwubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjtubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Kjhjbubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒƒSYN_MT_REPORT: - Used to synchronize and separate touch events. See the multi-touch-protocol.txt document for more information. ”h]”(hÚ)�”}”(hŒSYN_MT_REPORT:”h]”hŒSYN_MT_REPORT:”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Klhj›ubj%)�”}”(hhh]”j*)�”}”(hŒoUsed to synchronize and separate touch events. See the multi-touch-protocol.txt document for more information. ”h]”hÚ)�”}”(hŒnUsed to synchronize and separate touch events. See the multi-touch-protocol.txt document for more information.”h]”hŒnUsed to synchronize and separate touch events. See the multi-touch-protocol.txt document for more information.”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Knhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj­ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Knhj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubj*)�”}”(hŒìSYN_DROPPED: - Used to indicate buffer overrun in the evdev client's event queue. Client should ignore all events up to and including next SYN_REPORT event and query the device (using EVIOCG* ioctls) to obtain its current state. ”h]”(hÚ)�”}”(hŒ SYN_DROPPED:”h]”hŒ SYN_DROPPED:”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KqhjÔubj%)�”}”(hhh]”j*)�”}”(hŒÖUsed to indicate buffer overrun in the evdev client's event queue. Client should ignore all events up to and including next SYN_REPORT event and query the device (using EVIOCG* ioctls) to obtain its current state. ”h]”hÚ)�”}”(hŒÕUsed to indicate buffer overrun in the evdev client's event queue. Client should ignore all events up to and including next SYN_REPORT event and query the device (using EVIOCG* ioctls) to obtain its current state.”h]”hŒ×Used to indicate buffer overrun in the evdev client’s event queue. Client should ignore all events up to and including next SYN_REPORT event and query the device (using EVIOCG* ioctls) to obtain its current state.”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kshjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjæubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KshjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj&h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´Kahjh²hubeh}”(h]”Œev-syn”ah ]”h"]”Œev_syn”ah$]”h&]”uh1hÄhjèh²hh³hÃh´K\ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_KEY”h]”hŒEV_KEY”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjh²hh³hÃh´KyubhÚ)�”}”(hXÊEV_KEY events take the form KEY_ or BTN_. For example, KEY_A is used to represent the 'A' key on a keyboard. When a key is depressed, an event with the key's code is emitted with value 1. When the key is released, an event is emitted with value 0. Some hardware send events when a key is repeated. These events have a value of 2. In general, KEY_ is used for keyboard keys, and BTN_ is used for other types of momentary switch events.”h]”hXÐEV_KEY events take the form KEY_ or BTN_. For example, KEY_A is used to represent the ‘A’ key on a keyboard. When a key is depressed, an event with the key’s code is emitted with value 1. When the key is released, an event is emitted with value 0. Some hardware send events when a key is repeated. These events have a value of 2. In general, KEY_ is used for keyboard keys, and BTN_ is used for other types of momentary switch events.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K{hjh²hubhÚ)�”}”(hŒ)A few EV_KEY codes have special meanings:”h]”hŒ)A few EV_KEY codes have special meanings:”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K‚hjh²hubj%)�”}”(hhh]”(j*)�”}”(hX;BTN_TOOL_: - These codes are used in conjunction with input trackpads, tablets, and touchscreens. These devices may be used with fingers, pens, or other tools. When an event occurs and a tool is used, the corresponding BTN_TOOL_ code should be set to a value of 1. When the tool is no longer interacting with the input device, the BTN_TOOL_ code should be reset to 0. All trackpads, tablets, and touchscreens should use at least one BTN_TOOL_ code when events are generated. Likewise all trackpads, tablets, and touchscreens should export only one BTN_TOOL_ at a time. To not break existing userspace, it is recommended to not switch tool in one EV_SYN frame but first emitting the old BTN_TOOL_ at 0, then emit one SYN_REPORT and then set the new BTN_TOOL_ at 1. ”h]”(hÚ)�”}”(hŒBTN_TOOL_:”h]”hŒBTN_TOOL_:”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K„hjKubj%)�”}”(hhh]”j*)�”}”(hXThese codes are used in conjunction with input trackpads, tablets, and touchscreens. These devices may be used with fingers, pens, or other tools. When an event occurs and a tool is used, the corresponding BTN_TOOL_ code should be set to a value of 1. When the tool is no longer interacting with the input device, the BTN_TOOL_ code should be reset to 0. All trackpads, tablets, and touchscreens should use at least one BTN_TOOL_ code when events are generated. Likewise all trackpads, tablets, and touchscreens should export only one BTN_TOOL_ at a time. To not break existing userspace, it is recommended to not switch tool in one EV_SYN frame but first emitting the old BTN_TOOL_ at 0, then emit one SYN_REPORT and then set the new BTN_TOOL_ at 1. ”h]”hÚ)�”}”(hXThese codes are used in conjunction with input trackpads, tablets, and touchscreens. These devices may be used with fingers, pens, or other tools. When an event occurs and a tool is used, the corresponding BTN_TOOL_ code should be set to a value of 1. When the tool is no longer interacting with the input device, the BTN_TOOL_ code should be reset to 0. All trackpads, tablets, and touchscreens should use at least one BTN_TOOL_ code when events are generated. Likewise all trackpads, tablets, and touchscreens should export only one BTN_TOOL_ at a time. To not break existing userspace, it is recommended to not switch tool in one EV_SYN frame but first emitting the old BTN_TOOL_ at 0, then emit one SYN_REPORT and then set the new BTN_TOOL_ at 1.”h]”hXThese codes are used in conjunction with input trackpads, tablets, and touchscreens. These devices may be used with fingers, pens, or other tools. When an event occurs and a tool is used, the corresponding BTN_TOOL_ code should be set to a value of 1. When the tool is no longer interacting with the input device, the BTN_TOOL_ code should be reset to 0. All trackpads, tablets, and touchscreens should use at least one BTN_TOOL_ code when events are generated. Likewise all trackpads, tablets, and touchscreens should export only one BTN_TOOL_ at a time. To not break existing userspace, it is recommended to not switch tool in one EV_SYN frame but first emitting the old BTN_TOOL_ at 0, then emit one SYN_REPORT and then set the new BTN_TOOL_ at 1.”…”�”}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K†hj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj]ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K†hjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hjHh²hh³Nh´Nubj*)�”}”(hX`BTN_TOUCH: BTN_TOUCH is used for touch contact. While an input tool is determined to be within meaningful physical contact, the value of this property must be set to 1. Meaningful physical contact may mean any contact, or it may mean contact conditioned by an implementation defined property. For example, a touchpad may set the value to 1 only when the touch pressure rises above a certain value. BTN_TOUCH may be combined with BTN_TOOL_ codes. For example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the pen is hovering over but not touching the tablet surface. ”h]”(hÚ)�”}”(hŒ BTN_TOUCH:”h]”hŒ BTN_TOUCH:”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K’hj„ubhŒ block_quote”“”)�”}”(hXDBTN_TOUCH is used for touch contact. While an input tool is determined to be within meaningful physical contact, the value of this property must be set to 1. Meaningful physical contact may mean any contact, or it may mean contact conditioned by an implementation defined property. For example, a touchpad may set the value to 1 only when the touch pressure rises above a certain value. BTN_TOUCH may be combined with BTN_TOOL_ codes. For example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the pen is hovering over but not touching the tablet surface. ”h]”hÚ)�”}”(hXCBTN_TOUCH is used for touch contact. While an input tool is determined to be within meaningful physical contact, the value of this property must be set to 1. Meaningful physical contact may mean any contact, or it may mean contact conditioned by an implementation defined property. For example, a touchpad may set the value to 1 only when the touch pressure rises above a certain value. BTN_TOUCH may be combined with BTN_TOOL_ codes. For example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the pen is hovering over but not touching the tablet surface.”h]”hXCBTN_TOUCH is used for touch contact. While an input tool is determined to be within meaningful physical contact, the value of this property must be set to 1. Meaningful physical contact may mean any contact, or it may mean contact conditioned by an implementation defined property. For example, a touchpad may set the value to 1 only when the touch pressure rises above a certain value. BTN_TOUCH may be combined with BTN_TOOL_ codes. For example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the pen is hovering over but not touching the tablet surface.”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K”hj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1j–h³hÃh´K”hj„ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hjHh²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´K„hjh²hubhÚ)�”}”(hŒ’Note: For appropriate function of the legacy mousedev emulation driver, BTN_TOUCH must be the first evdev code emitted in a synchronization frame.”h]”hŒ’Note: For appropriate function of the legacy mousedev emulation driver, BTN_TOUCH must be the first evdev code emitted in a synchronization frame.”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K�hjh²hubhÚ)�”}”(hXÃNote: Historically a touch device with BTN_TOOL_FINGER and BTN_TOUCH was interpreted as a touchpad by userspace, while a similar device without BTN_TOOL_FINGER was interpreted as a touchscreen. For backwards compatibility with current userspace it is recommended to follow this distinction. In the future, this distinction will be deprecated and the device properties ioctl EVIOCGPROP, defined in linux/input.h, will be used to convey the device type.”h]”hXÃNote: Historically a touch device with BTN_TOOL_FINGER and BTN_TOUCH was interpreted as a touchpad by userspace, while a similar device without BTN_TOOL_FINGER was interpreted as a touchscreen. For backwards compatibility with current userspace it is recommended to follow this distinction. In the future, this distinction will be deprecated and the device properties ioctl EVIOCGPROP, defined in linux/input.h, will be used to convey the device type.”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K hjh²hubj%)�”}”(hhh]”j*)�”}”(hXœBTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP, BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP: - These codes denote one, two, three, and four finger interaction on a trackpad or touchscreen. For example, if the user uses two fingers and moves them on the touchpad in an effort to scroll content on screen, BTN_TOOL_DOUBLETAP should be set to value 1 for the duration of the motion. Note that all BTN_TOOL_ codes and the BTN_TOUCH code are orthogonal in purpose. A trackpad event generated by finger touches should generate events for one code from each group. At most only one of these BTN_TOOL_ codes should have a value of 1 during any synchronization frame. ”h]”(hÚ)�”}”(hŒJBTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP, BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP:”h]”hŒJBTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP, BTN_TOOL_TRIPLETAP, BTN_TOOL_QUADTAP:”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K§hjÛubj%)�”}”(hhh]”j*)�”}”(hX@These codes denote one, two, three, and four finger interaction on a trackpad or touchscreen. For example, if the user uses two fingers and moves them on the touchpad in an effort to scroll content on screen, BTN_TOOL_DOUBLETAP should be set to value 1 for the duration of the motion. Note that all BTN_TOOL_ codes and the BTN_TOUCH code are orthogonal in purpose. A trackpad event generated by finger touches should generate events for one code from each group. At most only one of these BTN_TOOL_ codes should have a value of 1 during any synchronization frame. ”h]”hÚ)�”}”(hX?These codes denote one, two, three, and four finger interaction on a trackpad or touchscreen. For example, if the user uses two fingers and moves them on the touchpad in an effort to scroll content on screen, BTN_TOOL_DOUBLETAP should be set to value 1 for the duration of the motion. Note that all BTN_TOOL_ codes and the BTN_TOUCH code are orthogonal in purpose. A trackpad event generated by finger touches should generate events for one code from each group. At most only one of these BTN_TOOL_ codes should have a value of 1 during any synchronization frame.”h]”hX?These codes denote one, two, three, and four finger interaction on a trackpad or touchscreen. For example, if the user uses two fingers and moves them on the touchpad in an effort to scroll content on screen, BTN_TOOL_DOUBLETAP should be set to value 1 for the duration of the motion. Note that all BTN_TOOL_ codes and the BTN_TOUCH code are orthogonal in purpose. A trackpad event generated by finger touches should generate events for one code from each group. At most only one of these BTN_TOOL_ codes should have a value of 1 during any synchronization frame.”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K©hjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjíubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´K©hjÛubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´K§hjh²hubhÚ)�”}”(hŒ™Note: Historically some drivers emitted multiple of the finger count codes with a value of 1 in the same synchronization frame. This usage is deprecated.”h]”hŒ™Note: Historically some drivers emitted multiple of the finger count codes with a value of 1 in the same synchronization frame. This usage is deprecated.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K²hjh²hubhÚ)�”}”(hŒ�Note: In multitouch drivers, the input_mt_report_finger_count() function should be used to emit these codes. Please see multi-touch-protocol.txt for details.”h]”hŒ�Note: In multitouch drivers, the input_mt_report_finger_count() function should be used to emit these codes. Please see multi-touch-protocol.txt for details.”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kµhjh²hubeh}”(h]”Œev-key”ah ]”h"]”Œev_key”ah$]”h&]”uh1hÄhjèh²hh³hÃh´KyubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_REL”h]”hŒEV_REL”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj>h²hh³hÃh´K¹ubhÚ)�”}”(hXEV_REL events describe relative changes in a property. For example, a mouse may move to the left by a certain number of units, but its absolute position in space is unknown. If the absolute position is known, EV_ABS codes should be used instead of EV_REL codes.”h]”hXEV_REL events describe relative changes in a property. For example, a mouse may move to the left by a certain number of units, but its absolute position in space is unknown. If the absolute position is known, EV_ABS codes should be used instead of EV_REL codes.”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K»hj>h²hubhÚ)�”}”(hŒ)A few EV_REL codes have special meanings:”h]”hŒ)A few EV_REL codes have special meanings:”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÀhj>h²hubj%)�”}”(hhh]”(j*)�”}”(hXÅREL_WHEEL, REL_HWHEEL: - These codes are used for vertical and horizontal scroll wheels, respectively. The value is the number of detents moved on the wheel, the physical size of which varies by device. For high-resolution wheels this may be an approximation based on the high-resolution scroll events, see REL_WHEEL_HI_RES. These event codes are legacy codes and REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES should be preferred where available. ”h]”(hÚ)�”}”(hŒREL_WHEEL, REL_HWHEEL:”h]”hŒREL_WHEEL, REL_HWHEEL:”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÂhjnubj%)�”}”(hhh]”j*)�”}”(hXŸThese codes are used for vertical and horizontal scroll wheels, respectively. The value is the number of detents moved on the wheel, the physical size of which varies by device. For high-resolution wheels this may be an approximation based on the high-resolution scroll events, see REL_WHEEL_HI_RES. These event codes are legacy codes and REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES should be preferred where available. ”h]”hÚ)�”}”(hXžThese codes are used for vertical and horizontal scroll wheels, respectively. The value is the number of detents moved on the wheel, the physical size of which varies by device. For high-resolution wheels this may be an approximation based on the high-resolution scroll events, see REL_WHEEL_HI_RES. These event codes are legacy codes and REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES should be preferred where available.”h]”hXžThese codes are used for vertical and horizontal scroll wheels, respectively. The value is the number of detents moved on the wheel, the physical size of which varies by device. For high-resolution wheels this may be an approximation based on the high-resolution scroll events, see REL_WHEEL_HI_RES. These event codes are legacy codes and REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES should be preferred where available.”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÄhjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj€ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KÄhjnubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hjkh²hh³Nh´Nubj*)�”}”(hX²REL_WHEEL_HI_RES, REL_HWHEEL_HI_RES: - High-resolution scroll wheel data. The accumulated value 120 represents movement by one detent. For devices that do not provide high-resolution scrolling, the value is always a multiple of 120. For devices with high-resolution scrolling, the value may be a fraction of 120. If a vertical scroll wheel supports high-resolution scrolling, this code will be emitted in addition to REL_WHEEL or REL_HWHEEL. The REL_WHEEL and REL_HWHEEL may be an approximation based on the high-resolution scroll events. There is no guarantee that the high-resolution data is a multiple of 120 at the time of an emulated REL_WHEEL or REL_HWHEEL event. ”h]”(hÚ)�”}”(hŒ$REL_WHEEL_HI_RES, REL_HWHEEL_HI_RES:”h]”hŒ$REL_WHEEL_HI_RES, REL_HWHEEL_HI_RES:”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÌhj§ubj%)�”}”(hhh]”j*)�”}”(hXxHigh-resolution scroll wheel data. The accumulated value 120 represents movement by one detent. For devices that do not provide high-resolution scrolling, the value is always a multiple of 120. For devices with high-resolution scrolling, the value may be a fraction of 120. If a vertical scroll wheel supports high-resolution scrolling, this code will be emitted in addition to REL_WHEEL or REL_HWHEEL. The REL_WHEEL and REL_HWHEEL may be an approximation based on the high-resolution scroll events. There is no guarantee that the high-resolution data is a multiple of 120 at the time of an emulated REL_WHEEL or REL_HWHEEL event. ”h]”(hÚ)�”}”(hXHigh-resolution scroll wheel data. The accumulated value 120 represents movement by one detent. For devices that do not provide high-resolution scrolling, the value is always a multiple of 120. For devices with high-resolution scrolling, the value may be a fraction of 120.”h]”hXHigh-resolution scroll wheel data. The accumulated value 120 represents movement by one detent. For devices that do not provide high-resolution scrolling, the value is always a multiple of 120. For devices with high-resolution scrolling, the value may be a fraction of 120.”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÎhj¼ubhÚ)�”}”(hXdIf a vertical scroll wheel supports high-resolution scrolling, this code will be emitted in addition to REL_WHEEL or REL_HWHEEL. The REL_WHEEL and REL_HWHEEL may be an approximation based on the high-resolution scroll events. There is no guarantee that the high-resolution data is a multiple of 120 at the time of an emulated REL_WHEEL or REL_HWHEEL event.”h]”hXdIf a vertical scroll wheel supports high-resolution scrolling, this code will be emitted in addition to REL_WHEEL or REL_HWHEEL. The REL_WHEEL and REL_HWHEEL may be an approximation based on the high-resolution scroll events. There is no guarantee that the high-resolution data is a multiple of 120 at the time of an emulated REL_WHEEL or REL_HWHEEL event.”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÓhj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj¹ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´KÎhj§ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hjkh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´KÂhj>h²hubeh}”(h]”Œev-rel”ah ]”h"]”Œev_rel”ah$]”h&]”uh1hÄhjèh²hh³hÃh´K¹ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_ABS”h]”hŒEV_ABS”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjüh²hh³hÃh´KÛubhÚ)�”}”(hŒyEV_ABS events describe absolute changes in a property. For example, a touchpad may emit coordinates for a touch location.”h]”hŒyEV_ABS events describe absolute changes in a property. For example, a touchpad may emit coordinates for a touch location.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÝhjüh²hubhÚ)�”}”(hŒ)A few EV_ABS codes have special meanings:”h]”hŒ)A few EV_ABS codes have special meanings:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kàhjüh²hubj%)�”}”(hhh]”(j*)�”}”(hXmABS_DISTANCE: - Used to describe the distance of a tool from an interaction surface. This event should only be emitted while the tool is hovering, meaning in close proximity of the device and while the value of the BTN_TOUCH code is 0. If the input device may be used freely in three dimensions, consider ABS_Z instead. - BTN_TOOL_ should be set to 1 when the tool comes into detectable proximity and set to 0 when the tool leaves detectable proximity. BTN_TOOL_ signals the type of tool that is currently detected by the hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH. ”h]”(hÚ)�”}”(hŒ ABS_DISTANCE:”h]”hŒ ABS_DISTANCE:”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kâhj,ubj%)�”}”(hhh]”(j*)�”}”(hX/Used to describe the distance of a tool from an interaction surface. This event should only be emitted while the tool is hovering, meaning in close proximity of the device and while the value of the BTN_TOUCH code is 0. If the input device may be used freely in three dimensions, consider ABS_Z instead.”h]”hÚ)�”}”(hX/Used to describe the distance of a tool from an interaction surface. This event should only be emitted while the tool is hovering, meaning in close proximity of the device and while the value of the BTN_TOUCH code is 0. If the input device may be used freely in three dimensions, consider ABS_Z instead.”h]”hX/Used to describe the distance of a tool from an interaction surface. This event should only be emitted while the tool is hovering, meaning in close proximity of the device and while the value of the BTN_TOUCH code is 0. If the input device may be used freely in three dimensions, consider ABS_Z instead.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KähjAubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj>ubj*)�”}”(hXBTN_TOOL_ should be set to 1 when the tool comes into detectable proximity and set to 0 when the tool leaves detectable proximity. BTN_TOOL_ signals the type of tool that is currently detected by the hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH. ”h]”hÚ)�”}”(hXBTN_TOOL_ should be set to 1 when the tool comes into detectable proximity and set to 0 when the tool leaves detectable proximity. BTN_TOOL_ signals the type of tool that is currently detected by the hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH.”h]”hXBTN_TOOL_ should be set to 1 when the tool comes into detectable proximity and set to 0 when the tool leaves detectable proximity. BTN_TOOL_ signals the type of tool that is currently detected by the hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH.”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KéhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj>ubeh}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Kähj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj)h²hh³Nh´Nubj*)�”}”(hŒºABS_PROFILE: - Used to describe the state of a multi-value profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value. ”h]”(hÚ)�”}”(hŒ ABS_PROFILE:”h]”hŒ ABS_PROFILE:”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kîhj}ubj%)�”}”(hhh]”j*)�”}”(hŒ¦Used to describe the state of a multi-value profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value. ”h]”hÚ)�”}”(hŒ¥Used to describe the state of a multi-value profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value.”h]”hŒ¥Used to describe the state of a multi-value profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value.”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kðhj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj�ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Kðhj}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj)h²hh³Nh´Nubj*)�”}”(hŒÃABS_SND_PROFILE: - Used to describe the state of a multi-value sound profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value. ”h]”(hÚ)�”}”(hŒABS_SND_PROFILE:”h]”hŒABS_SND_PROFILE:”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kôhj¶ubj%)�”}”(hhh]”j*)�”}”(hŒ«Used to describe the state of a multi-value sound profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value. ”h]”hÚ)�”}”(hŒªUsed to describe the state of a multi-value sound profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value.”h]”hŒªUsed to describe the state of a multi-value sound profile switch. An event is emitted only when the selected profile changes, indicating the newly selected profile value.”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KöhjËubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjÈubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Köhj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj)h²hh³Nh´Nubj*)�”}”(hŒoABS_MT_: - Used to describe multitouch input events. Please see multi-touch-protocol.txt for details. ”h]”(hÚ)�”}”(hŒABS_MT_:”h]”hŒABS_MT_:”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kúhjïubj%)�”}”(hhh]”j*)�”}”(hŒ[Used to describe multitouch input events. Please see multi-touch-protocol.txt for details. ”h]”hÚ)�”}”(hŒZUsed to describe multitouch input events. Please see multi-touch-protocol.txt for details.”h]”hŒZUsed to describe multitouch input events. Please see multi-touch-protocol.txt for details.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kühjubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Kühjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj)h²hh³Nh´Nubj*)�”}”(hXñABS_PRESSURE/ABS_MT_PRESSURE: - For touch devices, many devices converted contact size into pressure. A finger flattens with pressure, causing a larger contact area and thus pressure and contact size are directly related. This is not the case for other devices, for example digitizers and touchpads with a true pressure sensor ("pressure pads"). A device should set the resolution of the axis to indicate whether the pressure is in measurable units. If the resolution is zero, the pressure data is in arbitrary units. If the resolution is non-zero, the pressure data is in units/gram. For example, a value of 10 with a resolution of 1 represents 10 gram, a value of 10 with a resolution of 1000 represents 10 microgram. ”h]”(hÚ)�”}”(hŒABS_PRESSURE/ABS_MT_PRESSURE:”h]”hŒABS_PRESSURE/ABS_MT_PRESSURE:”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kÿhj(ubj—)�”}”(hXÇ- For touch devices, many devices converted contact size into pressure. A finger flattens with pressure, causing a larger contact area and thus pressure and contact size are directly related. This is not the case for other devices, for example digitizers and touchpads with a true pressure sensor ("pressure pads"). A device should set the resolution of the axis to indicate whether the pressure is in measurable units. If the resolution is zero, the pressure data is in arbitrary units. If the resolution is non-zero, the pressure data is in units/gram. For example, a value of 10 with a resolution of 1 represents 10 gram, a value of 10 with a resolution of 1000 represents 10 microgram. ”h]”j%)�”}”(hhh]”j*)�”}”(hX±For touch devices, many devices converted contact size into pressure. A finger flattens with pressure, causing a larger contact area and thus pressure and contact size are directly related. This is not the case for other devices, for example digitizers and touchpads with a true pressure sensor ("pressure pads"). A device should set the resolution of the axis to indicate whether the pressure is in measurable units. If the resolution is zero, the pressure data is in arbitrary units. If the resolution is non-zero, the pressure data is in units/gram. For example, a value of 10 with a resolution of 1 represents 10 gram, a value of 10 with a resolution of 1000 represents 10 microgram. ”h]”(hÚ)�”}”(hX9For touch devices, many devices converted contact size into pressure. A finger flattens with pressure, causing a larger contact area and thus pressure and contact size are directly related. This is not the case for other devices, for example digitizers and touchpads with a true pressure sensor ("pressure pads").”h]”hX=For touch devices, many devices converted contact size into pressure. A finger flattens with pressure, causing a larger contact area and thus pressure and contact size are directly related. This is not the case for other devices, for example digitizers and touchpads with a true pressure sensor (“pressure padsâ€�).”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjAubhÚ)�”}”(hXuA device should set the resolution of the axis to indicate whether the pressure is in measurable units. If the resolution is zero, the pressure data is in arbitrary units. If the resolution is non-zero, the pressure data is in units/gram. For example, a value of 10 with a resolution of 1 represents 10 gram, a value of 10 with a resolution of 1000 represents 10 microgram.”h]”hXuA device should set the resolution of the axis to indicate whether the pressure is in measurable units. If the resolution is zero, the pressure data is in arbitrary units. If the resolution is non-zero, the pressure data is in units/gram. For example, a value of 10 with a resolution of 1 represents 10 gram, a value of 10 with a resolution of 1000 represents 10 microgram.”…”�”}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjAubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj>ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´Mhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1j–h³hÃh´Mhj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj)h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´Kâhjüh²hubeh}”(h]”Œev-abs”ah ]”h"]”Œev_abs”ah$]”h&]”uh1hÄhjèh²hh³hÃh´KÛubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_SW”h]”hŒEV_SW”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj‡h²hh³hÃh´MubhÚ)�”}”(hŒ{EV_SW events describe stateful binary switches. For example, the SW_LID code is used to denote when a laptop lid is closed.”h]”hŒ{EV_SW events describe stateful binary switches. For example, the SW_LID code is used to denote when a laptop lid is closed.”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhj‡h²hubhÚ)�”}”(hŒ§Upon binding to a device or resuming from suspend, a driver must report the current switch state. This ensures that the device, kernel, and userspace state is in sync.”h]”hŒ§Upon binding to a device or resuming from suspend, a driver must report the current switch state. This ensures that the device, kernel, and userspace state is in sync.”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhj‡h²hubhÚ)�”}”(hŒÒUpon resume, if the switch state is the same as before suspend, then the input subsystem will filter out the duplicate switch state reports. The driver does not need to keep the state of the switch at any time.”h]”hŒÒUpon resume, if the switch state is the same as before suspend, then the input subsystem will filter out the duplicate switch state reports. The driver does not need to keep the state of the switch at any time.”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhj‡h²hubeh}”(h]”Œev-sw”ah ]”h"]”Œev_sw”ah$]”h&]”uh1hÄhjèh²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_MSC”h]”hŒEV_MSC”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÊh²hh³hÃh´MubhÚ)�”}”(hŒ[EV_MSC events are used for input and output events that do not fall under other categories.”h]”hŒ[EV_MSC events are used for input and output events that do not fall under other categories.”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjÊh²hubhÚ)�”}”(hŒ(A few EV_MSC codes have special meaning:”h]”hŒ(A few EV_MSC codes have special meaning:”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M"hjÊh²hubj%)�”}”(hhh]”j*)�”}”(hXôMSC_TIMESTAMP: - Used to report the number of microseconds since the last reset. This event should be coded as an uint32 value, which is allowed to wrap around with no special consequence. It is assumed that the time difference between two consecutive events is reliable on a reasonable time scale (hours). A reset to zero can happen, in which case the time since the last event is unknown. If the device does not provide this information, the driver must not provide it to user space. ”h]”(hÚ)�”}”(hŒMSC_TIMESTAMP:”h]”hŒMSC_TIMESTAMP:”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M$hjúubj%)�”}”(hhh]”j*)�”}”(hXÖUsed to report the number of microseconds since the last reset. This event should be coded as an uint32 value, which is allowed to wrap around with no special consequence. It is assumed that the time difference between two consecutive events is reliable on a reasonable time scale (hours). A reset to zero can happen, in which case the time since the last event is unknown. If the device does not provide this information, the driver must not provide it to user space. ”h]”hÚ)�”}”(hXÕUsed to report the number of microseconds since the last reset. This event should be coded as an uint32 value, which is allowed to wrap around with no special consequence. It is assumed that the time difference between two consecutive events is reliable on a reasonable time scale (hours). A reset to zero can happen, in which case the time since the last event is unknown. If the device does not provide this information, the driver must not provide it to user space.”h]”hXÕUsed to report the number of microseconds since the last reset. This event should be coded as an uint32 value, which is allowed to wrap around with no special consequence. It is assumed that the time difference between two consecutive events is reliable on a reasonable time scale (hours). A reset to zero can happen, in which case the time since the last event is unknown. If the device does not provide this information, the driver must not provide it to user space.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M&hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hj ubah}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´M&hjúubeh}”(h]”h ]”h"]”h$]”h&]”uh1j)hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j^jßuh1j$h³hÃh´M$hjÊh²hubeh}”(h]”Œev-msc”ah ]”h"]”Œev_msc”ah$]”h&]”uh1hÄhjèh²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_LED”h]”hŒEV_LED”…”�”}”(hjD h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjA h²hh³hÃh´M/ubhÚ)�”}”(hŒbEV_LED events are used for input and output to set and query the state of various LEDs on devices.”h]”hŒbEV_LED events are used for input and output to set and query the state of various LEDs on devices.”…”�”}”(hjR h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M1hjA h²hubeh}”(h]”Œev-led”ah ]”h"]”Œev_led”ah$]”h&]”uh1hÄhjèh²hh³hÃh´M/ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_REP”h]”hŒEV_REP”…”�”}”(hjk h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjh h²hh³hÃh´M5ubhÚ)�”}”(hŒ;EV_REP events are used for specifying autorepeating events.”h]”hŒ;EV_REP events are used for specifying autorepeating events.”…”�”}”(hjy h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M7hjh h²hubeh}”(h]”Œev-rep”ah ]”h"]”Œev_rep”ah$]”h&]”uh1hÄhjèh²hh³hÃh´M5ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_SND”h]”hŒEV_SND”…”�”}”(hj’ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj� h²hh³hÃh´M:ubhÚ)�”}”(hŒQEV_SND events are used for sending sound commands to simple sound output devices.”h]”hŒQEV_SND events are used for sending sound commands to simple sound output devices.”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M<hj� h²hubeh}”(h]”Œev-snd”ah ]”h"]”Œev_snd”ah$]”h&]”uh1hÄhjèh²hh³hÃh´M:ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_FF”h]”hŒEV_FF”…”�”}”(hj¹ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj¶ h²hh³hÃh´M@ubhÚ)�”}”(hŒiEV_FF events are used to initialize a force feedback capable device and to cause such device to feedback.”h]”hŒiEV_FF events are used to initialize a force feedback capable device and to cause such device to feedback.”…”�”}”(hjÇ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MBhj¶ h²hubeh}”(h]”Œev-ff”ah ]”h"]”Œev_ff”ah$]”h&]”uh1hÄhjèh²hh³hÃh´M@ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒEV_PWR”h]”hŒEV_PWR”…”�”}”(hjà h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÝ h²hh³hÃh´MFubhÚ)�”}”(hŒ‡EV_PWR events are a special type of event used specifically for power management. Its usage is not well defined. To be addressed later.”h]”hŒ‡EV_PWR events are a special type of event used specifically for power management. Its usage is not well defined. To be addressed later.”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MHhjÝ h²hubeh}”(h]”Œev-pwr”ah ]”h"]”Œev_pwr”ah$]”h&]”uh1hÄhjèh²hh³hÃh´MFubeh}”(h]”Œ event-codes”ah ]”h"]”Œ event codes”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KWubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒDevice properties”h]”hŒDevice properties”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´MLubhÚ)�”}”(hŒáNormally, userspace sets up an input device based on the data it emits, i.e., the event types. In the case of two devices emitting the same event types, additional information can be provided in the form of device properties.”h]”hŒáNormally, userspace sets up an input device based on the data it emits, i.e., the event types. In the case of two devices emitting the same event types, additional information can be provided in the form of device properties.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MNhj h²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ&INPUT_PROP_DIRECT + INPUT_PROP_POINTER”h]”hŒ&INPUT_PROP_DIRECT + INPUT_PROP_POINTER”…”�”}”(hj. h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj+ h²hh³hÃh´MTubhÚ)�”}”(hX¥The INPUT_PROP_DIRECT property indicates that device coordinates should be directly mapped to screen coordinates (not taking into account trivial transformations, such as scaling, flipping and rotating). Non-direct input devices require non-trivial transformation, such as absolute to relative transformation for touchpads. Typical direct input devices: touchscreens, drawing tablets; non-direct devices: touchpads, mice.”h]”hX¥The INPUT_PROP_DIRECT property indicates that device coordinates should be directly mapped to screen coordinates (not taking into account trivial transformations, such as scaling, flipping and rotating). Non-direct input devices require non-trivial transformation, such as absolute to relative transformation for touchpads. Typical direct input devices: touchscreens, drawing tablets; non-direct devices: touchpads, mice.”…”�”}”(hj< h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MVhj+ h²hubhÚ)�”}”(hŒ÷The INPUT_PROP_POINTER property indicates that the device is not transposed on the screen and thus requires use of an on-screen pointer to trace user's movements. Typical pointer devices: touchpads, tablets, mice; non-pointer device: touchscreen.”h]”hŒùThe INPUT_PROP_POINTER property indicates that the device is not transposed on the screen and thus requires use of an on-screen pointer to trace user’s movements. Typical pointer devices: touchpads, tablets, mice; non-pointer device: touchscreen.”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M]hj+ h²hubhÚ)�”}”(hŒ¹If neither INPUT_PROP_DIRECT or INPUT_PROP_POINTER are set, the property is considered undefined and the device type should be deduced in the traditional way, using emitted event types.”h]”hŒ¹If neither INPUT_PROP_DIRECT or INPUT_PROP_POINTER are set, the property is considered undefined and the device type should be deduced in the traditional way, using emitted event types.”…”�”}”(hjX h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mbhj+ h²hubeh}”(h]”Œ$input-prop-direct-input-prop-pointer”ah ]”h"]”Œ&input_prop_direct + input_prop_pointer”ah$]”h&]”uh1hÄhj h²hh³hÃh´MTubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒINPUT_PROP_BUTTONPAD”h]”hŒINPUT_PROP_BUTTONPAD”…”�”}”(hjq h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjn h²hh³hÃh´MgubhÚ)�”}”(hŒÕFor touchpads where the button is placed beneath the surface, such that pressing down on the pad causes a button click, this property should be set. Common in Clickpad notebooks and Macbooks from 2009 and onwards.”h]”hŒÕFor touchpads where the button is placed beneath the surface, such that pressing down on the pad causes a button click, this property should be set. Common in Clickpad notebooks and Macbooks from 2009 and onwards.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mihjn h²hubhÚ)�”}”(hŒ¿Originally, the buttonpad property was coded into the bcm5974 driver version field under the name integrated button. For backwards compatibility, both methods need to be checked in userspace.”h]”hŒ¿Originally, the buttonpad property was coded into the bcm5974 driver version field under the name integrated button. For backwards compatibility, both methods need to be checked in userspace.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mmhjn h²hubeh}”(h]”Œinput-prop-buttonpad”ah ]”h"]”Œinput_prop_buttonpad”ah$]”h&]”uh1hÄhj h²hh³hÃh´MgubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒINPUT_PROP_SEMI_MT”h]”hŒINPUT_PROP_SEMI_MT”…”�”}”(hj¦ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj£ h²hh³hÃh´MrubhÚ)�”}”(hXSome touchpads, most common between 2008 and 2011, can detect the presence of multiple contacts without resolving the individual positions; only the number of contacts and a rectangular shape is known. For such touchpads, the SEMI_MT property should be set.”h]”hXSome touchpads, most common between 2008 and 2011, can detect the presence of multiple contacts without resolving the individual positions; only the number of contacts and a rectangular shape is known. For such touchpads, the SEMI_MT property should be set.”…”�”}”(hj´ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mthj£ h²hubhÚ)�”}”(hŒûDepending on the device, the rectangle may enclose all touches, like a bounding box, or just some of them, for instance the two most recent touches. The diversity makes the rectangle of limited use, but some gestures can normally be extracted from it.”h]”hŒûDepending on the device, the rectangle may enclose all touches, like a bounding box, or just some of them, for instance the two most recent touches. The diversity makes the rectangle of limited use, but some gestures can normally be extracted from it.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Myhj£ h²hubhÚ)�”}”(hŒOIf INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT device.”h]”hŒOIf INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT device.”…”�”}”(hjÐ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M~hj£ h²hubeh}”(h]”Œinput-prop-semi-mt”ah ]”h"]”Œinput_prop_semi_mt”ah$]”h&]”uh1hÄhj h²hh³hÃh´MrubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒINPUT_PROP_TOPBUTTONPAD”h]”hŒINPUT_PROP_TOPBUTTONPAD”…”�”}”(hjé h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjæ h²hh³hÃh´M‚ubhÚ)�”}”(hX(Some laptops, most notably the Lenovo 40 series provide a trackstick device but do not have physical buttons associated with the trackstick device. Instead, the top area of the touchpad is marked to show visual/haptic areas for left, middle, right buttons intended to be used with the trackstick.”h]”hX(Some laptops, most notably the Lenovo 40 series provide a trackstick device but do not have physical buttons associated with the trackstick device. Instead, the top area of the touchpad is marked to show visual/haptic areas for left, middle, right buttons intended to be used with the trackstick.”…”�”}”(hj÷ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M„hjæ h²hubhÚ)�”}”(hŒ÷If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons accordingly. This property does not affect kernel behavior. The kernel does not provide button emulation for such devices but treats them as any other INPUT_PROP_BUTTONPAD device.”h]”hŒ÷If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons accordingly. This property does not affect kernel behavior. The kernel does not provide button emulation for such devices but treats them as any other INPUT_PROP_BUTTONPAD device.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MŠhjæ h²hubeh}”(h]”Œinput-prop-topbuttonpad”ah ]”h"]”Œinput_prop_topbuttonpad”ah$]”h&]”uh1hÄhj h²hh³hÃh´M‚ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒINPUT_PROP_ACCELEROMETER”h]”hŒINPUT_PROP_ACCELEROMETER”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´M�ubhÚ)�”}”(hŒåDirectional axes on this device (absolute and/or relative x, y, z) represent accelerometer data. Some devices also report gyroscope data, which devices can report through the rotational axes (absolute and/or relative rx, ry, rz).”h]”hŒåDirectional axes on this device (absolute and/or relative x, y, z) represent accelerometer data. Some devices also report gyroscope data, which devices can report through the rotational axes (absolute and/or relative rx, ry, rz).”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M’hj h²hubhÚ)�”}”(hŒ‚All other axes retain their meaning. A device must not mix regular directional axes and accelerometer axes on the same event node.”h]”hŒ‚All other axes retain their meaning. A device must not mix regular directional axes and accelerometer axes on the same event node.”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M–hj •2h²hubeh}”(h]”Œinput-prop-accelerometer”ah ]”h"]”Œinput_prop_accelerometer”ah$]”h&]”uh1hÄhj h²hh³hÃh´M�ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒINPUT_PROP_PRESSUREPAD”h]”hŒINPUT_PROP_PRESSUREPAD”…”�”}”(hjS h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjP h²hh³hÃh´MšubhÚ)�”}”(hŒðThe INPUT_PROP_PRESSUREPAD property indicates that the device provides simulated haptic feedback (e.g. a vibrator motor situated below the surface) instead of physical haptic feedback (e.g. a hinge). This property is only set if the device:”h]”hŒðThe INPUT_PROP_PRESSUREPAD property indicates that the device provides simulated haptic feedback (e.g. a vibrator motor situated below the surface) instead of physical haptic feedback (e.g. a hinge). This property is only set if the device:”…”�”}”(hja h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MœhjP h²hubj%)�”}”(hhh]”(j*)�”}”(hŒ,can differentiate between at least 5 fingers”h]”hÚ)�”}”(hjt h]”hŒ,can differentiate between at least 5 fingers”…”�”}”(hjv h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¡hjr ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjo h²hh³hÃh´Nubj*)�”}”(hŒ5uses correct resolution for the X/Y (units and value)”h]”hÚ)�”}”(hj‹ h]”hŒ5uses correct resolution for the X/Y (units and value)”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¢hj‰ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjo h²hh³hÃh´Nubj*)�”}”(hŒfollows the MT protocol type B ”h]”hÚ)�”}”(hŒfollows the MT protocol type B”h]”hŒfollows the MT protocol type B”…”�”}”(hj¤ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M£hj  ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjo h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´M¡hjP h²hubhÚ)�”}”(hŒNIf the simulated haptic feedback is controllable by userspace the device must:”h]”hŒNIf the simulated haptic feedback is controllable by userspace the device must:”…”�”}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¥hjP h²hubj%)�”}”(hhh]”(j*)�”}”(hŒ5support simple haptic auto and manual triggering, and”h]”hÚ)�”}”(hjÑ h]”hŒ5support simple haptic auto and manual triggering, and”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M§hjÏ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjÌ h²hh³hÃh´Nubj*)�”}”(hŒRreport correct force per touch, and correct units for them (newtons or grams), and”h]”hÚ)�”}”(hjè h]”hŒRreport correct force per touch, and correct units for them (newtons or grams), and”…”�”}”(hjê h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¨hjæ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjÌ h²hh³hÃh´Nubj*)�”}”(hŒ3provide the EV_FF FF_HAPTIC force feedback effect. ”h]”hÚ)�”}”(hŒ2provide the EV_FF FF_HAPTIC force feedback effect.”h]”hŒ2provide the EV_FF FF_HAPTIC force feedback effect.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M©hjý ubah}”(h]”h ]”h"]”h$]”h&]”uh1j)hjÌ h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”j^j_uh1j$h³hÃh´M§hjP h²hubhÚ)�”}”(hŒÀSumming up, such devices follow the MS spec for input devices in Win8 and Win8.1, and in addition may support the Simple haptic controller HID table, and report correct units for the pressure.”h]”hŒÀSumming up, such devices follow the MS spec for input devices in Win8 and Win8.1, and in addition may support the Simple haptic controller HID table, and report correct units for the pressure.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M«hjP h²hubhÚ)�”}”(hŒnWhere applicable, this property is set in addition to INPUT_PROP_BUTTONPAD, it does not replace that property.”h]”hŒnWhere applicable, this property is set in addition to INPUT_PROP_BUTTONPAD, it does not replace that property.”…”�”}”(hj) h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¯hjP h²hubeh}”(h]”Œinput-prop-pressurepad”ah ]”h"]”Œinput_prop_pressurepad”ah$]”h&]”uh1hÄhj h²hh³hÃh´Mšubeh}”(h]”Œdevice-properties”ah ]”h"]”Œdevice properties”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MLubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Guidelines”h]”hŒ Guidelines”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjG h²hh³hÃh´M³ubhÚ)�”}”(hŒ®The guidelines below ensure proper single-touch and multi-finger functionality. For multi-touch functionality, see the multi-touch-protocol.rst document for more information.”h]”hŒ®The guidelines below ensure proper single-touch and multi-finger functionality. For multi-touch functionality, see the multi-touch-protocol.rst document for more information.”…”�”}”(hjX h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MµhjG h²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒMice”h]”hŒMice”…”�”}”(hji h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjf h²hh³hÃh´MºubhÚ)�”}”(hXREL_{X,Y} must be reported when the mouse moves. BTN_LEFT must be used to report the primary button press. BTN_{MIDDLE,RIGHT,4,5,etc.} should be used to report further buttons of the device. REL_WHEEL and REL_HWHEEL should be used to report scroll wheel events where available.”h]”hXREL_{X,Y} must be reported when the mouse moves. BTN_LEFT must be used to report the primary button press. BTN_{MIDDLE,RIGHT,4,5,etc.} should be used to report further buttons of the device. REL_WHEEL and REL_HWHEEL should be used to report scroll wheel events where available.”…”�”}”(hjw h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¼hjf h²hubeh}”(h]”Œmice”ah ]”h"]”Œmice”ah$]”h&]”uh1hÄhjG h²hh³hÃh´MºubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Touchscreens”h]”hŒ Touchscreens”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj� h²hh³hÃh´MÂubhÚ)�”}”(hXABS_{X,Y} must be reported with the location of the touch. BTN_TOUCH must be used to report when a touch is active on the screen. BTN_{MOUSE,LEFT,MIDDLE,RIGHT} must not be reported as the result of touch contact. BTN_TOOL_ events should be reported where possible.”h]”hXABS_{X,Y} must be reported with the location of the touch. BTN_TOUCH must be used to report when a touch is active on the screen. BTN_{MOUSE,LEFT,MIDDLE,RIGHT} must not be reported as the result of touch contact. BTN_TOOL_ events should be reported where possible.”…”�”}”(hjž h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÄhj� h²hubhÚ)�”}”(hŒ2For new hardware, INPUT_PROP_DIRECT should be set.”h]”hŒ2For new hardware, INPUT_PROP_DIRECT should be set.”…”�”}”(hj¬ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÉhj� h²hubeh}”(h]”Œ touchscreens”ah ]”h"]”Œ touchscreens”ah$]”h&]”uh1hÄhjG h²hh³hÃh´MÂubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Trackpads”h]”hŒ Trackpads”…”�”}”(hjÅ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´MÌubhÚ)�”}”(hŒnLegacy trackpads that only provide relative position information must report events like mice described above.”h]”hŒnLegacy trackpads that only provide relative position information must report events like mice described above.”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÎhj h²hubhÚ)�”}”(hX.Trackpads that provide absolute touch position must report ABS_{X,Y} for the location of the touch. BTN_TOUCH should be used to report when a touch is active on the trackpad. Where multi-finger support is available, BTN_TOOL_ should be used to report the number of touches active on the trackpad.”h]”hX.Trackpads that provide absolute touch position must report ABS_{X,Y} for the location of the touch. BTN_TOUCH should be used to report when a touch is active on the trackpad. Where multi-finger support is available, BTN_TOOL_ should be used to report the number of touches active on the trackpad.”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÑhj h²hubhÚ)�”}”(hŒ3For new hardware, INPUT_PROP_POINTER should be set.”h]”hŒ3For new hardware, INPUT_PROP_POINTER should be set.”…”�”}”(hjï h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÖhj h²hubeh}”(h]”Œ trackpads”ah ]”h"]”Œ trackpads”ah$]”h&]”uh1hÄhjG h²hh³hÃh´MÌubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒTablets”h]”hŒTablets”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´MÙubhÚ)�”}”(hX&BTN_TOOL_ events must be reported when a stylus or other tool is active on the tablet. ABS_{X,Y} must be reported with the location of the tool. BTN_TOUCH should be used to report when the tool is in contact with the tablet. BTN_{STYLUS,STYLUS2} should be used to report buttons on the tool itself. Any button may be used for buttons on the tablet except BTN_{MOUSE,LEFT}. BTN_{0,1,2,etc} are good generic codes for unlabeled buttons. Do not use meaningful buttons, like BTN_FORWARD, unless the button is labeled for that purpose on the device.”h]”hX&BTN_TOOL_ events must be reported when a stylus or other tool is active on the tablet. ABS_{X,Y} must be reported with the location of the tool. BTN_TOUCH should be used to report when the tool is in contact with the tablet. BTN_{STYLUS,STYLUS2} should be used to report buttons on the tool itself. Any button may be used for buttons on the tablet except BTN_{MOUSE,LEFT}. BTN_{0,1,2,etc} are good generic codes for unlabeled buttons. Do not use meaningful buttons, like BTN_FORWARD, unless the button is labeled for that purpose on the device.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÛhj h²hubhÚ)�”}”(hŒNFor new hardware, both INPUT_PROP_DIRECT and INPUT_PROP_POINTER should be set.”h]”hŒNFor new hardware, both INPUT_PROP_DIRECT and INPUT_PROP_POINTER should be set.”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mähj h²hubeh}”(h]”Œtablets”ah ]”h"]”Œtablets”ah$]”h&]”uh1hÄhjG h²hh³hÃh´MÙubeh}”(h]”Œ guidelines”ah ]”h"]”Œ guidelines”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M³ubeh}”(h]”(hÂŒid1”eh ]”h"]”(Œinput event codes”Œinput-event-codes”eh$]”h&]”uh1hÄhhh²hh³hÃh´KŒexpect_referenced_by_name”}”jH h·sŒexpect_referenced_by_id”}”hÂh·subeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÃuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÉNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jr Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÃŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÂ]”h·asŒnameids”}”(jH hÂjG jD jåjâj j jjj;j8jùjöj„j�jÇjÄj> j; je jb jŒ j‰ j³ j° jÚ j× j jþ jD jA jk jh j  j� jã jà j j jM jJ j< j9 j? j< jŠ j‡ j¿ j¼ j jÿ j7 j4 uŒ nametypes”}”(jH ˆjG ‰jå‰j ‰j‰j;‰jù‰j„‰jljj> ‰je ‰jŒ ‰j³ ‰jÚ ‰j ‰jD ‰jk ‰j  ‰jã ‰j ‰jM ‰j< ‰j? ‰jŠ ‰j¿ ‰j ‰j7 ‰uh}”(hÂhÆjD hÆjâjj jèjjj8jjöj>j�jüjÄj‡j; jÊjb jA j‰ jh j° j� j× j¶ jþ jÝ jA j jh j+ j� jn jà j£ j jæ jJ j j9 jP j< jG j‡ jf j¼ j� jÿ j j4 j uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”j€ Ks…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)�”}”(hhh]”hÚ)�”}”(hhh]”hŒ7Hyperlink target "input-event-codes" is not referenced.”…”�”}”hjÜ sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhjÙ ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÃŒline”Kuh1j× ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.