mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	service/apt: Add and implement more service commands. (#6721)
* service/apt: Add and implement more service commands. * service/apt: Implement power button. * Address review comments and fix GetApplicationRunningMode bug.
This commit is contained in:
		
							parent
							
								
									51996c54f0
								
							
						
					
					
						commit
						bb364d9bc0
					
				
					 31 changed files with 939 additions and 221 deletions
				
			
		|  | @ -29,7 +29,7 @@ Config::~Config() { | |||
| const std::array<int, Settings::NativeButton::NumButtons> Config::default_buttons = { | ||||
|     Qt::Key_A, Qt::Key_S, Qt::Key_Z, Qt::Key_X, Qt::Key_T, Qt::Key_G, | ||||
|     Qt::Key_F, Qt::Key_H, Qt::Key_Q, Qt::Key_W, Qt::Key_M, Qt::Key_N, | ||||
|     Qt::Key_O, Qt::Key_P, Qt::Key_1, Qt::Key_2, Qt::Key_B, | ||||
|     Qt::Key_O, Qt::Key_P, Qt::Key_1, Qt::Key_2, Qt::Key_B, Qt::Key_V, | ||||
| }; | ||||
| 
 | ||||
| const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> Config::default_analogs{{ | ||||
|  |  | |||
|  | @ -162,7 +162,7 @@ ConfigureInput::ConfigureInput(QWidget* parent) | |||
|         ui->buttonDpadUp, ui->buttonDpadDown, ui->buttonDpadLeft, ui->buttonDpadRight, | ||||
|         ui->buttonL,      ui->buttonR,        ui->buttonStart,    ui->buttonSelect, | ||||
|         ui->buttonDebug,  ui->buttonGpio14,   ui->buttonZL,       ui->buttonZR, | ||||
|         ui->buttonHome, | ||||
|         ui->buttonHome,   ui->buttonPower, | ||||
|     }; | ||||
| 
 | ||||
|     analog_map_buttons = {{ | ||||
|  |  | |||
|  | @ -305,6 +305,24 @@ | |||
|          </layout> | ||||
|         </item> | ||||
|         <item row="1" column="1"> | ||||
|          <layout class="QVBoxLayout" name="verticalLayout_34"> | ||||
|           <item> | ||||
|            <widget class="QLabel" name="label_37"> | ||||
|             <property name="text"> | ||||
|              <string>Power:</string> | ||||
|             </property> | ||||
|            </widget> | ||||
|           </item> | ||||
|           <item> | ||||
|            <widget class="QPushButton" name="buttonPower"> | ||||
|             <property name="text"> | ||||
|              <string/> | ||||
|             </property> | ||||
|            </widget> | ||||
|           </item> | ||||
|          </layout> | ||||
|         </item> | ||||
|         <item row="2" column="0"> | ||||
|          <layout class="QVBoxLayout" name="verticalLayout_28"> | ||||
|           <item> | ||||
|            <widget class="QLabel" name="label_36"> | ||||
|  | @ -340,7 +358,7 @@ | |||
|           </item> | ||||
|          </layout> | ||||
|         </item> | ||||
|         <item row="2" column="0"> | ||||
|         <item row="3" column="0"> | ||||
|          <layout class="QVBoxLayout" name="verticalLayout_32"> | ||||
|           <item> | ||||
|            <widget class="QLabel" name="label_40"> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue