[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: |
Thu, 10 Dec 2009 21:33:00 +0000 |
I dont want to have to edit anything
to do with Guile.
Surely at some point a C function is
called to update the position of the mouse..... cannot I call this directly
for a different cursor?
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:
| 10/12/2009 15:51
|
Subject:
| Re: [Help-liquidwar6] Custom controller
|
Sent by:
| address@hidden |
Hi,
On Wed, December 9, 2009 11:36 pm, Andy Armstrong wrote:
> Hi!
>
> I want to make use of the "Custom" player control method.
>
> Basically I want to have something i can call for a third player,
so :
>
> player 1 = mouse
>
> player 2 = custom
>
> player 3 = bot
>
> Player 2 I want the cursor to be controlled by me passing a
function 2
> values, one for x and one for y which i get from an external source.
>
> Is this possible - and any tips on how to do this!
mmm, complex question. I guess I must look a little bit in the code to
find out what's currently implemented and what's only pure formal
interface, with no code behind. Basically, the idea of custom control is
to have a dedicated chunk of Guile code that tells if virtual
"up/down/left/..." keys are pressed or not. What this code does
is up to
you, there's still a need to actually feed Guile with the right values
(if
the controller is something specific not callable through Guile you're
stuck) but at least that's the "trap" I've planned to handle
weird input
devices.
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 <=
- 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, 2009/12/13
- 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