Game Development Community

Binding the Ctrl Key

by Bryce · in General Discussion · 12/09/2009 (11:16 pm) · 4 replies

Hello!

I'm trying to bind a function to the left control key, but I'm not sure how exactly I should reference that. Here's the situation:

MoveMap.bind(keyboard, WhatDoIPutHere?, doSomethingAmazing);

Any thoughts? I've tried "ctrl" with no luck. Help is appreciated!

#2
12/10/2009 (1:23 am)
I did a search before I posted this!! I swear!

Thank you very much, I'll give this a shot
#3
12/10/2009 (1:32 am)
The list of bindable inputs can be found at the end of sim/actionMap.cc (TGE).
#4
12/10/2009 (8:45 am)
bryce - don't worry, I've searched for something many a time and not found it... even when I knew exactly what I was searching for and put its title in the search bar :P.