summaryrefslogtreecommitdiff
path: root/packages/linux-input
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2007-03-01 17:20:18 +0000
committerShane Volpe <shanevolpe@gmail.com>2007-03-01 17:20:18 +0000
commita904d7be2b4cd15afd9bc48f847f6754dc65763c (patch)
treee92f789efe2bd7e1dd078df2d1aa150e29068a89 /packages/linux-input
parent6abf4791d956416bec1ea50d47ad5ffa1bf691d3 (diff)
Linux-input: Updated patch and serio.h to work with latest linux-input version
Diffstat (limited to 'packages/linux-input')
-rw-r--r--packages/linux-input/files/serio.h1
-rw-r--r--packages/linux-input/files/snes232.patch20
2 files changed, 11 insertions, 10 deletions
diff --git a/packages/linux-input/files/serio.h b/packages/linux-input/files/serio.h
index 82670ed3f5..375f1e2716 100644
--- a/packages/linux-input/files/serio.h
+++ b/packages/linux-input/files/serio.h
@@ -55,6 +55,7 @@
#define SERIO_SNES232 0x26
#define SERIO_SEMTECH 0x27
#define SERIO_LKKBD 0x28
+#define SERIO_ELO 0x29
#define SERIO_ID 0xff00UL
#define SERIO_EXTRA 0xff0000UL
diff --git a/packages/linux-input/files/snes232.patch b/packages/linux-input/files/snes232.patch
index 95523e4569..349a4aac08 100644
--- a/packages/linux-input/files/snes232.patch
+++ b/packages/linux-input/files/snes232.patch
@@ -1,10 +1,10 @@
---- inputattach.c.old 2004-10-09 23:17:27.000000000 +0100
-+++ inputattach.c 2004-10-09 23:17:37.000000000 +0100
-@@ -369,6 +369,7 @@
- { "--ps2serkbd", "-ps2ser", B1200, CS8, SERIO_PS2SER, 0x00, 1, NULL },
- { "--twiddler", "-twid", B2400, CS8, SERIO_TWIDKBD, 0x00, 0, twiddler_init },
- { "--twiddler-joy", "-twidjoy", B2400, CS8, SERIO_TWIDJOY, 0x00, 0, twiddler_init },
-+{ "--snes232", "-pad", B115200, CS8, SERIO_SNES232, 0x00, 0, NULL },
- { "--dump", "-dump", B2400, CS8, 0, 0x00, 0, dump_init },
- { "", "", 0, 0 }
-
+--- inputattach.c~org 2007-02-24 10:13:34.000000000 -0500
++++ inputattach.c 2007-02-24 10:17:01.000000000 -0500
+@@ -372,6 +372,7 @@
+ { "--ps2serkbd", "-ps2ser", B1200, CS8, SERIO_PS2SER, 0, 0, 1, NULL },
+ { "--twiddler", "-twid", B2400, CS8, SERIO_TWIDKBD, 0, 0, 0, twiddler_init },
+ { "--twiddler-joy", "-twidjoy", B2400, CS8, SERIO_TWIDJOY, 0, 0, 0, twiddler_init },
++{ "--snes232", "-pad", B115200, CS8, SERIO_SNES232, 0x00, 0, 0, NULL },
+ { "--elotouch", "-elo", B9600, CS8 | CRTSCTS, SERIO_ELO, 0, 0, 0, NULL },
+ { "--elo4002", "-elo6b", B9600, CS8 | CRTSCTS, SERIO_ELO, 1, 0, 0, NULL },
+ { "--elo271-140", "-elo4b", B9600, CS8 | CRTSCTS, SERIO_ELO, 2, 0, 0, NULL },