From: atani <at...@at...> - 2005-11-16 23:22:16
|
Dan Potter wrote: >This all sounds awesome to me. It was actually my original intention to >build a small windowing system on top of Tiki for debugging tools a while >back, but I never really got around to finishing it. > > Well, I am planning some basics, we can then expand as needed :) >For the HID thing, are you thinking along the lines of something that can >hook all of the HID output exclusively for some time? Might be cool to even >have a stack of handlers or something. > Basically yes. We could do this in a couple ways: 1) deregister processHidEvent and register new processModalHidEvent 2) have an if/else in the processHidEvent method. Option 1 would be the least impact to performance, but I will need to do a lot of testing to ensure it works properly. Also we will need to add duplicated code between the two event handlers, but this can be removed by handling a proper copy constructor on Hid::Event Mike |