Skip to content

Commit 9092c96

Browse files
committed
Fixed Left Mod4
1 parent 7e6f95e commit 9092c96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ bool isMod3(KBDLLHOOKSTRUCT keyInfo)
135135

136136
bool isMod4(KBDLLHOOKSTRUCT keyInfo)
137137
{
138-
return keyInfo.vkCode == VK_RMENU || keyInfo.vkCode == VK_CAPITAL; //keyInfo.scanCode == 43 || keyInfo.scanCode == 86;
138+
return keyInfo.vkCode == VK_RMENU
139+
|| keyInfo.vkCode == VK_OEM_102 // |<> -Key
140+
;
139141
}
140142

141143
void logKeyEvent(char *desc, KBDLLHOOKSTRUCT keyInfo)

0 commit comments

Comments
 (0)