~sebsite/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH ultimate-syobon-action] get rid of KEY_INPUT_*

Details
Message ID
<20230812073200.32546-1-ecs@d2evs.net>
DKIM signature
missing
Download raw message
Patch: +0 -43
---
 DxLib.cpp |  3 ---
 DxLib.h   | 40 ----------------------------------------
 2 files changed, 43 deletions(-)

diff --git a/DxLib.cpp b/DxLib.cpp
index 49c4d57..180e80b 100644
--- a/DxLib.cpp
+++ b/DxLib.cpp
@@ -115,9 +115,6 @@ void DrawFormatString(int a, int b, Uint32 color, const char *str, ...)

//void DrawFormatString(int a, int b, int c

//Key Aliases
#define KEY_INPUT_ESCAPE SDLK_ESCAPE

bool ex = false;

void UpdateKeys()
diff --git a/DxLib.h b/DxLib.h
index 6f96917..682ac0a 100644
--- a/DxLib.h
+++ b/DxLib.h
@@ -51,46 +51,6 @@ void ChangeFontType(byte type);
void DrawString(int a, int b, const char *x, Uint32 c);
void DrawFormatString(int a, int b, Uint32 color, const char *str, ...);

//Key Aliases
#define KEY_INPUT_ESCAPE SDLK_ESCAPE
#define KEY_INPUT_LEFT SDLK_LEFT
#define KEY_INPUT_RIGHT SDLK_RIGHT
#define KEY_INPUT_DOWN SDLK_DOWN
#define KEY_INPUT_UP SDLK_UP
#define KEY_INPUT_F1 SDLK_F1
#define KEY_INPUT_F2 SDLK_F2
#define KEY_INPUT_F3 SDLK_F3
#define KEY_INPUT_F4 SDLK_F4
#define KEY_INPUT_F5 SDLK_F5
#define KEY_INPUT_F6 SDLK_F6
#define KEY_INPUT_F7 SDLK_F7
#define KEY_INPUT_F8 SDLK_F8
#define KEY_INPUT_F9 SDLK_F9
#define KEY_INPUT_F10 SDLK_F10
#define KEY_INPUT_F11 SDLK_F11
#define KEY_INPUT_F12 SDLK_F12
#define KEY_INPUT_H SDLK_h
#define KEY_INPUT_I SDLK_i
#define KEY_INPUT_J SDLK_j
#define KEY_INPUT_K SDLK_k
#define KEY_INPUT_L SDLK_l
#define KEY_INPUT_O SDLK_o
#define KEY_INPUT_Z SDLK_z
#define KEY_INPUT_RETURN SDLK_RETURN
#define KEY_INPUT_SPACE SDLK_SPACE
#define KEY_INPUT_LCTRL SDLK_LCTRL
#define KEY_INPUT_LSHIFT SDLK_LSHIFT
#define KEY_INPUT_1 SDLK_1
#define KEY_INPUT_2 SDLK_2
#define KEY_INPUT_3 SDLK_3
#define KEY_INPUT_4 SDLK_4
#define KEY_INPUT_5 SDLK_5
#define KEY_INPUT_6 SDLK_6
#define KEY_INPUT_7 SDLK_7
#define KEY_INPUT_8 SDLK_8
#define KEY_INPUT_9 SDLK_9
#define KEY_INPUT_0 SDLK_0

extern SDL_Joystick* joystick;

void UpdateKeys();
-- 
2.41.0
Details
Message ID
<CUQE9MOTWMGH.102Y671J6DD08@notmylaptop>
In-Reply-To
<20230812073200.32546-1-ecs@d2evs.net> (view parent)
DKIM signature
missing
Download raw message
[insert wacky uncharacteristic way to say thanks here]

To gitsrht:~sebsite/ultimate-syobon-action
   2c39bbb..28b1850  main -> main
Reply to thread Export thread (mbox)