UInputMan

From Data Realms Wiki

(Redirected from UInputManager)
Jump to: navigation, search

Contents

UInputMan

UInputMan is a UserData that manages user input. This for Cortex Command can be the mouse, keyboard, or a game pad. (The joystick functions are probably for gamepads.)

Member functions

Functions for the most part correspond to a specific controller device, though a few are more general

General

Mouse

Keyboard

Gamepad

Notes

Key/Button values are numbers and correspond to the values in Settings.ini.
These values may be found from the console by calling a function while a key is held down. Here are some examples:

  1. print(WhichKeyHeld()) --Keyboard
  2. print(WhichJoyButtonPressed()) --Gamepad

Alternatively you can see this list: Keylist

Personal tools