[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-liquidwar6] Custom controller
From: |
Andy Armstrong |
Subject: |
Re: [Help-liquidwar6] Custom controller |
Date: |
Mon, 14 Dec 2009 00:43:57 +0000 |
Hmmm,
Whenever I add a function into lw6-main.c
like - void andyfunc(){} then add extern void andyfunc(); to the liquidwar6.h.in
it fails with compilation errors:
Description Resource
Path Location
Type
Misplaced {. liquidwar6-gdoc.texi
/BODY/liquidwar6-0.0.7beta/doc
line 3 C/C++
Problem
And lots of them all the way through
that .texi file?!?!!?
What am i doing wrong?!
Andy
Andy Armstrong
CICS Explorer Test
IBM United Kingdom Ltd
Hursley Park
Winchester SO21 2JN
Mailpoint 208
Desk location A3/2/04
|
|
address@hidden
| Internal 245898 | +44 (0)1962 815898 | 07771330510 |
From:
| "Christian Mauduit" <address@hidden>
|
To:
| "Main discussion list for Liquid
War 6, a unique multiplayer wargame"
<address@hidden>
|
Date:
| 13/12/2009 20:52
|
Subject:
| Re: [Help-liquidwar6] Custom controller
|
Sent by:
| address@hidden |
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
(__/ \/
_______________________________________________
Help-liquidwar6 mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-liquidwar6
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
- [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/09
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/10
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/10
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/11
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/11
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/13
- Re: [Help-liquidwar6] Custom controller,
Andy Armstrong <=
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/14
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15
- Re: [Help-liquidwar6] Custom controller, Christian Mauduit, 2009/12/15
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15
- Re: [Help-liquidwar6] Custom controller, Andy Armstrong, 2009/12/15