[Ttssh2-commit] [3349] KeyDownの方でF13〜F20の設定を忘れていたので修正。

svnno****@sourc***** svnno****@sourc*****
2009年 4月 24日 (金) 23:58:32 JST


Revision: 3349
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3349
Author:   doda
Date:     2009-04-24 23:58:32 +0900 (Fri, 24 Apr 2009)

Log Message:
-----------
KeyDownの方でF13〜F20の設定を忘れていたので修正。
# F13〜F20があるPC用のキーボードは知らないけど

Modified Paths:
--------------
    trunk/teraterm/teraterm/keyboard.c


-------------- next part --------------
Modified: trunk/teraterm/teraterm/keyboard.c
===================================================================
--- trunk/teraterm/teraterm/keyboard.c	2009-04-24 10:43:32 UTC (rev 3348)
+++ trunk/teraterm/teraterm/keyboard.c	2009-04-24 14:58:32 UTC (rev 3349)
@@ -461,6 +461,70 @@
 	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
 	}
 	break;
+      case VK_F13:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF13,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F14:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF14,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F15:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdHelp,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F16:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdDo,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F17:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF17,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F18:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF18,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F19:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF19,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
+      case VK_F20:
+	if (Single && !ts.StrictKeyMapping) {
+	  GetKeyStr(HWin, KeyMap, IdF20,
+	            AppliKeyMode && ! ts.DisableAppKeypad,
+	            AppliCursorMode && ! ts.DisableAppCursor,
+	            Send8BitMode, Code, sizeof(Code), &CodeLength, &CodeType);
+	}
+	break;
       case '2':
       case '@':
 	if (Control && !ts.StrictKeyMapping) {



Ttssh2-commit メーリングリストの案内