Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103147 Details for
Bug 156825
xorg-server ebuild for handhelds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kdrive-use-evdev
kdrive-use-evdev.patch (text/plain), 1.63 KB, created by
Alexey Shvetsov
on 2006-12-01 09:38:54 UTC
(
hide
)
Description:
kdrive-use-evdev
Filename:
MIME Type:
Creator:
Alexey Shvetsov
Created:
2006-12-01 09:38:54 UTC
Size:
1.63 KB
patch
obsolete
>--- xserver/hw/kdrive/fbdev/fbinit.c~ 2006-01-31 17:09:33.000000000 +0100 >+++ xserver/hw/kdrive/fbdev/fbinit.c 2006-01-31 17:11:55.000000000 +0100 >@@ -28,6 +28,8 @@ > #endif > #include <fbdev.h> > >+extern int use_evdev; >+ > void > InitCard (char *name) > { >@@ -45,7 +47,10 @@ > void > InitInput (int argc, char **argv) > { >- KdInitInput (&LinuxMouseFuncs, &LinuxKeyboardFuncs); >+ if (use_evdev) >+ KdInitInput (&LinuxEvdevMouseFuncs, &LinuxEvdevKeyboardFuncs); >+ else >+ KdInitInput (&LinuxMouseFuncs, &LinuxKeyboardFuncs); > #ifdef TOUCHSCREEN > KdAddMouseDriver (&TsFuncs); > #endif >--- xserver/hw/kdrive/src/kdrive.c.orig 2006-01-31 17:13:28.000000000 +0100 >+++ xserver/hw/kdrive/src/kdrive.c 2006-01-31 17:15:28.000000000 +0100 >@@ -44,6 +44,8 @@ > #include "dpmsproc.h" > #endif > >+int use_evdev = 0; >+ > typedef struct _kdDepths { > CARD8 depth; > CARD8 bpp; >@@ -687,6 +689,7 @@ > ErrorF("-videoTest Start the server, pause momentarily and exit\n"); > ErrorF("-origin X,Y Locates the next screen in the the virtual screen (Xinerama)\n"); > ErrorF("-mouse path[,n] Filename of mouse device, n is number of buttons\n"); >+ ErrorF("-use-evdev Use Linux evdev input\n"); > ErrorF("-switchCmd Command to execute on vt switch\n"); > ErrorF("-nozap Don't terminate server on Ctrl+Alt+Backspace\n"); > ErrorF("vtxx Use virtual terminal xx instead of the next available\n"); >@@ -796,6 +799,11 @@ > UseMsg (); > return 2; > } >+ if (!strcmp (argv[i], "-use-evdev")) >+ { >+ use_evdev = 1; >+ return 1; >+ } > if (!strcmp (argv[i], "-keyboard")) > { > if ((i+1) < argc)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156825
:
103140
|
103141
|
103142
|
103143
|
103144
|
103145
|
103146
| 103147 |
103148
|
103149
|
103150