{"id":10160,"date":"2019-09-08T17:01:40","date_gmt":"2019-09-08T08:01:40","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=10160"},"modified":"2019-09-09T01:43:08","modified_gmt":"2019-09-08T16:43:08","slug":"%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a43-%e3%81%a8-wii-%e3%83%aa%e3%83%a2%e3%82%b3%e3%83%b3%e3%82%92%e3%81%a4%e3%81%aa%e3%81%92%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.moonmile.net\/blog\/archives\/10160","title":{"rendered":"\u30e9\u30ba\u30d1\u30a43 \u3068 Wii \u30ea\u30e2\u30b3\u30f3\u3092\u3064\u306a\u3052\u308b"},"content":{"rendered":"<p>\u53f0\u98a8\u304c\u8fd1\u304f\u307e\u3067\u63a5\u8fd1\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u975e\u5e38\u306b\u7720\u3044\u306e\u3067\u7720\u6c17\u899a\u307e\u3057\u306b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_03org.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_03thum.jpg\"><\/a><\/p>\n<p>\u4e16\u306e\u4e2d\u306f\u4efb\u5929\u5802\u30b9\u30a4\u30c3\u30c1\u306e\u4e16\u754c\u306a\u306e\u3067\u3001Joy-Con \u3067\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001Joy-Con \u306f\u3061\u3087\u3063\u3068\u9ad8\u3044\u3002\u6b63\u898f\u7248\u3060\u3068 8,000\u5186\u4f4d\u3057\u307e\u3059\u306d\u3002\u4e92\u63db\u6a5f\uff1f\uff08\u30d0\u30a4\u30d6\u30ec\u30fc\u30bf\u304c\u306a\u3044\u3089\u3057\u3044\uff09\u306e\u5834\u5408\u3060\u3068\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u5b89\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u3059\u304c\u3001\u307e\u3042\u3001\u624b\u5143\u306b Wii \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u304c\u3042\u308b\u3057\u3001\u8a66\u3057\u306b\u3064\u306a\u3052\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u524d\u3001\u30e9\u30ba\u30d1\u30a4\u306b Wii \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u3064\u306a\u3052\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u3001\u53e4\u3044 Wii \u30ea\u30e2\u30b3\u30f3\u3060\u3068\u3046\u307e\u304f\u3044\u304f\u306e\u3067\u3059\u304c\u3001\u65b0\u3057\u3081\u306e Wii \u30ea\u30e2\u30b3\u30f3\u30d7\u30e9\u30b9\u3060\u3068\u30da\u30a2\u30ea\u30f3\u30b0\u304c\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3002Bluetooth \u5074\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u6539\u5909\u3059\u308c\u3070\u3001\u63a5\u7d9a\u306f\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u304c\u3044\u3044\u306e\u304b\u3069\u3046\u304b\u4e0d\u660e\u3060\u3063\u305f\u306e\u3067\u653e\u7f6e\u72b6\u614b\u3067\u3057\u305f\u3002<\/p>\n<h1 id=\"bluetoothctl-%E3%81%A8-xwiimote-%E3%82%92%E4%BD%BF%E3%81%86\">bluetoothctl \u3068 xwiimote \u3092\u4f7f\u3046<\/h1>\n<p>\u30e9\u30ba\u30d1\u30a43 \u306b xwiimote \u3092\u5165\u308c\u3066\u4f7f\u3044\u307e\u3059\u3002<br \/>\n\u30e9\u30ba\u30d1\u30a43 \u306e Raspbian \u306b\u306f\u65e2\u306b bluetooth \u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e bluetoothctl \u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>\n\n<div>sudo apt install bluez\n<\/div>\n\n<\/code><\/pre>\n<p>\u3057\u305f\u5f8c\u3067<\/p>\n<pre class=\"hljs\"><code>\n\n<div>bluetoothctl\n<\/div>\n\n<\/code><\/pre>\n<p>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u51fa\u308b\u306e\u3067\u3001<\/p>\n<pre class=\"hljs\"><code>\n\n<div>power on\nscan on\n<\/div>\n\n<\/code><\/pre>\n<p>\u3067\u63a5\u7d9a\u5148\u306e Bluetooth \u6a5f\u5668\u3092\u63a2\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3068\u304d\u306b\u3001Wii \u30ea\u30e2\u30b3\u30f3\u306e\u88cf\u5074\u306e\u8d64\u3044\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3001\u63a5\u7d9a\u5f85\u3061\u72b6\u614b\u306b\u3057\u3066\u304a\u304f\u3068\u3001Nintendo RVL-CNT-01-TR \u306e\u30c7\u30d0\u30a4\u30b9\u540d\u304c\u51fa\u3066\u304d\u307e\u3059\u3002\u3053\u3053\u306b\u51fa\u3066\u304f\u308b ID \u3092\u4f7f\u3063\u3066\u3001<\/p>\n<pre class=\"hljs\"><code>\n\n<div>pair 9C:E6:35:04:51:4A\nconnect 9C:E6:35:04:51:4A\ntrust 9C:E6:35:04:51:4A\n<\/div>\n\n<\/code><\/pre>\n<p>\u3057\u3066\u63a5\u7d9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_01org.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_01thum.jpg\"><\/a><\/p>\n<p>\u3053\u308c\u3067\u3001Bluetooth \u63a5\u7d9a\u72b6\u614b\u306b\u3057\u3066\u304a\u3044\u3066\u3001xwiishow \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>\n\n<div>sudo apt install xwiimote \n<\/div>\n\n<\/code><\/pre>\n<p>\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5f8c\u306b\u3001<\/p>\n<pre class=\"hljs\"><code>\n\n<div>xwiishow 1 \n<\/div>\n\n<\/code><\/pre>\n<p>\u3067 Wii \u30ea\u30e2\u30fc\u30c8\u306e\u64cd\u4f5c\u753b\u9762\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_02org.jpg\"><img decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/09\/images20190908_02thum.jpg\"><\/a><\/p>\n<p>A,B\u30dc\u30bf\u30f3\u306e\u64cd\u4f5c\u3084\u3001\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3001IR\u30bb\u30f3\u30b5\u30fc\u306e\u5024\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u4f7f\u3044\u65b9\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167<\/p>\n<p><a href=\"https:\/\/wiki.archlinux.jp\/index.php\/XWiimote\">XWiimote &#8211; ArchWiki<\/a><\/p>\n<h2 id=\"%E3%81%A9%E3%81%86%E3%82%84%E3%81%A3%E3%81%A6-wii-%E3%83%AA%E3%83%A2%E3%82%B3%E3%83%B3%E3%81%AE%E5%87%A6%E7%90%86%E3%82%92%E3%82%92%E3%81%99%E3%82%8B%E3%81%AE%E3%81%8B%EF%BC%9F\">\u3069\u3046\u3084\u3063\u3066 Wii \u30ea\u30e2\u30b3\u30f3\u306e\u51e6\u7406\u3092\u3092\u3059\u308b\u306e\u304b\uff1f<\/h2>\n<p>Linux \u306a\u306e\u3067\u30c7\u30d0\u30a4\u30b9\u306f\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u958b\u304b\u308c\u308b\u306e\u3067\u3001\/sys\/bus\/hid\/devices \u3067\u8abf\u3079\u3089\u308c\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"hljs\"><code>\n\n<div>pi@raspi3:~ $ ls \/sys\/bus\/hid\/devices\n0005:057E:0330.0002\npi@raspi3:~ $\n<\/div>\n\n<\/code><\/pre>\n<p>\u305f\u3076\u3093\u3001xwiishow \u306e\u3042\u305f\u308a\u304b\u3089 API \u304c\u51fa\u3066\u308b\u3068\u601d\u3046\u306e\u3060\u3051\u3069\u3001\u3053\u308c\u306f\u5f8c\u3067\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u304c\u3053\u3053\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\nGitHub &#8211; dvdhrm\/xwiimote: Open Source Nintendo Wii Remote Linux Device Driver <a href=\"https:\/\/github.com\/dvdhrm\/xwiimote\">https:\/\/github.com\/dvdhrm\/xwiimote<\/a><\/p>\n<p>PC \u306e\u5834\u5408\u306f\u3001WiimoteLib \u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/qiita.com\/Oyakodon\/items\/c63ad4ee4794401aecac\">Siv3D\u3067Wii\u30ea\u30e2\u30b3\u30f3\u3092\u4f7f\u3046 &#8211; Qiita<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53f0\u98a8\u304c\u8fd1\u304f\u307e\u3067\u63a5\u8fd1\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u975e\u5e38\u306b\u7720\u3044\u306e\u3067\u7720\u6c17\u899a\u307e\u3057\u306b\u3002 \u4e16\u306e\u4e2d\u306f\u4efb\u5929\u5802\u30b9\u30a4\u30c3\u30c1\u306e\u4e16\u754c\u306a\u306e\u3067\u3001Joy-Con \u3067\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001Joy-Con \u306f\u3061\u3087\u3063\u3068\u9ad8\u3044\u3002\u6b63\u898f\u7248\u3060\u3068 8,000\u5186\u4f4d\u3057\u307e\u3059\u306d\u3002\u4e92 &hellip; <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/10160\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10160","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=10160"}],"version-history":[{"count":5,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10160\/revisions"}],"predecessor-version":[{"id":10167,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/10160\/revisions\/10167"}],"wp:attachment":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=10160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=10160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=10160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}