xref: /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/rc/rc-intro.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun.. _Remote_controllers_Intro:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun************
6*4882a593SmuzhiyunIntroduction
7*4882a593Smuzhiyun************
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunCurrently, most analog and digital devices have a Infrared input for
10*4882a593Smuzhiyunremote controllers. Each manufacturer has their own type of control. It
11*4882a593Smuzhiyunis not rare for the same manufacturer to ship different types of
12*4882a593Smuzhiyuncontrols, depending on the device.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunA Remote Controller interface is mapped as a normal evdev/input
15*4882a593Smuzhiyuninterface, just like a keyboard or a mouse. So, it uses all ioctls
16*4882a593Smuzhiyunalready defined for any other input devices.
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunHowever, remove controllers are more flexible than a normal input
19*4882a593Smuzhiyundevice, as the IR receiver (and/or transmitter) can be used in
20*4882a593Smuzhiyunconjunction with a wide variety of different IR remotes.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunIn order to allow flexibility, the Remote Controller subsystem allows
23*4882a593Smuzhiyuncontrolling the RC-specific attributes via
24*4882a593Smuzhiyun:ref:`the sysfs class nodes <remote_controllers_sysfs_nodes>`.
25