Posts with tag: programming

Using the Wiimote with PyGame

| tags: programming, enabling technology, wiimote

UPDATE: Tim Swast has updated this code to work with the new wiiuse API. I recommend his version which you can find here:

Several of my project teams this semester will (I hope) use PyGame and the Wiimote in their projects. I had it working fine on Ubuntu but struggled to find an interface that works with Python on Windows XP. Luke pointed me to wiiuse so I wrote a very simple wrapper with ctypes and then wrapped that in a module for PyGame. You can find the code in CVS at SourceForge in pywiiuse. I also uploaded a source release . You'll need wiiuse.dll on Windows or on Ubuntu.


Alternatives for distributing ET tools

| tags: programming, enabling technology

We want to give away software for fun and learning and we want it to run on as many machines as possible. I think these are my minimum requirements.

  • One full-screen window, with 2D graphics and text.
  • Stereo sound with panning control at least.
  • Text to speech.
  • USB game controllers like DDR pads, joysticks, etc.
  • Access to new devices like the Wiimote


LiveCDs for delivery of ET applications?

| tags: enabling technology, programming, ideas, ubuntu

Our games and tools for kids with disabilities should run on whatever computer they have at the school (typically an old PC running some version of Windows or a Mac). One alternative to cross-platform testing might be a LiveCD that boots some OS (say Linux) and runs our software. Then our development environment is fixed and we're relying on the OS to cover over hardware differences. Pete and I spent a bit of time this last weekend trying our various LiveCDs to see how little memory they could be made to use.


Sending Key Events to pygame programs

| tags: programming

I needed to send key events from one python program to another. Using SendKeys on Windows worked fine in my tests but when I tried to send key events to a pygame program it completely ignored them. Some searching revealed that DirectInput ignores events generated with SendKeys. I learned that I needed to use SendInput. I found lots of partial examples but nothing that quite did the job. Here is some code (scraped together from multiple web pages) that works for me:



| tags: programming, links

Tom sent me to a pointer to AxsJAX , an AJAX variant designed to be accessible a framework designed to make AJAX accessible.


« Previous Page -- Next Page »