15 lines
421 B
C++
15 lines
421 B
C++
// Copyright (c) 2022 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include "input/InputManager.hpp"
|
|
|
|
#define dbind(n) ((inputbind_t)n)
|
|
|
|
#define INPUT_BIND_ACCEPT dbind(1)
|
|
#define INPUT_BIND_NEGATIVE_X dbind(2)
|
|
#define INPUT_BIND_POSITIVE_X dbind(3)
|
|
#define INPUT_BIND_NEGATIVE_Y dbind(4)
|
|
#define INPUT_BIND_POSITIVE_Y dbind(5) |