[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Numeric keypad



Hi
I'm trying to get value from numeric keypad, but K_0 ... K_9 doesn't work.
Numeric value on alpha keybord works.

Can I use numeric keypad ?

ex:
if event.type == KEYDOWN and event.key == K_0 :
    DoSomething()

Thanks

-- 
Pierre Lafrance
--