commit | 58b939959d228681208ba997595411fddc860849 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Mar 08 22:37:10 2010 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Mar 08 23:19:15 2010 -0800 |
tree | 3bfa2df2c811e14698e066f093a6dd7d75f45672 | |
parent | ec62e1c8dd2f9b2a833b48d4a2f58f0c5e07384c [diff] |
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: Márton Németh <nm127@freemail.hu> Acked-by: Matthew Garrett <mjg@redhat.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>