Re: Keymap v2

Jorrit Tyberghein <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAA49VVJiCtE1J-DYByrOsrKaz70_pF7-cUcKyabPP51Bav1HWg@mail.gmail.com>
Well, CEL has something for that of course. That's more a game logic thing
so that belongs
in CEL.

Greetings,

On Mon, Jun 11, 2012 at 7:08 PM, Weltall <[email protected]> wrote:

> no he means an input manager which callbacks the associated function to
> each key event, on programmer whim (outside cs callbacks).
> like i press up and if the array has set it, it will call the function
> associated to up.
>
>
> 2012/6/11 Jorrit Tyberghein <[email protected]>
>
>> You mean like what the csInputDefinition class in CS does? Check it out.
>>
>> Greetings,
>>
>> On Sun, Jun 10, 2012 at 9:28 AM, Dominik Seifert <[email protected]
>> > wrote:
>>
>>> Hi,
>>>
>>> I was wondering why CS has no Keymap class? It seems like a very basic
>>> feature.
>>>
>>> Basically it can be a simple map (or other kind of associative array)
>>> that connects key descriptors (key pressed + modifiers) to a KeyEvent which
>>> is a class with a functor, name, description, or simply functor and command
>>> (like a console command), so that key events can also be easily triggered
>>> via command, to allow for simpler client scripts etc.
>>>
>>> Or does that already exist?
>>>
>>> -Domi
>>>
>>> PS: I think I just discovered the key shortcut for "Send Now and Don't
>>> Ask any Questions!" - Which is why the previous version of this email was
>>> sent before I finished.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Crystal-develop mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/crystal-develop
>>>
>>>
>>
>>
>> --
>> Project Manager of Crystal Space (http://www.crystalspace3d.org)
>> and CEL (http://cel.crystalspace3d.org)
>> Support Crystal Space. Donate at
>> https://sourceforge.net/donate/index.php?group_id=649
>> Personal page: http://users.telenet.be/jorritTyberghein/
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Crystal-develop mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/crystal-develop
>>
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Crystal-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-develop
>
>


-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Personal page: http://users.telenet.be/jorritTyberghein/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.