Browse Source

no message

Hongtae Kim 8 years ago
parent
commit
0f59a3c131
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      TestApp1/TestApp1.cpp

+ 3
- 3
TestApp1/TestApp1.cpp View File

@@ -34,7 +34,7 @@ public:
34 34
 			{
35 35
 				if (e.type == DKWindow::KeyboardEvent::KeyUp)
36 36
 				{
37
-					if (e.key == DKVK_ENTER)
37
+					if (e.key == DKVK_ENTER || e.key == DKVK_RETURN)
38 38
 					{
39 39
 						window->SetTextInputEnabled(0, !window->IsTextInputEnabled(0));
40 40
 						DKLog("TextInput: %d", window->IsTextInputEnabled(0));
@@ -52,8 +52,8 @@ public:
52 52
 			}),
53 53
 			DKFunction([this](const DKWindow::MouseEvent& e)
54 54
 			{
55
-				DKLog("MouseEvent: %d, btn:%d, location:%.1f, %.1f, delta:%.1f, %.1f",
56
-					  e.type, e.buttonId, e.location.x, e.location.y, e.delta.x, e.delta.y);
55
+				//DKLog("MouseEvent: %d, btn:%d, location:%.1f, %.1f, delta:%.1f, %.1f",
56
+				//	  e.type, e.buttonId, e.location.x, e.location.y, e.delta.x, e.delta.y);
57 57
 			})
58 58
 		);
59 59
 	}