Skip to content

input_system::key_events

Paweł Waligóra edited this page May 22, 2024 · 2 revisions

Description

A global 2D array of engine::event_subscription_lists. Indexed by GLFW_KEY_... or GLFW_MOUSE_... and GLFW_PRESS or GLFW_RELEASE.

Example: all events from input_system::key_events[GLFW_KEY_A][GLFW_PRESS] Will be called when A is pressed on the keyboard.

For handling engine::event_subscription_list refer to it's site.

Usage of this array is unadvised. Use input_system::key_bind instead.

#include "input_system.h"

Home

Git Workflow

Issues

Coding Rules

Skrypty-Tutorial

Useful resources

Game Structure

Code Structure

Clone this wiki locally