ユーザインターフェース
gamepad_set_button_threshold †
アナログボタンの閾値を設定します
構文 †
gamepad_set_button_threshold(device, threshold);
- device
- ゲームパッドのスロット番号
- threshold
- 閾値(0.0〜1.0。初期値は0.5)
戻り値 †
- N/A
- なし
説明 †
この関数は指定のゲームパッドのアナログボタンの閾値を設定することができます。初期値は「0.5」となっており、「0.0〜1.0」の値を設定することが可能です。閾値の定義はアナログボタンの"pressed"判定をデジタルに判定することができます。
if gamepad_get_button_threshold(0) != 0.5
{
gamepad_set_button_threshold(0, 0.5);
}
アナログボタンの閾値が0.5でなければ、0.5に変更します
Wiki内検索
#search(): You already view a search box
MENU
2ch
その他
最新の30件
2024-03-07
2023-08-09
2023-05-21
2023-05-20
2023-05-04
2022-10-13
2022-07-21
2022-07-02
2022-04-06
2021-11-30
2021-11-26
2021-10-03
2021-09-23
2021-08-15
2021-06-02
2021-01-23
2021-01-21
2021-01-19
2021-01-18
2021-01-16
2021-01-15
人気の10件
今日の10件
これまでの訪問者: 1130
今日の訪問者: 2
昨日の訪問者: 1
閲覧者: 5