strace/xlat/evdev_switch.in
Etienne Gemsa 4f750b9ad1 Add decoding for evdev ioctls
This patch introduces decoding for evdev ioctls.  For EVIOCSFF the five
first members are decoded, the union is not.  The code was compiled and
tested on x86_64 with Linux 3.13.

* evdev.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* defs.h (evdev_ioctl): New prototype.
* ioctl.c (ioctl_decode): Call evdev_ioctl for 'E' ioctl commands.
* xlat/evdev_autorepeat.in: New file.
* xlat/evdev_ff_status.in: New file.
* xlat/evdev_ff_types.in: New file.
* xlat/evdev_keycode.in: New file.
* xlat/evdev_leds.in: New file.
* xlat/evdev_misc.in: New file.
* xlat/evdev_mtslots.in: New file.
* xlat/evdev_prop.in: New file.
* xlat/evdev_relative_axes.in: New file.
* xlat/evdev_snd.in: New file.
* xlat/evdev_switch.in: New file.
* xlat/evdev_sync.in: New file.

Signed-off-by: Etienne Gemsa <etienne.gemsa@lse.epita.fr>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2015-02-22 02:29:54 +00:00

17 lines
258 B
Plaintext

SW_LID
SW_TABLET_MODE
SW_HEADPHONE_INSERT
SW_RFKILL_ALL
SW_RADIO
SW_MICROPHONE_INSERT
SW_DOCK
SW_LINEOUT_INSERT
SW_JACK_PHYSICAL_INSERT
SW_VIDEOOUT_INSERT
SW_CAMERA_LENS_COVER
SW_KEYPAD_SLIDE
SW_FRONT_PROXIMITY
SW_ROTATE_LOCK
SW_LINEIN_INSERT
SW_MUTE_DEVICE