Add secondary joystick hard drop and deliver build 05

This commit is contained in:
Brian Holman committed 2026-11-11 15:35:49 -07:00
1 parent a07c41555a
commit 49bc78158a
21 files changed
+230 -35

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ static QActions sample(Q16 ms)
disableInterrupts();
Player_disableSound();
axes=readJoystickPositions();for(i=0;i<4;++i)joystick_axes[i]=axes[i];
keys=keyboard_read(&joystick_buttons,scene==PLAY?(Q8)(KEYBOARD_PLAY|(preferences.clockwise<<1)):scene==INITIALS?(Q8)KEYBOARD_INITIALS:(Q8)0);
keys=keyboard_read(&joystick_buttons,scene==PLAY?(Q8)(KEYBOARD_PLAY|(preferences.clockwise<<1)):scene==INITIALS?(Q8)KEYBOARD_INITIALS:(Q8)0,port);
Player_disableSound();
enableInterrupts();
if(port<2)button=!(joystick_buttons&(port==1?JOYSTK_BUTTON_1_LEFT:JOYSTK_BUTTON_1_RIGHT));