mirror of
				https://github.com/yuzu-emu/yuzu.git
				synced 2025-11-04 02:53:42 +00:00 
			
		
		
		
	Added SetIsPalmaAllConnectable, SetPalmaBoostMode
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
This commit is contained in:
		
							parent
							
								
									d104478f1b
								
							
						
					
					
						commit
						e658118aa9
					
				@ -286,10 +286,10 @@ public:
 | 
			
		||||
            {519, nullptr, "GetPalmaOperationResult"},
 | 
			
		||||
            {520, nullptr, "ReadPalmaPlayLog"},
 | 
			
		||||
            {521, nullptr, "ResetPalmaPlayLog"},
 | 
			
		||||
            {522, nullptr, "SetIsPalmaAllConnectable"},
 | 
			
		||||
            {522, &Hid::SetIsPalmaAllConnectable, "SetIsPalmaAllConnectable"},
 | 
			
		||||
            {523, nullptr, "SetIsPalmaPairedConnectable"},
 | 
			
		||||
            {524, nullptr, "PairPalma"},
 | 
			
		||||
            {525, nullptr, "SetPalmaBoostMode"},
 | 
			
		||||
            {525, &Hid::SetPalmaBoostMode, "SetPalmaBoostMode"},
 | 
			
		||||
            {1000, nullptr, "SetNpadCommunicationMode"},
 | 
			
		||||
            {1001, nullptr, "GetNpadCommunicationMode"},
 | 
			
		||||
        };
 | 
			
		||||
@ -596,6 +596,18 @@ private:
 | 
			
		||||
        rb.Push(RESULT_SUCCESS);
 | 
			
		||||
        LOG_WARNING(Service_HID, "(STUBBED) called");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void SetIsPalmaAllConnectable(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
        IPC::ResponseBuilder rb{ctx, 2};
 | 
			
		||||
        rb.Push(RESULT_SUCCESS);
 | 
			
		||||
        LOG_WARNING(Service_HID, "(STUBBED) called");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void SetPalmaBoostMode(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
        IPC::ResponseBuilder rb{ctx, 2};
 | 
			
		||||
        rb.Push(RESULT_SUCCESS);
 | 
			
		||||
        LOG_WARNING(Service_HID, "(STUBBED) called");
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
class HidDbg final : public ServiceFramework<HidDbg> {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user