Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add F24 key #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions capsicain/scancodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ void defineAllPrettyVKLabels(string arr[])
checkAddLabel(SC_F21, "F21", arr);
checkAddLabel(SC_F22, "F22", arr);
checkAddLabel(SC_F23, "F23", arr);
checkAddLabel(SC_F24, "F24", arr);
checkAddLabel(SC_KANA, "KANA", arr);
checkAddLabel(SC_LANG2, "LANG2", arr);
checkAddLabel(SC_LANG1, "LANG1", arr);
Expand Down
3 changes: 2 additions & 1 deletion capsicain/scancodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ enum ScanCode {
SC_LANG2 = 0x71, // (Korean 'Hanja key' according to Firefox spec)
SC_LANG1 = 0x72, // (Korean 'Han/Yeong key' according to Firefox spec)
SC_ABNT_C1 = 0x73, // / ? on Portugese (Brazilian) keyboards
SC_F24 = 0x76,
SC_CONVERT = 0x79, // (Japanese keyboard)
SC_NOCONVERT = 0x7B, // (Japanese keyboard)
SC_YEN = 0x7D, // (Japanese keyboard)
Expand All @@ -137,7 +138,7 @@ enum ScanCode {
SC_CALCULATOR = 0xA1, // Calculator
SC_PLAYPAUSE = 0xA2, // Play / Pause
SC_MEDIASTOP = 0xA4, // Media Stop
SC_E0LSHF = 0xAA, // produced by Print key without modifier. '' on French AZERTY keyboard (same place as ~ ` on QWERTY)
SC_E0LSHF = 0xAA, // produced by Print key without modifier. '²' on French AZERTY keyboard (same place as ~ ` on QWERTY)
SC_VOLUMEDOWN = 0xAE, // Volume -
SC_VOLUMEUP = 0xB0, // Volume +
SC_WEBHOME = 0xB2, // Web home
Expand Down
Binary file modified x64/Release/capsicain.exe
Binary file not shown.