Files
azahar/src/citra_qt/configuration/configure_hotkeys_controller.ui
T
NovaChild 38e6e79024 Desktop: Controller improvements - readable labels, controller hotkeys, option to apply profiles to all controllers (#1717)
* controller hotkey support and SDL refactor to use GameController API,
which adds more user-readable names to controller input maps

* Add "Press A (right) button" command to input automap that will map in nintendo layout if the user has a nintendo layout / prefers to match letters rather than position.

* honor shortcut context with controller hotkeys

* fix profiles not saving correctly

* analog_from_keyboard display fix, build error fix

* attempt to fix event_queue bugs

* Do not signal savestate if system is powered off

---------

Co-authored-by: PabloMK7 <hackyglitch2@gmail.com>
2026-07-10 17:09:34 +02:00

136 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ConfigureControllerHotkeys</class>
<widget class="QWidget" name="ConfigureControllerHotkeys">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>933</width>
<height>388</height>
</rect>
</property>
<property name="windowTitle">
<string>Controller Hotkey Settings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Double-click on a binding to change it. You can use two-button chords as well.</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="button_clear_all">
<property name="text">
<string>Clear All</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<item alignment="Qt::AlignRight">
<widget class="QLabel" name="label_16">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>166</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1920192</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Some mappings cannot be applied to all controllers, such as back buttons</string>
</property>
<property name="text">
<string>Apply Controller Hotkeys To:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxMappingType">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>All controllers</string>
</property>
</item>
<item>
<property name="text">
<string>Controllers of the mapped type</string>
</property>
</item>
<item>
<property name="text">
<string>Only the mapped controller</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTreeView" name="hotkey_list">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="sortingEnabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>