├── .gitattributes ├── .gitignore ├── App.config ├── App.xaml ├── App.xaml.cs ├── AssemblyInfo.cs ├── Classes ├── ADLX_Managmenet.cs ├── AMDPowerSlide_Management.cs ├── Action_Management.cs ├── AutoFan_Management.cs ├── AutoProfile_Management.cs ├── AutoTDP_Management - Copy.cs ├── AutoTDP_Management.cs ├── Brightness_Management.cs ├── Controller_Management.cs ├── CoreParking_Management.cs ├── CustomizeHome_Management.cs ├── Devices.cs ├── Display_Management.cs ├── EPP_Management.cs ├── EpicGames_Management.cs ├── Fan_Management.cs ├── FullScreen_Management.cs ├── GPUCLK_Management.cs ├── Game_Management.cs ├── Global_Variables.cs ├── Gyroscope_Management.cs ├── HIDHide_Management.cs ├── HardwareHelper.cs ├── Log_Writer.cs ├── MaxProcFreq_Management.cs ├── Motherboard_Info.cs ├── MouseKeyHook.cs ├── MouseMode_Management.cs ├── Notification_Management.cs ├── OSD_Management.cs ├── OpenLibSys.cs ├── Open_Program.cs ├── ParallelTaskUpdate_Management.cs ├── Playnite_Management.cs ├── Powercfg.cs ├── Profiles_Management.cs ├── ProgramSettings.cs ├── QuickAction_Management.cs ├── RTSS.cs ├── RunNotAsAdmin_Shell.cs ├── Run_CLI.cs ├── Start_Up.cs ├── StatusBar_Management.cs ├── Steam_Management.cs ├── TDP_Management.cs ├── TaskSchedulerWin32.cs ├── Task_Scheduler.cs ├── Update_Software.cs ├── UserControl_Management.cs ├── Volume_Management.cs ├── WinRingEC_Management.cs ├── WindowPageUserControl_Management.cs ├── XML_Management.cs ├── librehardwaremonitor.cs └── winringmanagement.txt ├── GameLauncher.xaml ├── GameLauncher.xaml.cs ├── HCP.ico ├── Handheld Control Panel.csproj ├── Handheld Control Panel.sln ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── OSK.xaml ├── OSK.xaml.cs ├── Pages ├── ActionEditPage.xaml ├── ActionEditPage.xaml.cs ├── ActionPage.xaml ├── ActionPage.xaml.cs ├── AppLauncherLargePage.xaml ├── AppLauncherLargePage.xaml.cs ├── AppLauncherPage.xaml ├── AppLauncherPage.xaml.cs ├── AutoFanPage.xaml ├── AutoFanPage.xaml.cs ├── CustomizeHomePage.xaml ├── CustomizeHomePage.xaml.cs ├── DonatePage.xaml ├── DonatePage.xaml.cs ├── HomePage.xaml ├── HomePage.xaml.cs ├── InformationPage.xaml ├── InformationPage.xaml.cs ├── MouseModeEditPage.xaml ├── MouseModeEditPage.xaml.cs ├── MouseModePage.xaml ├── MouseModePage.xaml.cs ├── OtherSoftwarePage.xaml ├── OtherSoftwarePage.xaml.cs ├── PowerPage.xaml ├── PowerPage.xaml.cs ├── ProfileEditPage.xaml ├── ProfileEditPage.xaml.cs ├── ProfilesPage.xaml ├── ProfilesPage.xaml.cs ├── SettingsPage.xaml └── SettingsPage.xaml.cs ├── ProjectSBC.png ├── Properties ├── Settings.Designer.cs └── Settings.settings ├── QuickActionMenu.xaml ├── QuickActionMenu.xaml.cs ├── README.md ├── Resources ├── AMD │ ├── ADLX │ │ ├── ADLX_3DSettings.dll │ │ ├── ADLX_AutoTuning.dll │ │ ├── ADLX_PerformanceMetrics.dll │ │ ├── kernel32.dll │ │ ├── ucrtbased.dll │ │ ├── vcruntime140_1d.dll │ │ └── vcruntime140d.dll │ └── RyzenAdj │ │ ├── WinRing0x64.dll │ │ ├── WinRing0x64.sys │ │ ├── inpoutx64.dll │ │ ├── libryzenadj.dll │ │ └── ryzenadj.exe ├── EC │ ├── EC.exe │ └── WinRing0x64.sys ├── HCP.ico ├── HyaticePowerPlan │ └── HyaticePowerPlan.pow ├── Intel │ ├── KX │ │ └── KX.exe │ ├── MSR │ │ ├── WinIo32.dll │ │ ├── WinIo32.sys │ │ ├── WinIo64.dll │ │ ├── WinIo64.sys │ │ ├── WinRing0x64.dll │ │ ├── WinRing0x64.sys │ │ ├── msr-cmd.exe │ │ └── winio-drv.exe │ └── RW │ │ └── Rw.exe ├── Logs │ └── application_log.txt ├── Pictures │ ├── PCP.ico │ └── gamelauncher_background.jpg ├── Profiles_Template.xml ├── QRes │ └── QRes.exe ├── RTSS │ ├── RTSSHooks64.dll │ └── RTSSSharedMemoryNET.dll ├── SetDPI │ └── SetDpi.exe └── VersionNotes │ └── VersionNotes.txt ├── SplashScreenStartUp.xaml ├── SplashScreenStartUp.xaml.cs ├── StringResources ├── StringResources.es-ES.xaml ├── StringResources.jp.xaml ├── StringResources.kr.xaml ├── StringResources.pt-br.xaml ├── StringResources.ru.xaml ├── StringResources.xaml └── StringResources.zh-Hans.xaml ├── Styles ├── ControlStyle.xaml ├── ControlStyle.xaml.cs └── ControlStyleIcons.xaml ├── Update.xml ├── UserControls ├── EditActionUserControls │ ├── Action_Dropdown.xaml │ ├── Action_Dropdown.xaml.cs │ ├── AddQuickActionPanel_Toggle.xaml │ ├── AddQuickActionPanel_Toggle.xaml.cs │ ├── Hotkey_Button.xaml │ ├── Hotkey_Button.xaml.cs │ ├── Parameter_Dropdown.xaml │ ├── Parameter_Dropdown.xaml.cs │ ├── Type_Dropdown.xaml │ └── Type_Dropdown.xaml.cs ├── EditMouseModeUserControls │ ├── A_Dropdown.xaml │ ├── A_Dropdown.xaml.cs │ ├── B_Dropdown.xaml │ ├── B_Dropdown.xaml.cs │ ├── Back_Dropdown.xaml │ ├── Back_Dropdown.xaml.cs │ ├── DPD_Dropdown.xaml │ ├── DPD_Dropdown.xaml.cs │ ├── DPL_Dropdown.xaml │ ├── DPL_Dropdown.xaml.cs │ ├── DPR_Dropdown.xaml │ ├── DPR_Dropdown.xaml.cs │ ├── DPU_Dropdown.xaml │ ├── DPU_Dropdown.xaml.cs │ ├── DefaultMM_Toggle.xaml │ ├── DefaultMM_Toggle.xaml.cs │ ├── L3_Dropdown.xaml │ ├── L3_Dropdown.xaml.cs │ ├── LB_Dropdown.xaml │ ├── LB_Dropdown.xaml.cs │ ├── LT_Dropdown.xaml │ ├── LT_Dropdown.xaml.cs │ ├── LeftStick_Dropdown.xaml │ ├── LeftStick_Dropdown.xaml.cs │ ├── MMName_Textbox.xaml │ ├── MMName_Textbox.xaml.cs │ ├── MouseSensitivity_Slider.xaml │ ├── MouseSensitivity_Slider.xaml.cs │ ├── R3_Dropdown.xaml │ ├── R3_Dropdown.xaml.cs │ ├── RB_Dropdown.xaml │ ├── RB_Dropdown.xaml.cs │ ├── RT_Dropdown.xaml │ ├── RT_Dropdown.xaml.cs │ ├── RightStick_Dropdown.xaml │ ├── RightStick_Dropdown.xaml.cs │ ├── Start_Dropdown.xaml │ ├── Start_Dropdown.xaml.cs │ ├── X_Dropdown.xaml │ ├── X_Dropdown.xaml.cs │ ├── Y_Dropdown.xaml │ └── Y_Dropdown.xaml.cs ├── EditProfileUserControls │ ├── AppType_Textbox.xaml │ ├── AppType_Textbox.xaml.cs │ ├── Default_Toggle.xaml │ ├── Default_Toggle.xaml.cs │ ├── Image_Textbox.xaml │ ├── Image_Textbox.xaml.cs │ ├── OfflineActiveCore_Slider.xaml │ ├── OfflineActiveCore_Slider.xaml.cs │ ├── OfflineEPP_Slider.xaml │ ├── OfflineEPP_Slider.xaml.cs │ ├── OfflineFPS_Slider.xaml │ ├── OfflineFPS_Slider.xaml.cs │ ├── OfflineGPUCLK_Slider.xaml │ ├── OfflineGPUCLK_Slider.xaml.cs │ ├── OfflineMaxCPU_Slider.xaml │ ├── OfflineMaxCPU_Slider.xaml.cs │ ├── OfflineTDP2_Slider.xaml │ ├── OfflineTDP2_Slider.xaml.cs │ ├── OfflineTDP_Slider.xaml │ ├── OfflineTDP_Slider.xaml.cs │ ├── OnlineActiveCore_Slider.xaml │ ├── OnlineActiveCore_Slider.xaml.cs │ ├── OnlineEPP_Slider.xaml │ ├── OnlineEPP_Slider.xaml.cs │ ├── OnlineFPS_Slider.xaml │ ├── OnlineFPS_Slider.xaml.cs │ ├── OnlineGPUCLK_Slider.xaml │ ├── OnlineGPUCLK_Slider.xaml.cs │ ├── OnlineMaxCPU_Slider.xaml │ ├── OnlineMaxCPU_Slider.xaml.cs │ ├── OnlineTDP2_Slider.xaml │ ├── OnlineTDP2_Slider.xaml.cs │ ├── OnlineTDP_Slider.xaml │ ├── OnlineTDP_Slider.xaml.cs │ ├── ProcessExe_Textbox.xaml │ ├── ProcessExe_Textbox.xaml.cs │ ├── ProfileRefreshRate_Dropdown.xaml │ ├── ProfileRefreshRate_Dropdown.xaml.cs │ ├── Profile_Textbox.xaml │ ├── Profile_Textbox.xaml.cs │ ├── ProfilesResolution_Dropdown.xaml │ ├── ProfilesResolution_Dropdown.xaml.cs │ ├── SeparateChargerBattery_Toggle.xaml │ └── SeparateChargerBattery_Toggle.xaml.cs ├── HomePageUserControls │ ├── Action_Panel.xaml │ ├── Action_Panel.xaml.cs │ ├── ActiveCores_Slider.xaml │ ├── ActiveCores_Slider.xaml.cs │ ├── Bluetooth_Toggle.xaml │ ├── Bluetooth_Toggle.xaml.cs │ ├── Brightness_Slider.xaml │ ├── Brightness_Slider.xaml.cs │ ├── Controller_Toggle.xaml │ ├── Controller_Toggle.xaml.cs │ ├── Divider.xaml │ ├── Divider.xaml.cs │ ├── EPP_Slider.xaml │ ├── EPP_Slider.xaml.cs │ ├── FPS_Slider.xaml │ ├── FPS_Slider.xaml.cs │ ├── Fan_Slider.xaml │ ├── Fan_Slider.xaml.cs │ ├── GPUCLK_Slider.xaml │ ├── GPUCLK_Slider.xaml.cs │ ├── MaxCPU_Slider.xaml │ ├── MaxCPU_Slider.xaml.cs │ ├── MouseMode_Toggle.xaml │ ├── MouseMode_Toggle.xaml.cs │ ├── RSR_Toggle.xaml │ ├── RSR_Toggle.xaml.cs │ ├── RefreshRate_Dropdown.xaml │ ├── RefreshRate_Dropdown.xaml.cs │ ├── Resolution_Dropdown.xaml │ ├── Resolution_Dropdown.xaml.cs │ ├── Scaling_Dropdown.xaml │ ├── Scaling_Dropdown.xaml.cs │ ├── TDP2_Slider.xaml │ ├── TDP2_Slider.xaml.cs │ ├── TDP_Slider.xaml │ ├── TDP_Slider.xaml.cs │ ├── VolumeMute_Toggle.xaml │ ├── VolumeMute_Toggle.xaml.cs │ ├── Volume_Slider.xaml │ ├── Volume_Slider.xaml.cs │ ├── Wifi_Toggle.xaml │ └── Wifi_Toggle.xaml.cs ├── InformationUserControls │ ├── Discord_Link.xaml │ ├── Discord_Link.xaml.cs │ ├── DonateKofi_Link.xaml │ ├── DonateKofi_Link.xaml.cs │ ├── DonatePatreon_Link.xaml │ ├── DonatePatreon_Link.xaml.cs │ ├── DonatePaypal_Link.xaml │ ├── DonatePaypal_Link.xaml.cs │ ├── Donate_Link.xaml │ ├── Donate_Link.xaml.cs │ ├── HCPGithub_Link.xaml │ ├── HCPGithub_Link.xaml.cs │ ├── HIDHide_Link.xaml │ ├── HIDHide_Link.xaml.cs │ ├── HandheldCompanion_Link.xaml │ ├── HandheldCompanion_Link.xaml.cs │ ├── OtherSoftware_Link.xaml │ ├── OtherSoftware_Link.xaml.cs │ ├── Playmate_Link.xaml │ ├── Playmate_Link.xaml.cs │ ├── Playnite_Link.xaml │ ├── Playnite_Link.xaml.cs │ ├── RTSS_Link.xaml │ ├── RTSS_Link.xaml.cs │ ├── SDILite_Link.xaml │ ├── SDILite_Link.xaml.cs │ ├── TutorialVideos_Link.xaml │ ├── TutorialVideos_Link.xaml.cs │ ├── UXTU_Link.xaml │ ├── UXTU_Link.xaml.cs │ ├── Youtube_Link.xaml │ └── Youtube_Link.xaml.cs ├── InstructionUserControls │ ├── ActionEditPage_Instruction.xaml │ ├── ActionEditPage_Instruction.xaml.cs │ ├── ActionPage_Instruction.xaml │ ├── ActionPage_Instruction.xaml.cs │ ├── AppLauncherPage_Instruction.xaml │ ├── AppLauncherPage_Instruction.xaml.cs │ ├── AutoFanPage_Instruction.xaml │ ├── AutoFanPage_Instruction.xaml.cs │ ├── CustomizeHomePage_Instruction.xaml │ ├── CustomizeHomePage_Instruction.xaml.cs │ ├── HomePage_Instruction.xaml │ ├── HomePage_Instruction.xaml.cs │ ├── MouseModeEditPage_Instruction.xaml │ ├── MouseModeEditPage_Instruction.xaml.cs │ ├── MouseModePage_Instruction.xaml │ ├── MouseModePage_Instruction.xaml.cs │ ├── ProfileEditPage_Instruction.xaml │ ├── ProfileEditPage_Instruction.xaml.cs │ ├── ProfilePage_Instruction.xaml │ ├── ProfilePage_Instruction.xaml.cs │ ├── SelectBack_Instruction.xaml │ ├── SelectBack_Instruction.xaml.cs │ ├── SelectClose_Instruction.xaml │ ├── SelectClose_Instruction.xaml.cs │ ├── SelectedListBox_Instruction.xaml │ └── SelectedListBox_Instruction.xaml.cs ├── OutlineText.cs ├── PowerUserControls │ ├── CloseGame_Button.xaml │ ├── CloseGame_Button.xaml.cs │ ├── CloseHCP_Button.xaml │ ├── CloseHCP_Button.xaml.cs │ ├── CloseProgram_Dropdown.xaml │ ├── CloseProgram_Dropdown.xaml.cs │ ├── HideHCP_Button.xaml │ ├── HideHCP_Button.xaml.cs │ ├── Restart_Button.xaml │ ├── Restart_Button.xaml.cs │ ├── Shutdown_Button.xaml │ └── Shutdown_Button.xaml.cs └── SettingsUserControls │ ├── AccentColor_Dropdown.xaml │ ├── AccentColor_Dropdown.xaml.cs │ ├── AutostartFan_Toggle.xaml │ ├── AutostartFan_Toggle.xaml.cs │ ├── Autostart_Toggle.xaml │ ├── Autostart_Toggle.xaml.cs │ ├── Autoupdate_Toggle.xaml │ ├── Autoupdate_Toggle.xaml.cs │ ├── CombineTDP_Toggle.xaml │ ├── CombineTDP_Toggle.xaml.cs │ ├── Deadzone_Slider.xaml │ ├── Deadzone_Slider.xaml.cs │ ├── DockRight_Toggle.xaml │ ├── DockRight_Toggle.xaml.cs │ ├── EnableNotifications_Toggle.xaml │ ├── EnableNotifications_Toggle.xaml.cs │ ├── FanSettings_Button.xaml │ ├── FanSettings_Button.xaml.cs │ ├── GameSync_Button.xaml │ ├── GameSync_Button.xaml.cs │ ├── HideSplashScreen_Toggle.xaml │ ├── HideSplashScreen_Toggle.xaml.cs │ ├── IntelTDP_Dropdown.xaml │ ├── IntelTDP_Dropdown.xaml.cs │ ├── Language_Dropdown.xaml │ ├── Language_Dropdown.xaml.cs │ ├── MaxFPS_Slider.xaml │ ├── MaxFPS_Slider.xaml.cs │ ├── MaxGPU_Slider.xaml │ ├── MaxGPU_Slider.xaml.cs │ ├── MaxTDP_Slider.xaml │ ├── MaxTDP_Slider.xaml.cs │ ├── MinTDP_Slider.xaml │ ├── MinTDP_Slider.xaml.cs │ ├── Playnite_Textbox.xaml │ ├── Playnite_Textbox.xaml.cs │ ├── RSRSharpness_Slider.xaml │ ├── RSRSharpness_Slider.xaml.cs │ ├── RTSSDirectory_Textbox.xaml │ ├── RTSSDirectory_Textbox.xaml.cs │ ├── StartRTSS_Toggle.xaml │ ├── StartRTSS_Toggle.xaml.cs │ ├── Theme_Toggle.xaml │ ├── Theme_Toggle.xaml.cs │ ├── Update_Button.xaml │ └── Update_Button.xaml.cs ├── WinRing0x64.dll ├── WinRing0x64.sys └── app.manifest /App.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /Classes/ADLX_Managmenet.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Runtime.InteropServices; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | 9 | namespace Handheld_Control_Panel.Classes 10 | { 11 | public static class ADLX_Management 12 | { 13 | 14 | #region constants and dll references 15 | public const string CppFunctionsDLL = @"Resources\AMD\ADLX\ADLX_PerformanceMetrics.dll"; 16 | public const string CppFunctionsDLL2 = @"Resources\AMD\ADLX\ADLX_AutoTuning.dll"; 17 | public const string CppFunctionsDLL3 = @"Resources\AMD\ADLX\ADLX_3DSettings.dll"; 18 | 19 | [DllImport(CppFunctionsDLL, CallingConvention = CallingConvention.Cdecl)] public static extern int GetFPSData(); 20 | 21 | [DllImport(CppFunctionsDLL, CallingConvention = CallingConvention.Cdecl)] public static extern int GetGPUMetrics(int GPU, int Sensor); 22 | 23 | [DllImport(CppFunctionsDLL2, CallingConvention = CallingConvention.Cdecl)] public static extern int SetAutoTuning(int GPU, int num); 24 | 25 | [DllImport(CppFunctionsDLL2, CallingConvention = CallingConvention.Cdecl)] public static extern int GetAutoTuning(int GPU); 26 | 27 | [DllImport(CppFunctionsDLL2, CallingConvention = CallingConvention.Cdecl)] public static extern int GetFactoryStatus(int GPU); 28 | 29 | [DllImport(CppFunctionsDLL3, CallingConvention = CallingConvention.Cdecl)] public static extern int SetFPSLimit(int GPU, bool isEnabled, int FPS); 30 | [DllImport(CppFunctionsDLL3, CallingConvention = CallingConvention.Cdecl)] public static extern int SetRSR(bool isEnabled); 31 | [DllImport(CppFunctionsDLL3, CallingConvention = CallingConvention.Cdecl)] public static extern int GetRSRState(); 32 | 33 | [DllImport(CppFunctionsDLL3, CallingConvention = CallingConvention.Cdecl)] public static extern bool SetRSRSharpness(int sharpness); 34 | [DllImport(CppFunctionsDLL3, CallingConvention = CallingConvention.Cdecl)] public static extern int GetRSRSharpness(); 35 | 36 | #endregion 37 | 38 | 39 | 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Classes/GPUCLK_Management.cs: -------------------------------------------------------------------------------- 1 | using Handheld_Control_Panel.Classes.Global_Variables; 2 | using Handheld_Control_Panel.Classes.Run_CLI; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace Handheld_Control_Panel.Classes.GPUCLK_Management 10 | { 11 | public static class GPUCLK_Management 12 | { 13 | private static Object objLock = new Object(); 14 | 15 | public static void changeAMDGPUClock(int gpuclk) 16 | { 17 | string BaseDir = AppDomain.CurrentDomain.BaseDirectory; 18 | 19 | if (gpuclk >= 100 && Global_Variables.Global_Variables.cpuType == "AMD") 20 | { 21 | lock (objLock) 22 | { 23 | string processRyzenAdj = ""; 24 | string result = ""; 25 | string commandArguments = ""; 26 | 27 | 28 | try 29 | { 30 | processRyzenAdj = BaseDir + "\\Resources\\AMD\\RyzenAdj\\ryzenadj.exe"; 31 | 32 | lock (objLock) 33 | { 34 | if (gpuclk > Properties.Settings.Default.maxGPUCLK) { gpuclk = Properties.Settings.Default.maxGPUCLK; } 35 | commandArguments = " --gfx-clk=" + gpuclk.ToString(); 36 | //Log_Writer.writeLog("Read TDP AMD processRyzenAj=" + processRyzenAdj + "; commandarugment=" + commandArguments); 37 | 38 | result = Run_CLI.Run_CLI.RunCommand(commandArguments, false, processRyzenAdj); 39 | 40 | Global_Variables.Global_Variables.GPUCLK = gpuclk; 41 | 42 | } 43 | 44 | 45 | 46 | } 47 | catch { } 48 | 49 | 50 | } 51 | } 52 | } 53 | 54 | 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Classes/Gyroscope_Management.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Windows.Devices.Sensors; 8 | 9 | namespace Handheld_Control_Panel.Classes 10 | { 11 | public static class Gyroscope_Management 12 | { 13 | private static double number = 0; 14 | 15 | public static void startReading() 16 | { 17 | 18 | 19 | Accelerometer gyro = Accelerometer.GetDefault(); 20 | AccelerometerReading gyroread= gyro.GetCurrentReading(); 21 | 22 | } 23 | 24 | private static void Gyro_ReadingChanged(Accelerometer sender, AccelerometerReadingChangedEventArgs args) 25 | { 26 | AccelerometerReading reading = args.Reading; 27 | Debug.WriteLine(reading.AccelerationZ); 28 | Debug.WriteLine(reading.AccelerationY); 29 | Debug.WriteLine(number.ToString()); 30 | Debug.WriteLine(reading.AccelerationX); 31 | } 32 | 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Classes/Log_Writer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace Handheld_Control_Panel.Classes 10 | { 11 | public static class Log_Writer 12 | { 13 | 14 | public static string BaseDir = AppDomain.CurrentDomain.BaseDirectory; 15 | public static Object objLock = new Object(); 16 | public static void writeLog(string newLog, string errorNum = "") 17 | { 18 | try 19 | { 20 | lock (objLock) 21 | { 22 | if (!File.Exists(BaseDir + "\\Resources\\Logs\\application_log.txt")) { createLogFile(); } 23 | using (StreamWriter w = File.AppendText(BaseDir + "\\Resources\\Logs\\application_log.txt")) 24 | { 25 | if (errorNum != "") { newLog = "Error " + errorNum + ": " + newLog; } 26 | 27 | Log(newLog, w); 28 | 29 | } 30 | 31 | } 32 | } 33 | 34 | catch (Exception ex) 35 | { 36 | MessageBox.Show("Error writing to log file. " + ex.Message); 37 | } 38 | 39 | 40 | } 41 | public static void Log(string logMessage, TextWriter w) 42 | { 43 | try 44 | { 45 | w.WriteLine($"{DateTime.Now.ToShortDateString()} {DateTime.Now.ToLongTimeString()} {logMessage}"); 46 | w.Flush(); 47 | } 48 | catch { } 49 | } 50 | public static void createLogFile() 51 | { 52 | try 53 | { 54 | if (!Directory.Exists(BaseDir + "\\Resources\\Logs")) { System.IO.Directory.CreateDirectory(BaseDir + "\\Resources\\Logs"); } 55 | if (!File.Exists(BaseDir + "\\Resources\\Logs\\application_log.txt")) { File.CreateText(BaseDir + "\\Resources\\Logs\\application_log.txt"); } 56 | } 57 | catch { } 58 | 59 | } 60 | 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /Classes/Notification_Management.cs: -------------------------------------------------------------------------------- 1 | using Notification.Wpf; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Resources; 6 | using System.Text; 7 | using System.Threading; 8 | using System.Threading.Tasks; 9 | using Notification; 10 | using System.Windows.Media; 11 | 12 | namespace Handheld_Control_Panel.Classes 13 | { 14 | public static class Notification_Management 15 | { 16 | 17 | 18 | 19 | public static void Show(string message, bool forceEnable=false) 20 | { 21 | if (Properties.Settings.Default.enableNotifications || forceEnable) 22 | { 23 | NotificationManager __NotificationManager = new(); 24 | __NotificationManager.Show("Handheld Control Panel", message); 25 | __NotificationManager = null; 26 | } 27 | 28 | } 29 | 30 | public static void ShowInWindow(string title, NotificationType notificationType) 31 | { 32 | Global_Variables.Global_Variables.mainWindow.ShowNotificationInWindow(title, notificationType); 33 | 34 | 35 | } 36 | 37 | public static void ShowYesNoPrompt(string title, NotificationType notificationType, string action) 38 | { 39 | Global_Variables.Global_Variables.mainWindow.ShowNotificationInWindowYESNO(title, notificationType, action); 40 | 41 | 42 | } 43 | 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Classes/Open_Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Xml; 7 | 8 | namespace Handheld_Control_Panel.Classes 9 | { 10 | public static class Open_Program 11 | { 12 | public static void openProgram(string ID) 13 | { 14 | 15 | 16 | System.Xml.XmlDocument xmlDocument = new System.Xml.XmlDocument(); 17 | xmlDocument.Load(Global_Variables.Global_Variables.xmlFile); 18 | XmlNode xmlNode = xmlDocument.SelectSingleNode("//Configuration/Profiles"); 19 | XmlNode xmlSelectedNode = xmlNode.SelectSingleNode("Profile/ID[text()='" + ID + "']"); 20 | 21 | if (xmlSelectedNode != null) 22 | { 23 | XmlNode profileNode = xmlSelectedNode.ParentNode; 24 | 25 | string appType = profileNode.SelectSingleNode("LaunchOptions/AppType").InnerText; 26 | string path = profileNode.SelectSingleNode("LaunchOptions/Path").InnerText; 27 | string gameID = profileNode.SelectSingleNode("LaunchOptions/GameID").InnerText; 28 | if (appType == "Steam") 29 | { 30 | Steam_Management.openSteamGame(gameID); 31 | } 32 | else 33 | { 34 | System.Diagnostics.Process.Start(path); 35 | } 36 | } 37 | 38 | 39 | } 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Classes/ProgramSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace Handheld_Control_Panel.Classes 8 | { 9 | public static class ProgramSettings 10 | { 11 | 12 | 13 | 14 | 15 | 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Classes/StatusBar_Management.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Management; 5 | using System.Net.NetworkInformation; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | using System.Windows; 9 | 10 | namespace Handheld_Control_Panel.Classes 11 | { 12 | public static class StatusBar_Management 13 | { 14 | 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Classes/Task_Scheduler.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading; 6 | using System.Threading.Tasks; 7 | using System.Diagnostics; 8 | using System.Windows; 9 | using System.Windows.Input; 10 | 11 | namespace Handheld_Control_Panel.Classes.Task_Scheduler 12 | { 13 | public static class Task_Scheduler 14 | { 15 | public static SecretNest.TaskSchedulers.SequentialScheduler scheduler; 16 | public static Thread taskScheduler; 17 | public static TaskFactory taskFactory = new TaskFactory(scheduler); 18 | 19 | 20 | public static void startScheduler() 21 | { 22 | scheduler = new SecretNest.TaskSchedulers.SequentialScheduler(true); 23 | 24 | taskScheduler = new Thread(ThreadHandler); 25 | taskScheduler.IsBackground = true; 26 | taskScheduler.Start(); 27 | } 28 | 29 | public static void ThreadHandler() 30 | { 31 | scheduler.Run(); //This will block this thread until the scheduler disposed. 32 | } 33 | public static void runTask(Action action) 34 | { 35 | //Debug.WriteLine("Task started " + DateTime.Now.ToString() + " Task Name " + action.Method.ToString()); 36 | var result = taskFactory.StartNew(action); 37 | 38 | } 39 | 40 | public static void closeScheduler() 41 | { 42 | scheduler.Dispose(); 43 | 44 | } 45 | 46 | 47 | 48 | 49 | 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /GameLauncher.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | Resources\Pictures\gamelauncher_background.jpg 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /GameLauncher.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | using System.Windows.Controls; 8 | using System.Windows.Data; 9 | using System.Windows.Documents; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Shapes; 14 | 15 | namespace Handheld_Control_Panel 16 | { 17 | /// 18 | /// Interaction logic for GameLauncher.xaml 19 | /// 20 | public partial class GameLauncher : Window 21 | { 22 | public GameLauncher() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /HCP.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/HCP.ico -------------------------------------------------------------------------------- /Pages/ActionEditPage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Pages/DonatePage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /Pages/HomePage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Pages/InformationPage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Pages/MouseModeEditPage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /Pages/OtherSoftwarePage.xaml: -------------------------------------------------------------------------------- 1 |  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ProjectSBC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/ProjectSBC.png -------------------------------------------------------------------------------- /QuickActionMenu.xaml: -------------------------------------------------------------------------------- 1 |  13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /QuickActionMenu.xaml.cs: -------------------------------------------------------------------------------- 1 | using MahApps.Metro.Controls; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | using System.Windows.Controls; 9 | using System.Windows.Data; 10 | using System.Windows.Documents; 11 | using System.Windows.Input; 12 | using System.Windows.Media; 13 | using System.Windows.Media.Imaging; 14 | using System.Windows.Shapes; 15 | 16 | namespace Handheld_Control_Panel 17 | { 18 | /// 19 | /// Interaction logic for QuickActionMenu.xaml 20 | /// 21 | public partial class QuickActionMenu : MetroWindow 22 | { 23 | public QuickActionMenu() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Resources/AMD/ADLX/ADLX_3DSettings.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/ADLX_3DSettings.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/ADLX_AutoTuning.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/ADLX_AutoTuning.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/ADLX_PerformanceMetrics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/ADLX_PerformanceMetrics.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/kernel32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/kernel32.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/ucrtbased.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/ucrtbased.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/vcruntime140_1d.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/vcruntime140_1d.dll -------------------------------------------------------------------------------- /Resources/AMD/ADLX/vcruntime140d.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/ADLX/vcruntime140d.dll -------------------------------------------------------------------------------- /Resources/AMD/RyzenAdj/WinRing0x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/RyzenAdj/WinRing0x64.dll -------------------------------------------------------------------------------- /Resources/AMD/RyzenAdj/WinRing0x64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/RyzenAdj/WinRing0x64.sys -------------------------------------------------------------------------------- /Resources/AMD/RyzenAdj/inpoutx64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/RyzenAdj/inpoutx64.dll -------------------------------------------------------------------------------- /Resources/AMD/RyzenAdj/libryzenadj.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/RyzenAdj/libryzenadj.dll -------------------------------------------------------------------------------- /Resources/AMD/RyzenAdj/ryzenadj.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/AMD/RyzenAdj/ryzenadj.exe -------------------------------------------------------------------------------- /Resources/EC/EC.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/EC/EC.exe -------------------------------------------------------------------------------- /Resources/EC/WinRing0x64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/EC/WinRing0x64.sys -------------------------------------------------------------------------------- /Resources/HCP.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/HCP.ico -------------------------------------------------------------------------------- /Resources/HyaticePowerPlan/HyaticePowerPlan.pow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/HyaticePowerPlan/HyaticePowerPlan.pow -------------------------------------------------------------------------------- /Resources/Intel/KX/KX.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/KX/KX.exe -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinIo32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinIo32.dll -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinIo32.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinIo32.sys -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinIo64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinIo64.dll -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinIo64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinIo64.sys -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinRing0x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinRing0x64.dll -------------------------------------------------------------------------------- /Resources/Intel/MSR/WinRing0x64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/WinRing0x64.sys -------------------------------------------------------------------------------- /Resources/Intel/MSR/msr-cmd.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/msr-cmd.exe -------------------------------------------------------------------------------- /Resources/Intel/MSR/winio-drv.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/MSR/winio-drv.exe -------------------------------------------------------------------------------- /Resources/Intel/RW/Rw.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Intel/RW/Rw.exe -------------------------------------------------------------------------------- /Resources/Logs/application_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Logs/application_log.txt -------------------------------------------------------------------------------- /Resources/Pictures/PCP.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Pictures/PCP.ico -------------------------------------------------------------------------------- /Resources/Pictures/gamelauncher_background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/Pictures/gamelauncher_background.jpg -------------------------------------------------------------------------------- /Resources/QRes/QRes.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/QRes/QRes.exe -------------------------------------------------------------------------------- /Resources/RTSS/RTSSHooks64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/RTSS/RTSSHooks64.dll -------------------------------------------------------------------------------- /Resources/RTSS/RTSSSharedMemoryNET.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/RTSS/RTSSSharedMemoryNET.dll -------------------------------------------------------------------------------- /Resources/SetDPI/SetDpi.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/Resources/SetDPI/SetDpi.exe -------------------------------------------------------------------------------- /SplashScreenStartUp.xaml: -------------------------------------------------------------------------------- 1 |  15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /SplashScreenStartUp.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | using System.Windows.Controls; 8 | using System.Windows.Data; 9 | using System.Windows.Documents; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Shapes; 14 | 15 | namespace Handheld_Control_Panel 16 | { 17 | /// 18 | /// Interaction logic for SplashScreenStartUp.xaml 19 | /// 20 | public partial class SplashScreenStartUp : Window 21 | { 22 | public SplashScreenStartUp() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Styles/ControlStyle.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | using System.Windows.Controls; 9 | using System.Windows.Data; 10 | using System.Windows.Documents; 11 | using System.Windows.Input; 12 | using System.Windows.Media; 13 | using System.Windows.Media.Imaging; 14 | using System.Windows.Shapes; 15 | 16 | namespace Handheld_Control_Panel.Styles 17 | { 18 | /// 19 | /// Interaction logic for ControlStyle.xaml 20 | /// 21 | public partial class ControlStyle : ResourceDictionary 22 | { 23 | public ControlStyle() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | public void Slider_ValueChanged(object sender, RoutedPropertyChangedEventArgs e) 29 | { 30 | 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Update.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1.0.0.0 4 | https://github.com/project-sbc/Handheld-Control-Panel/releases/download/1.0.0.0/Handheld.Control.Panel.zip 5 | false 6 | 7 | -------------------------------------------------------------------------------- /UserControls/EditActionUserControls/AddQuickActionPanel_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /UserControls/EditActionUserControls/Hotkey_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 18 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /UserControls/EditProfileUserControls/Profile_Textbox.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /UserControls/EditProfileUserControls/SeparateChargerBattery_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/ActiveCores_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Bluetooth_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Brightness_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Controller_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Divider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Divider.xaml.cs: -------------------------------------------------------------------------------- 1 | using ControlzEx.Theming; 2 | using Handheld_Control_Panel.Classes; 3 | using Handheld_Control_Panel.Classes.Controller_Management; 4 | using Handheld_Control_Panel.Classes.Global_Variables; 5 | using Handheld_Control_Panel.Classes.TaskSchedulerWin32; 6 | using Handheld_Control_Panel.Classes.UserControl_Management; 7 | using Handheld_Control_Panel.Styles; 8 | using MahApps.Metro.Controls; 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Diagnostics; 12 | using System.Linq; 13 | using System.Text; 14 | using System.Threading.Tasks; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using System.Windows.Data; 18 | using System.Windows.Documents; 19 | using System.Windows.Input; 20 | using System.Windows.Media; 21 | using System.Windows.Media.Imaging; 22 | using System.Windows.Navigation; 23 | using System.Windows.Shapes; 24 | 25 | 26 | namespace Handheld_Control_Panel.UserControls 27 | { 28 | /// 29 | /// Interaction logic for TDP_Slider.xaml 30 | /// 31 | public partial class Divider : UserControl 32 | { 33 | 34 | public Divider() 35 | { 36 | InitializeComponent(); 37 | //setControlValue(); 38 | 39 | } 40 | 41 | 42 | 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/EPP_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/FPS_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /UserControls/HomePageUserControls/Fan_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 41 | -------------------------------------------------------------------------------- /UserControls/InstructionUserControls/SelectBack_Instruction.xaml.cs: -------------------------------------------------------------------------------- 1 | using ControlzEx.Theming; 2 | using Handheld_Control_Panel.Classes; 3 | using Handheld_Control_Panel.Classes.Controller_Management; 4 | using Handheld_Control_Panel.Classes.Global_Variables; 5 | using Handheld_Control_Panel.Classes.TaskSchedulerWin32; 6 | using Handheld_Control_Panel.Classes.UserControl_Management; 7 | using Handheld_Control_Panel.Styles; 8 | using MahApps.Metro.Controls; 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Diagnostics; 12 | using System.Linq; 13 | using System.Text; 14 | using System.Threading.Tasks; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using System.Windows.Data; 18 | using System.Windows.Documents; 19 | using System.Windows.Input; 20 | using System.Windows.Media; 21 | using System.Windows.Media.Imaging; 22 | using System.Windows.Navigation; 23 | using System.Windows.Shapes; 24 | 25 | 26 | namespace Handheld_Control_Panel.UserControls 27 | { 28 | /// 29 | /// Interaction logic for TDP_Slider.xaml 30 | /// 31 | public partial class SelectBack_Instruction : UserControl 32 | { 33 | 34 | public SelectBack_Instruction() 35 | { 36 | InitializeComponent(); 37 | UserControl_Management.handleHidingInstructionTextBlocksWithControllerIcons(spMain); 38 | 39 | } 40 | private void Button_Click(object sender, RoutedEventArgs e) 41 | { 42 | Button button = sender as Button; 43 | if (button.Tag != "") 44 | { 45 | Controller_Management.buttonEvents.raiseControllerInput(button.Tag.ToString()); 46 | 47 | } 48 | 49 | } 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /UserControls/InstructionUserControls/SelectClose_Instruction.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 25 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /UserControls/InstructionUserControls/SelectClose_Instruction.xaml.cs: -------------------------------------------------------------------------------- 1 | using ControlzEx.Theming; 2 | using Handheld_Control_Panel.Classes; 3 | using Handheld_Control_Panel.Classes.Controller_Management; 4 | using Handheld_Control_Panel.Classes.Global_Variables; 5 | using Handheld_Control_Panel.Classes.TaskSchedulerWin32; 6 | using Handheld_Control_Panel.Classes.UserControl_Management; 7 | using Handheld_Control_Panel.Styles; 8 | using MahApps.Metro.Controls; 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Diagnostics; 12 | using System.Linq; 13 | using System.Text; 14 | using System.Threading.Tasks; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using System.Windows.Data; 18 | using System.Windows.Documents; 19 | using System.Windows.Input; 20 | using System.Windows.Media; 21 | using System.Windows.Media.Imaging; 22 | using System.Windows.Navigation; 23 | using System.Windows.Shapes; 24 | 25 | 26 | namespace Handheld_Control_Panel.UserControls 27 | { 28 | /// 29 | /// Interaction logic for TDP_Slider.xaml 30 | /// 31 | public partial class SelectClose_Instruction : UserControl 32 | { 33 | 34 | public SelectClose_Instruction() 35 | { 36 | InitializeComponent(); 37 | UserControl_Management.handleHidingInstructionTextBlocksWithControllerIcons(spMain); 38 | 39 | } 40 | private void Button_Click(object sender, RoutedEventArgs e) 41 | { 42 | Button button = sender as Button; 43 | if (button.Tag != "") 44 | { 45 | Controller_Management.buttonEvents.raiseControllerInput(button.Tag.ToString()); 46 | 47 | } 48 | 49 | } 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /UserControls/InstructionUserControls/SelectedListBox_Instruction.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 24 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /UserControls/InstructionUserControls/SelectedListBox_Instruction.xaml.cs: -------------------------------------------------------------------------------- 1 | using ControlzEx.Theming; 2 | using Handheld_Control_Panel.Classes; 3 | using Handheld_Control_Panel.Classes.Controller_Management; 4 | using Handheld_Control_Panel.Classes.Global_Variables; 5 | using Handheld_Control_Panel.Classes.TaskSchedulerWin32; 6 | using Handheld_Control_Panel.Classes.UserControl_Management; 7 | using Handheld_Control_Panel.Styles; 8 | using MahApps.Metro.Controls; 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Diagnostics; 12 | using System.Linq; 13 | using System.Text; 14 | using System.Threading.Tasks; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using System.Windows.Data; 18 | using System.Windows.Documents; 19 | using System.Windows.Input; 20 | using System.Windows.Media; 21 | using System.Windows.Media.Imaging; 22 | using System.Windows.Navigation; 23 | using System.Windows.Shapes; 24 | 25 | 26 | namespace Handheld_Control_Panel.UserControls 27 | { 28 | /// 29 | /// Interaction logic for TDP_Slider.xaml 30 | /// 31 | public partial class SelectedListBox_Instruction : UserControl 32 | { 33 | 34 | public SelectedListBox_Instruction() 35 | { 36 | InitializeComponent(); 37 | 38 | UserControl_Management.handleHidingInstructionTextBlocksWithControllerIcons(spMain); 39 | } 40 | private void Button_Click(object sender, RoutedEventArgs e) 41 | { 42 | Button button = sender as Button; 43 | if (button.Tag != "") 44 | { 45 | Controller_Management.buttonEvents.raiseControllerInput(button.Tag.ToString()); 46 | 47 | } 48 | 49 | } 50 | 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /UserControls/PowerUserControls/CloseGame_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UserControls/PowerUserControls/CloseHCP_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UserControls/PowerUserControls/HideHCP_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UserControls/PowerUserControls/Restart_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UserControls/PowerUserControls/Shutdown_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/AutostartFan_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/Autostart_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/Autoupdate_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/CombineTDP_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/Deadzone_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/DockRight_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/EnableNotifications_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/FanSettings_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/GameSync_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/HideSplashScreen_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/MaxFPS_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/MaxGPU_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/MaxTDP_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/MinTDP_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/RSRSharpness_Slider.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/StartRTSS_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/Theme_Toggle.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /UserControls/SettingsUserControls/Update_Button.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /WinRing0x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/WinRing0x64.dll -------------------------------------------------------------------------------- /WinRing0x64.sys: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/project-sbc/Handheld-Control-Panel/7bc1ad0448cc0fae1f05f454799ae5d4bb7f8270/WinRing0x64.sys --------------------------------------------------------------------------------