commit | 59c7c0377e00a3cbd7b71631177fb92166ceb437 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor_core@ameritech.net> | Sun Nov 20 00:51:33 2005 -0500 |
committer | Dmitry Torokhov <dtor_core@ameritech.net> | Sun Nov 20 00:51:33 2005 -0500 |
tree | 74457d6759338db05c29eb5dc766b8472b7bb496 | |
parent | 29506415a0ff0152cc2928f8fcac724fbbf98651 [diff] [blame] |
Input: uinput - add UI_SET_SWBIT ioctl Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c index 7132603..4702ade 100644 --- a/drivers/input/misc/uinput.c +++ b/drivers/input/misc/uinput.c
@@ -495,6 +495,10 @@ retval = uinput_set_bit(arg, ffbit, FF_MAX); break; + case UI_SET_SWBIT: + retval = uinput_set_bit(arg, swbit, SW_MAX); + break; + case UI_SET_PHYS: if (udev->state == UIST_CREATED) { retval = -EINVAL;