Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
24c39cd8
Commit
24c39cd8
authored
Feb 02, 2005
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Plain Diff
Merge bkbits:input into suse.cz:/home/vojtech/bk/input
parents
b0c24e18
0c97171a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/usb/input/hid-debug.h
drivers/usb/input/hid-debug.h
+1
-1
drivers/usb/input/hid-input.c
drivers/usb/input/hid-input.c
+2
-2
No files found.
drivers/usb/input/hid-debug.h
View file @
24c39cd8
...
@@ -86,12 +86,12 @@ static const struct hid_usage_entry hid_usage_table[] = {
...
@@ -86,12 +86,12 @@ static const struct hid_usage_entry hid_usage_table[] = {
{
0
,
0x92
,
"D-PadRight"
},
{
0
,
0x92
,
"D-PadRight"
},
{
0
,
0x93
,
"D-PadLeft"
},
{
0
,
0x93
,
"D-PadLeft"
},
{
7
,
0
,
"Keyboard"
},
{
7
,
0
,
"Keyboard"
},
{
8
,
0
,
"LED"
},
{
0
,
0x01
,
"NumLock"
},
{
0
,
0x01
,
"NumLock"
},
{
0
,
0x02
,
"CapsLock"
},
{
0
,
0x02
,
"CapsLock"
},
{
0
,
0x03
,
"ScrollLock"
},
{
0
,
0x03
,
"ScrollLock"
},
{
0
,
0x04
,
"Compose"
},
{
0
,
0x04
,
"Compose"
},
{
0
,
0x05
,
"Kana"
},
{
0
,
0x05
,
"Kana"
},
{
8
,
0
,
"LED"
},
{
9
,
0
,
"Button"
},
{
9
,
0
,
"Button"
},
{
10
,
0
,
"Ordinal"
},
{
10
,
0
,
"Ordinal"
},
{
12
,
0
,
"Consumer"
},
{
12
,
0
,
"Consumer"
},
...
...
drivers/usb/input/hid-input.c
View file @
24c39cd8
...
@@ -185,9 +185,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
...
@@ -185,9 +185,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
break
;
break
;
case
HID_UP_LED
:
case
HID_UP_LED
:
if
(
usage
->
hid
-
1
>=
LED_MAX
)
if
(
((
usage
->
hid
-
1
)
&
0xffff
)
>=
LED_MAX
)
goto
ignore
;
goto
ignore
;
map_led
(
usage
->
hid
-
1
);
map_led
(
(
usage
->
hid
-
1
)
&
0xffff
);
break
;
break
;
case
HID_UP_DIGITIZER
:
case
HID_UP_DIGITIZER
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment