[rpcsx-gpu] Bind PS button to ESC kb key

implement basic texture swizzling support
skip pm4 type 2 packets
This commit is contained in:
DH 2024-01-13 19:29:42 +03:00
parent 4ee9c60f69
commit f254b38fec
3 changed files with 88 additions and 30 deletions

View file

@ -935,7 +935,9 @@ int main(int argc, const char *argv[]) {
if (glfwGetKey(window, GLFW_KEY_F) == GLFW_PRESS) {
bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnL3;
}
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS) {
bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnPs;
}
if (glfwGetKey(window, GLFW_KEY_I) == GLFW_PRESS) {
bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnR1;
}