質問編集履歴
3
タグを追加
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
2
提示コードを修正しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
|
13
|
+
static int Key[256];
|
14
14
|
// キーの入力状態を更新する
|
15
15
|
int gpUpdateKey() {
|
16
16
|
char tmpKey[256]; // 現在のキーの入力状態を格納する
|
1
文章を修正しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
提示コードですがここからどうすれば**キーが押された時と押されている間**の取得出来るのでしょうか?それぞれを関数化したいです。
|
2
|
+
実装方法を含めどうしたらいいかわからないです。どうすればいいのでしょうか?
|
2
3
|
|
3
4
|
|
5
|
+
|
4
6
|
参考サイト https://www.ay3s-room.com/entry/dxlib-key-input
|
5
7
|
```cpp
|
6
8
|
#include "Input.hpp"
|