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 09:47 am

2 Comments

  1. Posted 23 February 2006

    Steffi

    Ich weiß es, ich weiß es! Aber ich darfs ja nicht sagen...

  2. Posted 24 February 2006

    Björn Gernert

    "bend the line":

    bend: Da denkt man natürlich an Futurama. Dort gibt es nämlich Bender. Bender ist (wie vermutlich bekannt) ein Robot der Stahl verbiegt. Also: bend = verbiegen.

    the: the = der,die,das

    line: Bekannt aus zahlreichen Filmen "Hold the LINE please" also: line = Telefonleitung; hier: Linie.

    Also komme ich erst mal auf 'bend the line' = 'verbiege die linie'.

    ---

    Nun, Züge fahren sicherlich nicht immer geradeaus, oder?
    Ich könnte mir vorstellen, dass du (Torsten) versucht hast deinen Zug um eine Kurve fahren so lassen. Bei dem verbiegen hat sich die Textur nur richtig gekrümmt, weshalb es komisch aussah.

    Oder:

    Die hast versucht deine Geister einen Weg ablaufen zu lassen. Bei der Kurve hat sich Geist falsch gedreht bzw. gar nicht.

    Oder:

    Du hast festgestellt, dass sich dein Mauskabel nicht immer in dieselbe Richtung verbiegt (unwahrscheinlich)

    Oder:

    du willst uns alle komplett verwirren.

    Mehr habe ich nicht zu sagen.
    Björn

Write your own