mizucoffee / wiimote4j Goto Github PK
View Code? Open in Web Editor NEW[FROZEN] Wiimote4J is an unofficial Java library for the Wiimote. javadoc ->
Home Page: http://kawakawaritsuki.github.io/wiimote4j
[FROZEN] Wiimote4J is an unofficial Java library for the Wiimote. javadoc ->
Home Page: http://kawakawaritsuki.github.io/wiimote4j
openみたいな処理をした地点で最大受付数4みたいな感じで。
配列で保管して切断された時点で配列から削除...したら駄目か。
切断されたらnull入れ込んで新しく接続されるときにはnull探す感じか。
ゲーム中にリモコン番号は変わらないはずだし。
ただコレをするとなると構成を一気に変更する必要が...?
最大受付数は指定できたほうが良いか。
1台しか使わないことも多そう。
1-4の指定かな
あまりに冗長な処理が多すぎる。
リファクタor再設計
例えば、今現在WiiBalanceBoardがほぼ仕事をしていないが、重心計算処理等を分ける必要性があまり無いのでまとめてしまっても良いのでは。という趣旨のIssue。
まとめるとすれば
ボタン管理クラス -> Wiimote / 一部WBB
重心管理クラス -> WBB
Wiimote Extentionが接続された時呼ばれるリスナとは別に現在接続されているものを取得するメソッドを作る
凄くきれいになりそう
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.