From ecba99cd7eac30b16d590e9fb3e5b73b7c172f9d Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 16 Jun 2023 22:49:33 -0500 Subject: [PATCH] Make pad argument of GetPanel default to 0. --- sample/PGEX_SMX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/PGEX_SMX.h b/sample/PGEX_SMX.h index 3cf1f29..fb907c0 100644 --- a/sample/PGEX_SMX.h +++ b/sample/PGEX_SMX.h @@ -14,7 +14,7 @@ public: //DOWN is 0x80 //LEFT is 0x08 //Add these bytes together to get the combination (all 4 held down is 0xAA - HWButton GetPanel(Key k,int pad)const{ + HWButton GetPanel(Key k,int pad=0)const{ return panelState[k-UP]; }; void EnableLogMessages(bool enabled){