mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Add option for keyboard layout
This commit is contained in:
parent
8a31c7a7c8
commit
86a8b5924a
13 changed files with 203 additions and 139 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "basic_keyboard_handler.h"
|
||||
#include "basic_keyboard_handler.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QKeyEvent>
|
||||
|
|
@ -15,10 +15,7 @@ void basic_keyboard_handler::Init(const u32 max_connect)
|
|||
{
|
||||
Keyboard kb = Keyboard();
|
||||
|
||||
// Only differentiate between japanese and us layouts right now
|
||||
kb.m_config.arrange = g_cfg.sys.language == 0 // CELL_SYSUTIL_LANG_JAPANESE
|
||||
? CELL_KB_MAPPING_106
|
||||
: CELL_KB_MAPPING_101;
|
||||
kb.m_config.arrange = g_cfg.sys.keyboard_type;
|
||||
|
||||
m_keyboards.emplace_back();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue