help-liquidwar6
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-liquidwar6] Custom controller


From: Christian Mauduit
Subject: Re: [Help-liquidwar6] Custom controller
Date: Sun, 13 Dec 2009 21:51:53 +0100 (CET)
User-agent: SquirrelMail/1.4.15

On Fri, December 11, 2009 10:40 am, Andy Armstrong wrote:
> Can you please guide me a little more I really dont understand the guile
> bindings.
>
> I have an x and y co-ord being sent over the OSC network protocol from one
> of my wii controllers which I want to drive one of the custom controllers.
>
> Therefore I have the raw values, just need to know what to add and where.
The key file is "src/lib/gfx/mod-gl/gl-utils/gl-utils-event.c". This is
where the various declared in "src/lib/gui/gui.h" are filled with real
data. If you hack things directly so that, say, joystick2 is your special
controller, you'll bypass the scheme wizardry. But the patch will sort of
be hardcoded ;) An option can be that you do it that way, I can still take
a look afterwards at the code and see how I can manage proper bindings. I
can't garantee I'll have the time but I would try, at least.

BTW, for your liquidwar6.h problem, the best way is to modify
liquidwar6.h.in instead, it's pretty much the same file, only some
constants are replaced when "./configureing".

Have a nice day,

Christian.

-- 
Christian Mauduit <address@hidden> - http://deca.ufoot.org ___ __/\__
Liquid War 6 - http://www.gnu.org/software/liquidwar6      / _")\~ \~/
"Les amis de la vérité sont ceux qui la cherchent et non _/ /   /_ o_\
ceux qui se vantent de l'avoir trouvée" - Condorcet     (__/      \/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]