Hi I'm still working through the SDL module - please find attached my latest diff file for documentation. As well as adding things I've also fixed a few minor typos and added some examples in places. I noticed that SDL.get_key_state() refers to SDL.pump_events() but that method isn't in the SDL.cmod file. I took the liberty of adding it as it's a simple C function to call (no args and no return value). Hope that's OK - I've tested it and it works fine on my system. Thanks & best wishes, larcky