non-event input

Vectrex

26-07-2006 22:33:32

howdy, just trying to get non-event based input working. If I do this
mInputDevice = mEventHandler.GetInputReader();
it works, the main issues are
mouse coords seem to be very high values and unchanging, also a little thing but do I have to cast to int for keycodes? I have to go something like this if(mInputDevice.isKeyDown((int)KeyCode.Space)) and it works.
btw I know events are 'better' but I'm teaching this to non-programmers :)