Re: SDL, keyboard and event handling

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
ChrisB said...
return scancode 

I'd expect that to die with "variable scancode has not been assigned a value"

No, scancode = i

petelomax said...
ChrisB said...
atom ev = 0 

Neither of these work

I'd expect that to stay 0 forever

and it does, except SDL_WaitEvent(ev) and SDL_PollEvent(ev) should make ev a pointer to the event structure.

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu