Exemple #1
0
void CMDKImplementation::AddInput(char const *macname, bool stereo)
{
	if (macname == NULL)
		return;

	Inputs.push_back(CInput(macname, stereo));

	SetMode();
}
Exemple #2
0
#include "CGlobals.hpp"

float CGlobals::playerSize = 50.0f;
float CGlobals::switchSize = 40.0f;
CVector2f CGlobals::gravity = CVector2f(0.0f, 3000.0f);

CInput CGlobals::leftInput = CInput(CKeyboard::A);
CInput CGlobals::rightInput = CInput(CKeyboard::D);
CInput CGlobals::jumpInput = CInput(CKeyboard::Space);
CInput CGlobals::resetInput = CInput(CKeyboard::R);