I am trying to write my xorg.conf for my simulated touchscreen and my simulated keyboard. How do I write it? What should I put in the "Option->Device" field? I dont have any physical device so I dont have any /dev/input/eventX. Can I just put Option->Device->/dev/input/uinput into these fields for keyboard and touchscreen?
Section "InputDevice" Identifier "CCHIP Touchscreen" Driver "evtouch" Option "Device" "/dev/input/uinput" Option "DeviceName" "touchscreen" Option "MinX" "0" Option "MinY" "0" Option "MaxX" "480" Option "MaxY" "640" Option "ReportingMode" "Raw" Option "SendCoreEvents" "On" EndSection Thanks and best regards, Andy ----- Original Message ----- From: "Leandro Galvez" <[EMAIL PROTECTED]> To: "Peter Hutterer" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Wednesday, November 19, 2008 2:16 PM Subject: Re: /dev/uinput with X11 > Thank you very much guys for your replies. > > ----- Original Message ----- > From: "Peter Hutterer" <[EMAIL PROTECTED]> > To: "Leandro Galvez" <[EMAIL PROTECTED]> > Cc: <[email protected]> > Sent: Wednesday, November 19, 2008 7:56 AM > Subject: Re: /dev/uinput with X11 > > >> On Tue, Nov 18, 2008 at 10:16:05PM +0800, Leandro Galvez wrote: >>> How do I use the X11 with /dev/uinput device which I plan to >>> simulate >>> all the input devices like keyboard, mouse and touchpad? How do I >>> create >>> the xorg.conf for this to properly work? Do I need an entry for each >>> type or can I integrate all the input device types into one single >>> input >>> device entry in xorg.conf? >>> >> >> You don't need to do anything. When you create the device, HAL sends the >> information to the server, which then picks it up and configures it >> appropriately. >> >> So you do the same thing as for a physical device - add your stuff into >> the >> fdi file or set up an xorg.conf entry for it. >> (FYI evdev git master has test/ directory that provides a simple uinput >> devices for testing. Maybe that's a starting point for you) >> >> Cheers, >> Peter >> > > _______________________________________________ > xorg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xorg > _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
