You need to specifically get teh keyboard keys:

K_0 becomes K_KP0
etc.

On Tue, Aug 11, 2009 at 8:16 PM, [email protected] <
[email protected]> wrote:

> 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
> --
>
>

Reply via email to