- [NEW] Afegit menu per a redefinir els botons del gamepad

This commit is contained in:
2024-10-02 13:43:32 +02:00
parent 54667d3ebc
commit c92f2a13aa
8 changed files with 166 additions and 20 deletions

19
source/m_menu_gamepad.h Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
namespace modules
{
namespace menu_gamepad
{
#define MENU_GAMEPAD_NONE -1
#define MENU_GAMEPAD_AMUNT 0
#define MENU_GAMEPAD_AVALL 1
#define MENU_GAMEPAD_ESQUERRA 2
#define MENU_GAMEPAD_DRETA 3
#define MENU_GAMEPAD_BOTAR 4
#define MENU_GAMEPAD_AGAFAR 5
#define MENU_GAMEPAD_TORNAR 6
void init();
int loop();
}
}