Oh, I have to add, I have put the giiInit stuff before the ggiInit stuff in the file
I sent you. I have tried it both ways. Apparently, libggi does not open
input-linux-kbd as it should on my system. Again, I beleave this is because of the
SVGALIB target.
As soon as the Snes9x people get back with me, I'll post the full file.
Marcus Sundberg wrote:
> Jay <[EMAIL PROTECTED]> writes:
>
> > Well, then what I'm doing is extreemly wrong. But if I do it any other way I get
> > a segfault. On the console I must do this to get anything to work:
> >
> > giiInit();
> > kbd=giiOpen("input-linux-kbd",NULL);
> > if (kbd==NULL) {
> > fprintf(stderr, "Error getting keyboard, bailing out...");
> > exit(1);
> > }
>
> I suspected something like this. You can't open input-linux-kbd
> if you are using LibGGI. And I still can't help you unless I know
> what your code looks like and what you are trying to achieve.
>
> //Marcus
> --
> -------------------------------+------------------------------------
> Marcus Sundberg | http://www.stacken.kth.se/~mackan
> Royal Institute of Technology | Phone: +46 707 295404
> Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]