mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-25 01:50:57 +01:00
[rpcsx-os] hid: fix R3 button mapping
This commit is contained in:
parent
6358be32a0
commit
dce66744bd
|
|
@ -850,7 +850,7 @@ int main(int argc, const char *argv[]) {
|
|||
bridge->kbPadState.r2 = 0xff;
|
||||
}
|
||||
if (glfwGetKey(window, GLFW_KEY_APOSTROPHE) == GLFW_PRESS) {
|
||||
bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnL3;
|
||||
bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnR3;
|
||||
}
|
||||
|
||||
if (glfwGetKey(window, GLFW_KEY_ENTER) == GLFW_PRESS) {
|
||||
|
|
|
|||
|
|
@ -10,9 +10,7 @@
|
|||
#include <bit>
|
||||
#include <crypto/sha1.h>
|
||||
#include <elf.h>
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <orbis/thread/Process.hpp>
|
||||
#include <sys/mman.h>
|
||||
#include <unordered_map>
|
||||
|
|
@ -34,10 +32,8 @@ static std::vector<std::byte> unself(const std::byte *image, std::size_t size) {
|
|||
std::uint16_t unk1;
|
||||
std::uint32_t padding3;
|
||||
};
|
||||
|
||||
static_assert(0x18 == 24);
|
||||
|
||||
static_assert(sizeof(Header) == 0x20);
|
||||
|
||||
struct [[gnu::packed]] Segment {
|
||||
std::uint64_t flags;
|
||||
std::uint64_t offset;
|
||||
|
|
|
|||
Loading…
Reference in a new issue