Skip to content

Commit

Permalink
Fixed hotkeys not targeting correct VCP code
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Dec 13, 2023
1 parent ae17979 commit bcc325b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ async function doHotkey(hotkey) {
} else if (action.target === "powerState") {
vcpCode = "0xD2"
}
updateBrightnessThrottle(monitor.id, parseInt(value), false, parseInt(vcpCode))
updateBrightnessThrottle(monitor.id, parseInt(value), false, true, parseInt(vcpCode))
sendToAllWindows('monitors-updated', monitors);
}
}
Expand Down

0 comments on commit bcc325b

Please sign in to comment.