mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 13:48:40 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user