summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-04 09:55:29 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-04 09:55:29 +0000
commit319cc14e14afcce95aa9299fd3b357d8d4e596cd (patch)
tree3140d3c0b4f43113ab522fe46bc1eb33d05d7046 /input/device.c
parent223aa9581953c03f371a10b3f0555f7fa132f690 (diff)
Input Service support for phones
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/device.c b/input/device.c
index cd8662db..edf8c475 100644
--- a/input/device.c
+++ b/input/device.c
@@ -195,6 +195,9 @@ static const char *create_input_path(uint8_t major, uint8_t minor)
static int next_id = 0;
switch (major) {
+ case 0x02: /* Phone */
+ strcpy(subpath, "phone");
+ break;
case 0x04: /* Audio */
switch (minor) {
/* FIXME: Testing required */