This is the bodge-host Reference Manual, version 1.0.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 03:23:41 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
bodge-hostOS-dependent routines
Pavel Korolev
MIT
1.0.0
bodge-utilities (system).
cffi-c-ref (system).
bodge-libc-essentials (system).
bodge-concurrency (system).
bodge-math (system).
bodge-glfw (system).
glfw-blob (system).
float-features (system).
packages.lisp (file).
utils.lisp (file).
cursor.lisp (file).
monitor.lisp (file).
window.lisp (file).
controller.lisp (file).
host.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
bodge-host/bodge-host.asdbodge-host/packages.lispbodge-host/utils.lispbodge-host/cursor.lispbodge-host/monitor.lispbodge-host/window.lispbodge-host/controller.lispbodge-host/host.lispbodge-host/utils.lisppackages.lisp (file).
bodge-host (system).
bind-main-rendering-context (function).
*host-thread-p* (special variable).
*key-map* (special variable).
*mouse-button-map* (special variable).
+button-state-values+ (constant).
+expected-dpi+ (constant).
+keyboard-key-modifier-values+ (constant).
+keyboard-key-values+ (constant).
+mouse-button-values+ (constant).
button-state (type).
button-state-p (function).
check-host-thread (function).
find-window-by-handle (function).
glfw-enumval->button-state (function).
glfw-enumval->keyboard-key (function).
glfw-enumval->mouse-button (function).
keyboard-key (type).
keyboard-key->glfw-enumval (function).
keyboard-key-modifier (type).
keyboard-key-modifier-p (function).
keyboard-key-p (function).
mouse-button (type).
mouse-button->glfw-enumval (function).
mouse-button-p (function).
window-table-of (generic reader).
bodge-host/cursor.lisputils.lisp (file).
bodge-host (system).
destroy-cursor (function).
make-standard-cursor (function).
+cursor-type-values+ (constant).
cursor-type (type).
cursor-type->glfw (function).
cursor-type-p (function).
bodge-host/monitor.lispcursor.lisp (file).
bodge-host (system).
available-monitors (function).
monitor-name (function).
monitor-position (function).
monitor-video-mode (function).
primary-monitor (function).
video-mode-blue-bits (function).
video-mode-green-bits (function).
video-mode-height (function).
video-mode-red-bits (function).
video-mode-refresh-rate (function).
video-mode-width (function).
monitor-content-scale (function).
primary-monitor-content-scale (function).
bodge-host/window.lispmonitor.lisp (file).
bodge-host (system).
bind-shared-rendering-context (function).
cursor (function).
(setf cursor) (function).
cursor-position (function).
destroy-shared-rendering-context (function).
framebuffer-size (function).
(setf fullscreen-viewport-p) (function).
hide-window (function).
initialize-instance (method).
keyboard-button-state (function).
lock-cursor (function).
make-shared-rendering-context (function).
modifiers-engaged-p (function).
mouse-button-state (function).
on-character-input (generic function).
on-controller-connect (generic function).
on-controller-disconnect (generic function).
on-cursor-movement (generic function).
on-destroy (generic function).
on-dpad-action (generic function).
on-framebuffer-size-change (generic function).
on-gamepad-action (generic function).
on-gamepad-connect (generic function).
on-gamepad-disconnect (generic function).
on-hide (generic function).
on-init (generic function).
on-key-action (generic function).
on-left-stick-movement (generic function).
on-left-trigger (generic function).
on-log (generic function).
on-mouse-action (generic function).
on-right-stick-movement (generic function).
on-right-trigger (generic function).
on-scroll (generic function).
on-viewport-size-change (generic function).
release-rendering-context (function).
show-window (function).
swap-buffers (function).
unlock-cursor (function).
viewport-autoscaled-p (reader method).
viewport-position (function).
(setf viewport-position) (function).
viewport-scale (function).
viewport-size (function).
(setf viewport-size) (function).
(setf viewport-title) (function).
window (class).
window-monitor (function).
with-framebuffer-dimensions (macro).
with-viewport-dimensions (macro).
%bool (function).
%framebuffer-dimensions (function).
%handle-of (reader method).
%modifier-mask-of (reader method).
%update-modifier-mask (function).
%viewport-autoscale (function).
%viewport-dimensions (function).
%window-monitor (function).
+default-window-height+ (constant).
+default-window-width+ (constant).
calc-dpi-scale (function).
calc-scale (function).
create-window (function).
destroy-window (function).
init-callbacks (function).
init-window (function).
make-shared-context (function).
select-monitor (function).
bodge-host/controller.lispwindow.lisp (file).
bodge-host (system).
controller-axes (reader).
controller-axis-value (function).
controller-button-pressed-p (function).
controller-buttons (reader).
controller-guid (reader).
(setf controller-guid) (writer).
controller-hat-state (function).
controller-hats (reader).
controller-name (reader).
gamepad-guid (reader).
(setf gamepad-guid) (writer).
gamepad-name (reader).
(setf gamepad-name) (writer).
gamepad-state (function).
gamepad-state-button-pressed-p (function).
gamepad-state-dpad (function).
gamepad-state-left-stick (function).
gamepad-state-left-trigger (function).
gamepad-state-right-stick (function).
gamepad-state-right-trigger (function).
%gamepad-button-pressed-p (function).
%make-axis (function).
%make-button (function).
%make-controller (function).
%make-gamepad (function).
%make-hat (function).
axis (structure).
axis-controller-id (reader).
axis-id (reader).
axis-p (function).
button (structure).
button-controller-id (function).
button-id (function).
button-p (function).
controller (structure).
controller-hub-controllers (function).
controller-hub-gamepads (function).
controller-id (reader).
controller-p (function).
copy-axis (function).
copy-button (function).
copy-controller (function).
copy-gamepad (function).
copy-hat (function).
destroy-controller-hub (function).
destroy-gamepad (function).
find-controller (function).
find-gamepad (function).
for-each-updated-gamepad (function).
gamepad (structure).
gamepad-%state (reader).
(setf gamepad-%state) (writer).
gamepad-button->nk (function).
gamepad-id (reader).
(setf gamepad-id) (writer).
gamepad-p (function).
glfw->hat-state (function).
hat (structure).
hat-controller-id (function).
hat-id (function).
hat-p (function).
make-controller (function).
make-controller-hub (function).
make-gamepad (function).
register-controller (function).
remove-controller (function).
bodge-host/host.lispcontroller.lisp (file).
bodge-host (system).
*event-wait-timeout* (special variable).
close-window (function).
list-controllers (function).
list-gamepads (function).
open-window (function).
progm (macro).
push-to-main-thread (function).
swap-interval (function).
(setf swap-interval) (function).
update-gamepad-mappings (function).
%update-gamepad-mappings (function).
*context* (special variable).
*gamepad-buttons* (special variable).
context-enabled-p (function).
do-windows (macro).
ensure-context (function).
for-each-window (function).
host-context (class).
init-context (function).
init-main-loop (function).
invoke-controller-listeners (function).
register-window (function).
release-context (function).
remove-window (function).
run-main-loop (function).
sweep-context (function).
update-gamepads (function).
window-table-of (reader method).
with-context-locked (macro).
Packages are listed by definition order.
bodge-hostbodge-concurrency.
bodge-math.
bodge-util.
cffi-c-ref.
common-lisp.
*event-wait-timeout* (special variable).
available-monitors (function).
bind-main-rendering-context (function).
bind-shared-rendering-context (function).
close-window (function).
controller-axes (reader).
controller-axis-value (function).
controller-button-pressed-p (function).
controller-buttons (reader).
controller-guid (reader).
(setf controller-guid) (writer).
controller-hat-state (function).
controller-hats (reader).
controller-name (reader).
cursor (function).
(setf cursor) (function).
cursor-position (function).
destroy-cursor (function).
destroy-shared-rendering-context (function).
framebuffer-size (function).
(setf fullscreen-viewport-p) (function).
gamepad-guid (reader).
(setf gamepad-guid) (writer).
gamepad-name (reader).
(setf gamepad-name) (writer).
gamepad-state (function).
gamepad-state-button-pressed-p (function).
gamepad-state-dpad (function).
gamepad-state-left-stick (function).
gamepad-state-left-trigger (function).
gamepad-state-right-stick (function).
gamepad-state-right-trigger (function).
hide-window (function).
keyboard-button-state (function).
list-controllers (function).
list-gamepads (function).
lock-cursor (function).
make-shared-rendering-context (function).
make-standard-cursor (function).
modifiers-engaged-p (function).
monitor-name (function).
monitor-position (function).
monitor-video-mode (function).
mouse-button-state (function).
on-character-input (generic function).
on-controller-connect (generic function).
on-controller-disconnect (generic function).
on-cursor-movement (generic function).
on-destroy (generic function).
on-dpad-action (generic function).
on-framebuffer-size-change (generic function).
on-gamepad-action (generic function).
on-gamepad-connect (generic function).
on-gamepad-disconnect (generic function).
on-hide (generic function).
on-init (generic function).
on-key-action (generic function).
on-left-stick-movement (generic function).
on-left-trigger (generic function).
on-log (generic function).
on-mouse-action (generic function).
on-right-stick-movement (generic function).
on-right-trigger (generic function).
on-scroll (generic function).
on-viewport-size-change (generic function).
open-window (function).
primary-monitor (function).
progm (macro).
push-to-main-thread (function).
release-rendering-context (function).
show-window (function).
swap-buffers (function).
swap-interval (function).
(setf swap-interval) (function).
unlock-cursor (function).
update-gamepad-mappings (function).
video-mode-blue-bits (function).
video-mode-green-bits (function).
video-mode-height (function).
video-mode-red-bits (function).
video-mode-refresh-rate (function).
video-mode-width (function).
viewport-autoscaled-p (generic reader).
viewport-position (function).
(setf viewport-position) (function).
viewport-scale (function).
viewport-size (function).
(setf viewport-size) (function).
(setf viewport-title) (function).
window (class).
window-monitor (function).
with-framebuffer-dimensions (macro).
with-viewport-dimensions (macro).
%bool (function).
%framebuffer-dimensions (function).
%gamepad-button-pressed-p (function).
%handle-of (generic reader).
%make-axis (function).
%make-button (function).
%make-controller (function).
%make-gamepad (function).
%make-hat (function).
%modifier-mask-of (generic reader).
%update-gamepad-mappings (function).
%update-modifier-mask (function).
%viewport-autoscale (function).
%viewport-dimensions (function).
%window-monitor (function).
*context* (special variable).
*gamepad-buttons* (special variable).
*host-thread-p* (special variable).
*key-map* (special variable).
*mouse-button-map* (special variable).
*window* (special variable).
+button-state-values+ (constant).
+cursor-type-values+ (constant).
+default-window-height+ (constant).
+default-window-width+ (constant).
+expected-dpi+ (constant).
+keyboard-key-modifier-values+ (constant).
+keyboard-key-values+ (constant).
+mouse-button-values+ (constant).
axis (structure).
axis-controller-id (reader).
axis-id (reader).
axis-p (function).
button (structure).
button-controller-id (function).
button-id (function).
button-p (function).
button-state (type).
button-state-p (function).
calc-dpi-scale (function).
calc-scale (function).
check-host-thread (function).
context-enabled-p (function).
controller (structure).
controller-hub-controllers (function).
controller-hub-gamepads (function).
controller-id (reader).
controller-p (function).
copy-axis (function).
copy-button (function).
copy-controller (function).
copy-gamepad (function).
copy-hat (function).
create-window (function).
cursor-type (type).
cursor-type->glfw (function).
cursor-type-p (function).
destroy-controller-hub (function).
destroy-gamepad (function).
destroy-window (function).
do-windows (macro).
ensure-context (function).
find-controller (function).
find-gamepad (function).
find-window-by-handle (function).
for-each-updated-gamepad (function).
for-each-window (function).
gamepad (structure).
gamepad-%state (reader).
(setf gamepad-%state) (writer).
gamepad-button->nk (function).
gamepad-id (reader).
(setf gamepad-id) (writer).
gamepad-p (function).
glfw->hat-state (function).
glfw-enumval->button-state (function).
glfw-enumval->keyboard-key (function).
glfw-enumval->mouse-button (function).
hat (structure).
hat-controller-id (function).
hat-id (function).
hat-p (function).
host-context (class).
init-callbacks (function).
init-context (function).
init-main-loop (function).
init-window (function).
invoke-controller-listeners (function).
keyboard-key (type).
keyboard-key->glfw-enumval (function).
keyboard-key-modifier (type).
keyboard-key-modifier-p (function).
keyboard-key-p (function).
make-controller (function).
make-controller-hub (function).
make-gamepad (function).
make-shared-context (function).
monitor-content-scale (function).
mouse-button (type).
mouse-button->glfw-enumval (function).
mouse-button-p (function).
primary-monitor-content-scale (function).
register-controller (function).
register-window (function).
release-context (function).
remove-controller (function).
remove-window (function).
run-main-loop (function).
select-monitor (function).
sweep-context (function).
update-gamepads (function).
window-table-of (generic reader).
with-context-locked (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
guid.
Must be run from main thread (see progm macro)
guid.
name.
Must be run from main thread (see progm macro)
This slot is read-only.
3
3
:title
:height
:width
:resizable
t
:decorated
:transparent
:floating
:maximized
:samples
common-lisp.
:position
t
:autoscaled
This slot is read-only.
0
This slot is read-only.
id.
host-context)) ¶automatically generated reader method
structure-object.
fixnum
0
This slot is read-only.
structure-object.
0
This slot is read-only.
string
""
This slot is read-only.
string
""
list
This slot is read-only.
list
This slot is read-only.
list
This slot is read-only.
| Jump to: | %
(
A B C D E F G H I K L M O P R S U V W |
|---|
| Jump to: | %
(
A B C D E F G H I K L M O P R S U V W |
|---|
| Jump to: | %
*
+
A B C D E F G H I M N P R S T W |
|---|
| Jump to: | %
*
+
A B C D E F G H I M N P R S T W |
|---|
| Jump to: | A B C F G H K M P S T U W |
|---|
| Jump to: | A B C F G H K M P S T U W |
|---|