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){