Dxr3 video driver: Input handling

Hi!

Jens Axboe and myself are currently actively developing
a video driver for dxr3 cards (http://dxr3.sourceforge.net).

The graphical part of the driver is finished
(played PrBoom yesterday on my TV :-)),
though I’m not yet satisfied with the input handling.

We currently have some stripped-down keyboard handler.
Is there any other way to handle the keyboard than
having a handler for every video driver?

The “fbcon” keyboard-handler contains most of the functionality
we want, but I think cut’n’pasting code isn’t a good idea for
future maintenance. Is there a generic input handling interface?

Thanks in advance,
Thomas

Jens Axboe and myself are currently actively developing
a video driver for dxr3 cards (http://dxr3.sourceforge.net).

Is there another mailinglist for SDL development
or are just all core developers doing the New Year thing? :slight_smile:

Cheers,
Thomas

It sounds like you’re asking an interesting question, but it’s not clear what
the question is. Are you asking if there’s a generic way to write
a plugin for an SDL app? Is this supposed to be Linux-only?

And yes, it appears the main developers aren’t hanging on the list at the
moment.

DanielOn Monday 30 December 2002 10:51, Thomas Jarosch wrote:

Hi!

Jens Axboe and myself are currently actively developing
a video driver for dxr3 cards (http://dxr3.sourceforge.net).

The graphical part of the driver is finished
(played PrBoom yesterday on my TV :-)),
though I’m not yet satisfied with the input handling.

We currently have some stripped-down keyboard handler.
Is there any other way to handle the keyboard than
having a handler for every video driver?

The “fbcon” keyboard-handler contains most of the functionality
we want, but I think cut’n’pasting code isn’t a good idea for
future maintenance. Is there a generic input handling interface?

Thanks in advance,
Thomas

We currently have some stripped-down keyboard handler.
Is there any other way to handle the keyboard than
having a handler for every video driver?

The “fbcon” keyboard-handler contains most of the functionality
we want, but I think cut’n’pasting code isn’t a good idea for
future maintenance. Is there a generic input handling interface?

Thanks in advance,
Thomas

It sounds like you’re asking an interesting question, but it’s not clear
what
the question is. Are you asking if there’s a generic way to write
a plugin for an SDL app? Is this supposed to be Linux-only?

No, I’m not writing an SDL app. It’s a new video output driver for SDL
itself.
You are right, it’s linux only because there is no free
windows driver for dxr3 based cards.

The problem I’ve seen is that every video driver has it’s own
way to handle the keyboard. I thought there must be a better solution
than cut’n’pasting it from another driver, like a generic keyboard interface
layer.

And yes, it appears the main developers aren’t hanging on the list at the
moment.

What would be the best way to contact them? Directly via email?

Thomas

Jens Axboe and myself are currently actively developing
a video driver for dxr3 cards (http://dxr3.sourceforge.net).

Is there another mailinglist for SDL development
or are just all core developers doing the New Year thing? :slight_smile:

It’s a new year thing. :slight_smile:
In answer to your question, just copy and paste the fbcon keyboard driver.
There isn’t a generic keyboard layer since aside from Linux console there’s
no platform that I know of that has a general input concept separate from
specific video output drivers.

The Linux console keyboard driver hasn’t changed much in the last year,
and anytime I make changes I fold them into the fbcon, ps2gs, and any other
driver that makes use of similar code.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

The Linux console keyboard driver hasn’t changed much in the last year,
and anytime I make changes I fold them into the fbcon, ps2gs, and any other
driver that makes use of similar code.

Ok, I’ll go for cut’n’pasting the console code in some days
when I’ve fixed another issue with the driver :slight_smile:

Thanks for your answer,
Thomas