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
nexedi
linux
Commits
f8789f81
Commit
f8789f81
authored
Nov 17, 2002
by
Art Haas
Committed by
David S. Miller
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/input
parent
4360e757
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
drivers/input/evbug.c
drivers/input/evbug.c
+1
-1
drivers/input/evdev.c
drivers/input/evdev.c
+1
-1
drivers/input/tsdev.c
drivers/input/tsdev.c
+8
-8
No files found.
drivers/input/evbug.c
View file @
f8789f81
...
@@ -74,7 +74,7 @@ static void evbug_disconnect(struct input_handle *handle)
...
@@ -74,7 +74,7 @@ static void evbug_disconnect(struct input_handle *handle)
}
}
static
struct
input_device_id
evbug_ids
[]
=
{
static
struct
input_device_id
evbug_ids
[]
=
{
{
driver_info
:
1
},
/* Matches all devices */
{
.
driver_info
=
1
},
/* Matches all devices */
{
},
/* Terminating zero entry */
{
},
/* Terminating zero entry */
};
};
...
...
drivers/input/evdev.c
View file @
f8789f81
...
@@ -419,7 +419,7 @@ static void evdev_disconnect(struct input_handle *handle)
...
@@ -419,7 +419,7 @@ static void evdev_disconnect(struct input_handle *handle)
}
}
static
struct
input_device_id
evdev_ids
[]
=
{
static
struct
input_device_id
evdev_ids
[]
=
{
{
driver_info
:
1
},
/* Matches all devices */
{
.
driver_info
=
1
},
/* Matches all devices */
{
},
/* Terminating zero entry */
{
},
/* Terminating zero entry */
};
};
...
...
drivers/input/tsdev.c
View file @
f8789f81
...
@@ -350,17 +350,17 @@ static void tsdev_disconnect(struct input_handle *handle)
...
@@ -350,17 +350,17 @@ static void tsdev_disconnect(struct input_handle *handle)
static
struct
input_device_id
tsdev_ids
[]
=
{
static
struct
input_device_id
tsdev_ids
[]
=
{
{
{
flags:
INPUT_DEVICE_ID_MATCH_EVBIT
|
INPUT_DEVICE_ID_MATCH_KEYBIT
|
INPUT_DEVICE_ID_MATCH_RELBIT
,
.
flags
=
INPUT_DEVICE_ID_MATCH_EVBIT
|
INPUT_DEVICE_ID_MATCH_KEYBIT
|
INPUT_DEVICE_ID_MATCH_RELBIT
,
evbit:
{
BIT
(
EV_KEY
)
|
BIT
(
EV_REL
)
},
.
evbit
=
{
BIT
(
EV_KEY
)
|
BIT
(
EV_REL
)
},
keybit:
{
[
LONG
(
BTN_LEFT
)]
=
BIT
(
BTN_LEFT
)
},
.
keybit
=
{
[
LONG
(
BTN_LEFT
)]
=
BIT
(
BTN_LEFT
)
},
relbit:
{
BIT
(
REL_X
)
|
BIT
(
REL_Y
)
},
.
relbit
=
{
BIT
(
REL_X
)
|
BIT
(
REL_Y
)
},
},
/* A mouse like device, at least one button, two relative axes */
},
/* A mouse like device, at least one button, two relative axes */
{
{
flags:
INPUT_DEVICE_ID_MATCH_EVBIT
|
INPUT_DEVICE_ID_MATCH_KEYBIT
|
INPUT_DEVICE_ID_MATCH_ABSBIT
,
.
flags
=
INPUT_DEVICE_ID_MATCH_EVBIT
|
INPUT_DEVICE_ID_MATCH_KEYBIT
|
INPUT_DEVICE_ID_MATCH_ABSBIT
,
evbit:
{
BIT
(
EV_KEY
)
|
BIT
(
EV_ABS
)
},
.
evbit
=
{
BIT
(
EV_KEY
)
|
BIT
(
EV_ABS
)
},
keybit:
{
[
LONG
(
BTN_TOUCH
)]
=
BIT
(
BTN_TOUCH
)
},
.
keybit
=
{
[
LONG
(
BTN_TOUCH
)]
=
BIT
(
BTN_TOUCH
)
},
absbit:
{
BIT
(
ABS_X
)
|
BIT
(
ABS_Y
)
},
.
absbit
=
{
BIT
(
ABS_X
)
|
BIT
(
ABS_Y
)
},
},
/* A tablet like device, at least touch detection, two absolute axes */
},
/* A tablet like device, at least touch detection, two absolute axes */
{},
/* Terminating entry */
{},
/* Terminating entry */
...
...
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