C++ Add more input in EKeyId

#1
Hi,

I'm writing a tactile plugin that detects gesture (pan, scale and twist) and sent them as event.

But right now my issue is that i'm limited by the values in EKeyId, I'd like to add some new ones (eKI_Pan, eKI_Scale and eKI_Twist)

in order to send them through something like this without compiling the whole game

inline void
SendEventChange(SInputSymbol* pSymbol, float value)
{
SInputEvent event;
event.deviceType = eIDT_MotionController;

pSymbol->ChangeEvent(value);
pSymbol->AssignTo(event);

gEnv->pInput->PostInputEvent(event);
}

for example i'k like to send a scale event with it s value and event the fingers involved

thanks in advance

Who is online

Users browsing this forum: No registered users and 1 guest

cron