Thanks to pphaneuf and donny.viszneki for swift replies:
Donny’s suggestion works* but I still have the pointer on the screen.
I thought I might explain a little more about what I am after:
I need no keyboard or mouse input, I am just using the beagleboard to drive a
video projector chip. The input will come over the network via a home made protocol
or from a USB webcam attached to the device. Its a bit complex but in simple terms
I’ll read input from the webcam, process it and output the results to the video
device.
I’d prefer it if I could strip X out of the system. It might be that I don’t even need
SDL, although it is a nice interface that I like. If I need to stick with X I need
to find a way to get rid of the pointer (which is present even though there is no
mouse).
Any more suggestions?
Thanks for you help,
Sa
- I suppose I am so used to X barring none owners from the display when ,
someone is logged on it didn’t occur to me this was possible!> Date: Thu, 2 Jul 2009 16:16:41 -0400
From: pphaneuf at gmail.com
To: sdl at lists.libsdl.org
Subject: Re: [SDL] Simple newbie question
On Thu, Jul 2, 2009 at 7:08 AM, not disclosed<@not_disclosed> wrote:
For my application I want to use SDL to control the DVI output but I have no
idea how to do this - generally when I run my
test application it sends the output over X to the development host. If I
disable X-forwarding it just says no video device
available. Both of which are sensible. Beyond this I am not sure where to
start - I presume that I should find a way to disable
the X-session and install a framebuffer device (but I don’t know how) and
then I will need a way to grab this interface even
though I don’t own the console.
If you have no input device whatsoever, X won’t cut it for you (well,
unless you can deal with having no input in your application?!? might
be the case if your thing is used as a monitoring/status display,
say). If you used the framebuffer support, I think you could SSH in,
and the keyboard input could come from your SSH session, but there
would be no mouse. I’m not sure if SDL can deal with keyboard input
through stdin, or if the framebuffer support tries to open
/dev/console or something like that? You might have to hack it a bit,
or just do your keyboard input yourself.
The beagleboard has USB, no? The easiest thing to do would probably be
to plug a mouse in there, which would allow you to both use the mouse
with the framebuffer (and get keyboard input through SSH), or to just
run an X server (which won’t be able to get the keyboard input from
your SSH, but you could also plug in a USB keyboard, of course).
–
http://www.google.com/profiles/pphaneuf
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Invite your mail contacts to join your friends list with Windows Live Spaces. It’s easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us