libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
410 stars 36 forks source link

doc: mention the other valid modifier keys like (KMOD_NUM) #72

Closed FractalWire closed 5 years ago

FractalWire commented 5 years ago

Hey,

I think it would be nice to mention the other valid modifier keys for keyboard events. In particular:

    tcod.event.KMOD_NUM:
Numlock
    tcod.event.KMOD_CAPS:
Capslock

I'm not sure what is tcod.event.KMOD_MODE, but it might be useful to include too.

HexDecimal commented 5 years ago

Thanks, I ended up completely missing these and didn't even notice.

They're all documented by SDL here. KMOD_MODE involves the AltGr key.