VR-Engage  2.2
Loading...
Searching...
No Matches
joystickManager.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file joystickManager.h
7//! \brief Defines Lua bindings for joystick management functionality
8//!
9//! This file contains the function for registering joystick management functionality
10//! with Lua. It allows Lua scripts to interact with the joystick management system
11//! to enumerate connected devices, manage controller configurations, and handle
12//! global joystick events in the VREngage system.
13
14#pragma once
15
17
18struct lua_State;
19
20namespace makVre
21{
22//! \brief Registers joystick manager functions with a Lua state
23//! \param L Pointer to the Lua state to register with
24//! \return Number of values pushed onto the Lua stack
25//!
26//! This function registers joystick management functionality with the specified
27//! Lua state. It creates a JoystickManager table in Lua with functions for
28//! enumerating connected devices, configuring controllers, and handling global
29//! joystick events in the VREngage system.
31} // namespace makVre
Defines export macros for the vreLuaBindings library.
#define VRELUABINDING_DLL
Export/import macro for non-Windows platforms.
Definition export.h:37
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
int VRELUABINDING_DLL luaopen_JoystickManager(lua_State *L)
Registers joystick manager functions with a Lua state.