Mouse with HIDUtilities sucks

I learned a lot of things in the past few days. For example, I learned that after a ‘Bend the line’ you always face inwards, so that if you already have two lines facing in two ‘Bend the lines’ will bring you back to where you started. I wasn’t the only one confused by this, though.

The other point is that it is apparently a very bad idea to access mouse and keyboard with HIDUtilities. Of course, there was no way for me to notice this without hack, which is now obsolete. My problem is that the mouse reports movements of up to 3 units while it is, in fact, standing still. The value just never resets to zero. So I reworked my input system to be based upon Cocoa Events - and now it no longer works with joysticks. Life is hard and mean.

Yet another aspect is my text. My latest idea is that I render the letters on a texture and then compose them with OpenGL (I’m already doing this), but instead of using a prerendered texture, the texture is created dynamically, so if I need a new letter it is added when I need it. This is flexible and yet as performant as before, only problem is that it’s not quite working as it should.

Today’s special award goes to whoever is first to find out what my first paragraph is all about (family members excluded).

Written on February 23rd, 2006 at 08:47 am


    New comments can no longer be posted because it got to annoying to fight all the spam.