2006-10-31から1日間の記事一覧

Xbox 360 Controller

Xbox 360 ControllerをWindowsで使うとキャリブレーションが変だったんですが、サンワサプライのVibrateGameDeviceDriverをアンインストールしたら直りました。 でも、L/RトリガーがZ軸扱いなのでイマイチ使えません。 ↓ここにある非公式ドライバならボタン…

参照渡しと定数

extractと同じように複数フォーマット対応のアーカイバも作りました。 archive.cpp 実装では、id:mb2sync:20060622 の問題に遭遇しました。 struct entry { boost::optional<boost::uint16_t> attributes; // ... }; struct msdos_attributes { static const boost::uint16_t </boost::uint16_t>…