18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci.. _Remote_controllers_Intro:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci************
68c2ecf20Sopenharmony_ciIntroduction
78c2ecf20Sopenharmony_ci************
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciCurrently, most analog and digital devices have a Infrared input for
108c2ecf20Sopenharmony_ciremote controllers. Each manufacturer has their own type of control. It
118c2ecf20Sopenharmony_ciis not rare for the same manufacturer to ship different types of
128c2ecf20Sopenharmony_cicontrols, depending on the device.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciA Remote Controller interface is mapped as a normal evdev/input
158c2ecf20Sopenharmony_ciinterface, just like a keyboard or a mouse. So, it uses all ioctls
168c2ecf20Sopenharmony_cialready defined for any other input devices.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciHowever, remove controllers are more flexible than a normal input
198c2ecf20Sopenharmony_cidevice, as the IR receiver (and/or transmitter) can be used in
208c2ecf20Sopenharmony_ciconjunction with a wide variety of different IR remotes.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciIn order to allow flexibility, the Remote Controller subsystem allows
238c2ecf20Sopenharmony_cicontrolling the RC-specific attributes via
248c2ecf20Sopenharmony_ci:ref:`the sysfs class nodes <remote_controllers_sysfs_nodes>`.
25