| カテゴリ | 重要度 | ステータス | 解決状況 | 登録日時 | 最終更新 |
|---|---|---|---|---|---|
DIP/入力 | 中 | 解決済み | 修正済み | 2008-04-04 01:00 | 2008-04-04 16:39 |
| テスター | Mr_Person | 担当者 | couriersud | ソース | |
| バージョン | 0.124u1 | 発生バージョン | 修正バージョン | 0.124u2 | |
| 修正コミット | プルリク | ||||
| フラグ | |||||
| セット | |||||
| セット詳細 | |||||
| 概 要 | HATスイッチ入力が動作しない。 | ||||
| 詳 細 | Hat switch inputs are not read at all, even in the control setup menu. Reverting the following change to input.c seems to make things work as they did before, though I don't understand the input system well enough to make heads or tails of what's breaking.
@@ -409,11 +476,11 @@
INLINE input_item_class input_item_standard_class(input_device_class devclass, input_item_id itemid)
{
/* most everything standard is a switch, apart from the axes */
- if (itemid == ITEM_ID_OTHER_SWITCH || itemid < ITEM_ID_XAXIS || itemid > ITEM_ID_SLIDER2)
+ if (itemid == ITEM_ID_OTHER_SWITCH || itemid < ITEM_ID_XAXIS || (itemid > ITEM_ID_SLIDER2 && itemid < ITEM_ID_ADD_ABSOLUTE1))
return ITEM_CLASS_SWITCH;
| ||||
| 再現手順 | |||||
| 追加情報 | |||||
| 添付ファイル | |||||