NAME
TUI::Drivers::HWMouse - 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 Turbo Vision driver layer.
This module is an internal backend API. External code should use TUI::Drivers::Mouse (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 TUI::Drivers::Mouse instead.
VARIABLES
$buttonCount
Contains the number of mouse buttons detected on the system.
$handlerInstalled
Indicates whether the mouse event handler is currently installed.
$noMouse
Indicates whether mouse hardware is available.
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 TUI::Drivers::Mouse.
SEE ALSO
TUI::Drivers::Mouse, TUI::Drivers::HardwareInfo, TUI::Drivers::Event
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).