Commit 6d75a47b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

kernel32: Added shift & ctrl modifiers for function keys.

parent be69efa5
...@@ -247,6 +247,58 @@ static struct dbkey_init TERM_dbkey_init[] = { ...@@ -247,6 +247,58 @@ static struct dbkey_init TERM_dbkey_init[] = {
{"kf10", NULL, {dbk_complex, 0x44, 0x79, 0}}, {"kf10", NULL, {dbk_complex, 0x44, 0x79, 0}},
{"kf11", NULL, {dbk_complex, 0xd9, 0x7a, 0}}, {"kf11", NULL, {dbk_complex, 0xd9, 0x7a, 0}},
{"kf12", NULL, {dbk_complex, 0xda, 0x7b, 0}}, {"kf12", NULL, {dbk_complex, 0xda, 0x7b, 0}},
{"kf13", NULL, {dbk_complex, 0x3b, 0x70, SHIFT_PRESSED}},
{"kf14", NULL, {dbk_complex, 0x3c, 0x71, SHIFT_PRESSED}},
{"kf15", NULL, {dbk_complex, 0x3d, 0x72, SHIFT_PRESSED}},
{"kf16", NULL, {dbk_complex, 0x3e, 0x73, SHIFT_PRESSED}},
{"kf17", NULL, {dbk_complex, 0x3f, 0x74, SHIFT_PRESSED}},
{"kf18", NULL, {dbk_complex, 0x40, 0x75, SHIFT_PRESSED}},
{"kf19", NULL, {dbk_complex, 0x41, 0x76, SHIFT_PRESSED}},
{"kf20", NULL, {dbk_complex, 0x42, 0x77, SHIFT_PRESSED}},
{"kf21", NULL, {dbk_complex, 0x43, 0x78, SHIFT_PRESSED}},
{"kf22", NULL, {dbk_complex, 0x44, 0x79, SHIFT_PRESSED}},
{"kf23", NULL, {dbk_complex, 0xd9, 0x7a, SHIFT_PRESSED}},
{"kf24", NULL, {dbk_complex, 0xda, 0x7b, SHIFT_PRESSED}},
{"kf25", NULL, {dbk_complex, 0x3b, 0x70, LEFT_CTRL_PRESSED}},
{"kf26", NULL, {dbk_complex, 0x3c, 0x71, LEFT_CTRL_PRESSED}},
{"kf27", NULL, {dbk_complex, 0x3d, 0x72, LEFT_CTRL_PRESSED}},
{"kf28", NULL, {dbk_complex, 0x3e, 0x73, LEFT_CTRL_PRESSED}},
{"kf29", NULL, {dbk_complex, 0x3f, 0x74, LEFT_CTRL_PRESSED}},
{"kf30", NULL, {dbk_complex, 0x40, 0x75, LEFT_CTRL_PRESSED}},
{"kf31", NULL, {dbk_complex, 0x41, 0x76, LEFT_CTRL_PRESSED}},
{"kf32", NULL, {dbk_complex, 0x42, 0x77, LEFT_CTRL_PRESSED}},
{"kf33", NULL, {dbk_complex, 0x43, 0x78, LEFT_CTRL_PRESSED}},
{"kf34", NULL, {dbk_complex, 0x44, 0x79, LEFT_CTRL_PRESSED}},
{"kf35", NULL, {dbk_complex, 0xd9, 0x7a, LEFT_CTRL_PRESSED}},
{"kf36", NULL, {dbk_complex, 0xda, 0x7b, LEFT_CTRL_PRESSED}},
{"kf37", NULL, {dbk_complex, 0x3b, 0x70, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf38", NULL, {dbk_complex, 0x3c, 0x71, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf39", NULL, {dbk_complex, 0x3d, 0x72, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf40", NULL, {dbk_complex, 0x3e, 0x73, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf41", NULL, {dbk_complex, 0x3f, 0x74, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf42", NULL, {dbk_complex, 0x40, 0x75, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf43", NULL, {dbk_complex, 0x41, 0x76, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf44", NULL, {dbk_complex, 0x42, 0x77, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf45", NULL, {dbk_complex, 0x43, 0x78, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf46", NULL, {dbk_complex, 0x44, 0x79, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf47", NULL, {dbk_complex, 0xd9, 0x7a, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf48", NULL, {dbk_complex, 0xda, 0x7b, LEFT_CTRL_PRESSED|SHIFT_PRESSED}},
{"kf49", NULL, {dbk_complex, 0x3b, 0x70, LEFT_ALT_PRESSED}},
{"kf50", NULL, {dbk_complex, 0x3c, 0x71, LEFT_ALT_PRESSED}},
{"kf51", NULL, {dbk_complex, 0x3d, 0x72, LEFT_ALT_PRESSED}},
{"kf52", NULL, {dbk_complex, 0x3e, 0x73, LEFT_ALT_PRESSED}},
{"kf53", NULL, {dbk_complex, 0x3f, 0x74, LEFT_ALT_PRESSED}},
{"kf54", NULL, {dbk_complex, 0x40, 0x75, LEFT_ALT_PRESSED}},
{"kf55", NULL, {dbk_complex, 0x41, 0x76, LEFT_ALT_PRESSED}},
{"kf56", NULL, {dbk_complex, 0x42, 0x77, LEFT_ALT_PRESSED}},
{"kf57", NULL, {dbk_complex, 0x43, 0x78, LEFT_ALT_PRESSED}},
{"kf58", NULL, {dbk_complex, 0x44, 0x79, LEFT_ALT_PRESSED}},
{"kf59", NULL, {dbk_complex, 0xd9, 0x7a, LEFT_ALT_PRESSED}},
{"kf60", NULL, {dbk_complex, 0xda, 0x7b, LEFT_ALT_PRESSED}},
{"kf61", NULL, {dbk_complex, 0x3b, 0x70, LEFT_ALT_PRESSED|SHIFT_PRESSED}},
{"kf62", NULL, {dbk_complex, 0x3c, 0x71, LEFT_ALT_PRESSED|SHIFT_PRESSED}},
{"kf63", NULL, {dbk_complex, 0x3d, 0x72, LEFT_ALT_PRESSED|SHIFT_PRESSED}},
{"kdch1", "kDC", {dbk_complex, 0x53, 0x2e, 0}}, {"kdch1", "kDC", {dbk_complex, 0x53, 0x2e, 0}},
{"kich1", "kIC", {dbk_complex, 0x52, 0x2d, 0}}, {"kich1", "kIC", {dbk_complex, 0x52, 0x2d, 0}},
{"knp", "kNXT", {dbk_complex, 0x51, 0x22, 0}}, {"knp", "kNXT", {dbk_complex, 0x51, 0x22, 0}},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment