Add FPSWithBattery Overlay

This commit is contained in:
Kamil Trzciński 2022-11-16 20:39:21 +01:00
parent bde3c6867b
commit 47860ce9d5
4 changed files with 22 additions and 5 deletions

View file

@ -17,6 +17,7 @@ namespace CommonHelpers
public enum OverlayMode : uint
{
FPS = 10032,
FPSWithBattery,
Minimal,
Detail,
Full

View file

@ -90,7 +90,16 @@ namespace PerformanceOverlay
{
Nested = {
// Simple just FPS
new Entry("<C4><FR><C><A><A1><S1><C4> FPS<C><S><A>") { Include = { OverlayMode.FPS } },
new Entry {
Nested =
{
new Entry("<C4><FR><C><A><A1><S1><C4> FPS<C><S><A>"),
new Entry("<C4><A3>{BATT_%}<A><A1><S1> %<C><S><A>") { Include = { OverlayMode.FPSWithBattery }, IgnoreMissing = true },
new Entry("<C4><A4>{BATT_W}<A><A1><S1> W<C><S><A>") { Include = { OverlayMode.FPSWithBattery }, IgnoreMissing = true },
new Entry("<C4><A3>{BATT_MIN}<A><A1><S1> min<C><S><A>") { Include = { OverlayMode.FPSWithBattery }, IgnoreMissing = true }
},
Include = { OverlayMode.FPS, OverlayMode.FPSWithBattery }
},
// Minimal and Detail
new Entry {

View file

@ -54,21 +54,23 @@ It currently registers two global hotkeys:
- **F11** - enable performance overlay
- **Shift+F11** - cycle to next performance overlay (and enable it)
There are 4 modes of presentation:
There are 5 modes of presentation:
### 2.1. FPS
<img src="images/perf_overlay_fps.png" width="600"/>
### 2.2. Minimal
### 2.2. FPS with Battery
### 2.3. Minimal
<img src="images/perf_overlay_min.png" width="600"/>
### 2.3. Detail
### 2.4. Detail
<img src="images/perf_overlay_detail.png" width="600"/>
### 2.4. Full
### 2.5. Full
<img src="images/perf_overlay_full.png" height="100"/>
@ -84,7 +86,10 @@ There are currently 4 configurable settings:
- Volume
- Brightness
- Refresh Rate
- FPS Limit (requires RTSS)
- TDP
- OSD / OSDMode (requires PerformanceOverlay running)
- Fan (requires FanControl running)
<img src="images/power_control.png" height="250"/>

View file

@ -6,5 +6,7 @@
- Add `0` brightness
- Support any battery model
- Add battery remaining
- Add FPSWithBattery overlay
- Add FPS Limit using RTSS
If you found it useful buy me [Ko-fi](https://ko-fi.com/ayufan).