mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
Add UI to configure keyboard-to-controller mapping (#308)
* Add UI to configure keyboard-to-controller mapping * Add an optional "---fix" argument to format-checking script * clang fix --------- Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
This commit is contained in:
parent
74c2888aaa
commit
fdb13a3b90
18 changed files with 1436 additions and 173 deletions
|
@ -4,7 +4,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "SDL3/SDL_stdinc.h"
|
||||
#include "input/keys_constants.h"
|
||||
#include "types.h"
|
||||
|
||||
namespace Config {
|
||||
|
@ -79,6 +82,8 @@ void setPkgViewer(const std::vector<std::string>& pkgList);
|
|||
void setElfViewer(const std::vector<std::string>& elfList);
|
||||
void setRecentFiles(const std::vector<std::string>& recentFiles);
|
||||
void setEmulatorLanguage(std::string language);
|
||||
void setKeyboardBindingMap(std::map<u32, KeysMapping> map);
|
||||
const std::map<u32, KeysMapping>& getKeyboardBindingMap();
|
||||
|
||||
u32 getMainWindowGeometryX();
|
||||
u32 getMainWindowGeometryY();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue