mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 18:45:36 +00:00
Merge remote-tracking branch 'origin/input-fix-real' into input-fix-real
This commit is contained in:
commit
32e662d013
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -224,7 +224,10 @@ jobs:
|
||||
arch: clang_64
|
||||
archives: qtbase qttools
|
||||
modules: qtmultimedia
|
||||
|
||||
|
||||
- name: Workaround Qt <=6.9.1 issue
|
||||
run: sed -i '' '/target_link_libraries(WrapOpenGL::WrapOpenGL INTERFACE ${__opengl_agl_fw_path})/d' ${{env.QT_ROOT_DIR}}/lib/cmake/Qt6/FindWrapOpenGL.cmake
|
||||
|
||||
- name: Cache CMake Configuration
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
#include <map>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include "common/enum.h"
|
||||
#include "common/singleton.h"
|
||||
|
@ -104,6 +104,10 @@ const std::map<std::string, u32> string_to_cbutton_map = {
|
||||
|
||||
// this is only for input
|
||||
{"back", SDL_GAMEPAD_BUTTON_BACK},
|
||||
{"lpaddle_high", SDL_GAMEPAD_BUTTON_LEFT_PADDLE1},
|
||||
{"lpaddle_low", SDL_GAMEPAD_BUTTON_LEFT_PADDLE2},
|
||||
{"rpaddle_high", SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1},
|
||||
{"rpaddle_low", SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2},
|
||||
};
|
||||
|
||||
const std::map<std::string, AxisMapping> string_to_axis_map = {
|
||||
@ -259,6 +263,8 @@ const std::map<std::string, u32> string_to_keyboard_key_map = {
|
||||
{"mousewheeldown", SDL_MOUSE_WHEEL_DOWN},
|
||||
{"mousewheelleft", SDL_MOUSE_WHEEL_LEFT},
|
||||
{"mousewheelright", SDL_MOUSE_WHEEL_RIGHT},
|
||||
|
||||
// no binding
|
||||
{"unmapped", SDL_UNMAPPED},
|
||||
};
|
||||
|
||||
|
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>No es pot assignar una entrada més d'una vegada. S'han assignat de manera duplicada pels següents botons:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
@ -337,7 +337,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>The update has been downloaded, press OK to install.</source>
|
||||
<translation>Oppdateringen ble lastet ned, trykk OK for å installere.</translation>
|
||||
<translation>Oppdateringen er lastet ned, trykk OK for å installere.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to save the update file at</source>
|
||||
@ -990,7 +990,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>unmapped</source>
|
||||
<translation>Ikke satt opp</translation>
|
||||
<translation>Ikke tildelt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Left</source>
|
||||
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>Kan ikke tildele samme inndata mer enn én gang. Dupliserte inndata tildeles følgende taster:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>Não é possível atribuir a mesma entrada mais de uma vez. Entradas duplicadas foram atribuídas aos seguintes botões:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
@ -1138,7 +1138,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>This button copies mappings from the Common Config to the currently selected profile, and cannot be used when the currently selected profile is the Common Config.</source>
|
||||
<translation>Эта кнопка копирует настройки из общего конфига в текущий выбранный профиль, и не может быть использован, когда выбранный профиль это общий конфиг.</translation>
|
||||
<translation>Эта кнопка копирует настройки из общего конфига в текущий выбранный профиль, и не может быть использован, когда выбранный профиль - это общий конфиг.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy values from Common Config</source>
|
||||
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>Невозможно привязать уникальный ввод более одного раза. Дублированные вводы назначены на следующие кнопки:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>Det går inte att binda samma unika inmatning mer än en gång. Dubbla inmatningar har mappats till följande knappar:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
@ -1184,7 +1184,7 @@
|
||||
<source>Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
|
||||
%1</source>
|
||||
<translation type="unfinished">Cannot bind any unique input more than once. Duplicate inputs mapped to the following buttons:
|
||||
<translation>不能多次绑定任何同一输入。请重新映射以下按键的输入:
|
||||
|
||||
%1</translation>
|
||||
</message>
|
||||
|
Loading…
Reference in New Issue
Block a user