• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

Commit MetaInfo

Révision2ad6b1e153d478d5649a75baaa9380da1a4e7fde (tree)
l'heure2012-11-25 21:41:25
Auteurshom5xg <shom@.(no...>
Commitershom5xg

Message de Log

add M-key to keyboard detection

Change Summary

Modification

--- a/core/src/core/input/input_keyboard_def.h
+++ b/core/src/core/input/input_keyboard_def.h
@@ -28,6 +28,8 @@ private:
2828 eKEY_C,
2929 eKEY_V,
3030
31+ eKEY_M,
32+
3133 eKEY_RETURN,
3234 eKEY_SPACE,
3335 eKEY_SHIFT,
@@ -54,6 +56,8 @@ public:
5456 enum{ key_c = 1<<eKEY_C };
5557 enum{ key_v = 1<<eKEY_V };
5658
59+ enum{ key_m = 1<<eKEY_M };
60+
5761 enum{ key_return = 1<<eKEY_RETURN };
5862 enum{ key_space = 1<<eKEY_SPACE };
5963 enum{ key_shift = 1<<eKEY_SHIFT };
@@ -84,6 +88,8 @@ namespace input_keyboard_def
8488 enum{ KEY_C = cinput_keyboard_def::key_c };
8589 enum{ KEY_V = cinput_keyboard_def::key_v };
8690
91+ enum{ KEY_M = cinput_keyboard_def::key_m };
92+
8793 enum{ KEY_RETURN = cinput_keyboard_def::key_return };
8894 enum{ KEY_SPACE = cinput_keyboard_def::key_space };
8995
--- a/core/src/core/input/raw/input_raw_keyboard.h
+++ b/core/src/core/input/raw/input_raw_keyboard.h
@@ -30,6 +30,7 @@ DIK__INPUT_RAW_KEYBOARD( Z )
3030 DIK__INPUT_RAW_KEYBOARD( X )
3131 DIK__INPUT_RAW_KEYBOARD( C )
3232 DIK__INPUT_RAW_KEYBOARD( V )
33+DIK__INPUT_RAW_KEYBOARD( M )
3334 DIK__INPUT_RAW_KEYBOARD( RETURN )
3435 DIK__INPUT_RAW_KEYBOARD( SPACE )
3536