mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
Remove C++ syntax from card.h and pad.h (#105)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#ifndef _DOLPHIN_CARD_H_
|
||||
#define _DOLPHIN_CARD_H_
|
||||
|
||||
#include <string_view>
|
||||
#include <dolphin/os.h>
|
||||
#include <dolphin/dsp.h>
|
||||
#include <dolphin/dvd.h>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#define PAD_BUTTON_MENU 0x1000
|
||||
#define PAD_BUTTON_START 0x1000
|
||||
|
||||
const static uint32_t PAD_BUTTON_COUNT = 12;
|
||||
#define PAD_BUTTON_COUNT 12
|
||||
|
||||
// added by Aurora, not present in original SDK
|
||||
#define PAD_AXIS_LEFT_X_POS 0
|
||||
@@ -55,7 +55,7 @@ const static uint32_t PAD_BUTTON_COUNT = 12;
|
||||
#define PAD_AXIS_TRIGGER_L 8
|
||||
#define PAD_AXIS_TRIGGER_R 9
|
||||
|
||||
const static uint32_t PAD_AXIS_COUNT = 10;
|
||||
#define PAD_AXIS_COUNT 10
|
||||
|
||||
#define PAD_CHAN0_BIT 0x80000000
|
||||
#define PAD_CHAN1_BIT 0x40000000
|
||||
|
||||
Reference in New Issue
Block a user