Kyle Jones <kyle_jones(a)wonderworks.com> writes:
William M. Perry writes:
> Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
>
> > wmperry(a)aventail.com (William M. Perry) writes:
> >
> > > And it actually seems to work. Unfortunately there is no
> > > CONSOLE_NO_LONGER_HAS_METHOD(...) macro to go with it. :)
> >
> > Just call CONSOLE_HAS_METHOD with a NULL method value?
>
> Nope, that's not how it works - you tell it what method and it
> automatically constructs the function name from the console type (tty) and
> method name (set_mouse_position). I just cheat a little and set the method
> slots directly.
I think you're running into problem because you're piggybacking GPM
support on top of the tty console. The console init code is not designed
with a run-time variable feature set in mind. I think GPM-enabled ttys
should be a separate console type.
*shudder* I don't wanna write it. :) Since there is no way to set the GPM
mouse position, and the getting of it is very unreliable, I'm probably just
going to punt on setting those methods anyway.
-Bill P.