<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ShionAmasato</author_name>
  <author_url>https://blog.hatena.ne.jp/ShionAmasato/</author_url>
  <blog_title>異次元ワープロ2号機</blog_title>
  <blog_url>https://ij-wordprocessor-2nd.hatenablog.jp/</blog_url>
  <categories>
    <anon>サンプルプログラム</anon>
  </categories>
  <description>STN-BASICにはおまけ（実験的）機能扱いながら、ゲームパッドのボタンとスティックの値を取得する関数が搭載されています。 それを利用し、端末にBluetoothで接続されたJoy-Con1個を横持ちすると想定してプログラムから利用できるようにする関数を作成しました。 上下左右ABXYの各ボタン相当*1について、BUTTONの番号の法則に準じた数値*2を返します。※特定のAndroidスマートフォン1機種と右手用のJoy-Conの組み合わせで動作を確認しており、ボタン番号が異なって得られる機種では意図通りに動作しません。 ※厳密なフレームレートで動作することを必要としている作品には不向きです…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fij-wordprocessor-2nd.hatenablog.jp%2Fentry%2F2026%2F11%2F16%2F152454&quot; title=&quot;STN-BASIC：Joy-Con使用テスト - 異次元ワープロ2号機&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-11-16 15:24:54</published>
  <title>STN-BASIC：Joy-Con使用テスト</title>
  <type>rich</type>
  <url>https://ij-wordprocessor-2nd.hatenablog.jp/entry/2026/11/16/152454</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
