Skip to content

Commit 4bfbfd6

Browse files
Change hotkeys
1 parent 22f5df7 commit 4bfbfd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

recaps.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3232
L"language using the Capslock key.\r\n"\
3333
L"\r\n"\
3434
L"Capslock changes between the chosen pair of keyboard laguanges.\r\n"\
35-
L"Shift+Capslock changes the chosen pair of keyboard languages.\r\n"\
35+
L"Alt+Capslock changes the chosen pair of keyboard languages.\r\n"\
3636
L"Ctrl+Capslock fixes text you typed in the wrong laguange.\r\n"\
37-
L"Alt+Capslock is the old Capslock that lets you type in CAPITAL.\r\n"\
37+
L"Shift+Capslock is the old Capslock that lets you type in CAPITAL.\r\n"\
3838
L"\r\n"\
3939
L"http://www.gooli.org/blog/recaps\r\n\r\n"\
4040
L"Eli Golovinsky, Israel 2008\r\n"
@@ -519,9 +519,9 @@ LRESULT CALLBACK LowLevelHookProc(int nCode, WPARAM wParam, LPARAM lParam)
519519
// ignore injected keystrokes
520520
if(caps && (data->flags & LLKHF_INJECTED) == 0)
521521
{
522-
if(GetKeyState(VK_SHIFT) < 0)
522+
if(GetKeyState(VK_MENU) < 0)
523523
{
524-
// Handle Shift+CapsLock - switch current layout pair
524+
// Handle Alt+CapsLock - switch current layout pair
525525
SwitchPair();
526526
return 1;
527527
}

0 commit comments

Comments
 (0)