Skip to content

Commit

Permalink
Server: increased sending delays when adjusting the volume
Browse files Browse the repository at this point in the history
  • Loading branch information
DvaMishkiLapa committed Dec 2, 2024
1 parent 6b66351 commit fe183af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/ctrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ void get_ctrl_as_netprotocol(flatbuffers::FlatBufferBuilder &builder, SharedData
sceCtrlPeekBufferPositive(0, &pad, 1);
}
if (pad.buttons & SCE_CTRL_SELECT && pad.buttons & SCE_CTRL_LTRIGGER){
sceKernelDelayThread(20 * 1000);
sceKernelDelayThread(50 * 1000);
pad.buttons |= SCE_CTRL_VOLDOWN;
}
if (pad.buttons & SCE_CTRL_SELECT && pad.buttons & SCE_CTRL_RTRIGGER){
sceKernelDelayThread(20 * 1000);
sceKernelDelayThread(50 * 1000);
pad.buttons |= SCE_CTRL_VOLUP;
}

Expand Down

0 comments on commit fe183af

Please sign in to comment.