SKeyMap in .NET

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
GiffE
Posts: 4
Joined: Sun Apr 02, 2006 12:54 pm

SKeyMap in .NET

Post by GiffE »

Hey i'm pretty new to Irrlitch,
This is kinda frusterating. there is no Skeymap class in the .net wrapper. so i cant easily do things like

Code: Select all

	SKeyMap keyMap[8];
	keyMap[1].Action = EKA_MOVE_FORWARD;
	keyMap[1].KeyCode = KEY_KEY_W;

	keyMap[3].Action = EKA_MOVE_BACKWARD;
	keyMap[3].KeyCode = KEY_KEY_S;

	keyMap[5].Action = EKA_STRAFE_LEFT;
	keyMap[5].KeyCode = KEY_KEY_A;

	keyMap[7].Action = EKA_STRAFE_RIGHT;
	keyMap[7].KeyCode = KEY_KEY_D;
Its so much easier to just use that for strafing and moving.

does anyone know how i can simulate the actions of those keys?
bgsteffens
Posts: 39
Joined: Wed Oct 04, 2006 8:00 am

Post by bgsteffens »

i would like to know this also.
bgsteffens
Posts: 39
Joined: Wed Oct 04, 2006 8:00 am

Post by bgsteffens »

i would like to know this also.
kneri
Posts: 32
Joined: Sun Sep 17, 2006 4:55 pm
Location: Austria

Post by kneri »

look at IrrNET CP 0.6 Wrapper class for irrlicht from DeusXL there you can use the Skeymap features.
Locked