From: Atani <at...@at...> - 2005-11-19 21:49:43
|
On 11/19/2005, "Sam Steele" <sam...@gm...> wrote: >I'll try this, but the values that come through the Evt object are >the same garbage that NSLog is outputting. Ok, I will look into it while fixing the Y invert. > >> Ok, that sounds fine, can we show/hide the cursor easily on OSX? I >> know >> on SDL we simply call SDL_Hide_Cursor() (i think). > >Yep, I have code to do this in DCSquares. I'll add it to Tiki this >evening, unless you get there first :) > How about Tiki::showCursor(boolean)? >> Cool, I will refresh and do some more adjustments to the mouse on OSX >> shortly. > >I'm thinking of making my mouse pointer function into a Drawable so >it can be more easily re-used. Can Anims receive HID events? Anything can hook the hid event system. Basically in the constructor you would hook the hid in the same fashion as genmenu does. Probably best to do this based on my next point... >I was thinking I could hook a followMouse Anim up to a mousePointer (or >Banner) Drawable and have an instant working mouse pointer. I'll >look into that this evening, too. How about a generic Cursor drawable which you can bind by Device::Type? Mike |