Skip to content
Commit 58b93995 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: scancode in get/set_keycodes should be unsigned



The HID layer has some scan codes of the form 0xffbc0000 for logitech
devices which do not work if scancode is typed as signed int, so we need
to switch to unsigned it instead. While at it keycode being signed does
not make much sense either.

Acked-by: default avatarMárton Németh <nm127@freemail.hu>
Acked-by: default avatarMatthew Garrett <mjg@redhat.com>
Acked-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ec62e1c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment