Skip to content

Commit 10bef80

Browse files
committed
系统亮度调节反转
1 parent 15f83ea commit 10bef80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

UserApp/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,13 @@ extern "C" void OnTimerCallback() // 1000Hz callback
255255
keyboard.Release(HWKeyboard::MINUS);
256256
} else if (keyboard.KeyPressed(HWKeyboard::RIGHT_U_BRACE)) {
257257
if (!Keyrstatus) {
258-
keyboard.MediaPress(HWKeyboard::SYS_BRI_DOWN);
258+
keyboard.MediaPress(HWKeyboard::SYS_BRI_UP);
259259
Keyrstatus = true;
260260
}
261261
keyboard.Release(HWKeyboard::RIGHT_U_BRACE);
262262
} else if (keyboard.KeyPressed(HWKeyboard::LEFT_U_BRACE)) {
263263
if (!Keyrstatus) {
264-
keyboard.MediaPress(HWKeyboard::SYS_BRI_UP);
264+
keyboard.MediaPress(HWKeyboard::SYS_BRI_DOWN);
265265
Keyrstatus = true;
266266
}
267267
keyboard.Release(HWKeyboard::LEFT_U_BRACE);

0 commit comments

Comments
 (0)