NAME
THWMouse - internal low-level hardware mouse backend
SYNOPSIS
use TUI::Drivers::HWMouse;
# Internal backend usage only:
THWMouse->resume();
THWMouse->suspend();
DESCRIPTION
THWMouse implements low-level mouse handling for the TVision driver layer.
This module is an internal backend API. External code should use TMouse as the public mouse interface.
The module maintains global mouse state and backend hooks used by the driver stack.
THWMouse is not an object-oriented class. It must not be instantiated. All interaction is performed through class method calls.
Mouse handling is initialized automatically when the module is loaded and is suspended automatically when the program terminates.
The behavior and internals here are backend-focused and may change as the driver implementation evolves. Public callers should depend on TMouse instead.
VARIABLES
$buttonCount
Contains the number of mouse buttons (PositiveOrZeroInt) detected on the system.
$handlerInstalled
Indicates whether the mouse event handler is currently installed (Bool).
$noMouse
Indicates whether mouse hardware is available (Bool).
$mouseRangeX
Maximum X coordinate for mouse movement (PositiveOrZeroInt).
$mouseRangeY
Maximum Y coordinate for mouse movement (PositiveOrZeroInt).
METHODS
The backend exposes class methods with the same operational surface used by TMouse (for example show(), hide(), getEvent(), present(), resume(), and suspend()).
Their public-facing semantics are documented in TMouse.
SEE ALSO
AUTHORS
Borland International (original Turbo Vision design)
J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)
COPYRIGHT AND LICENSE
Copyright (c) 1990-1994, 1997 by Borland International
Copyright (c) 2021-2026 the "AUTHORS" as listed above.
This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).