<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>Snicoe&apos;s Blog</title>
  <language>zh-cn</language>
  <generator>microfeed.org</generator>
  <itunes:type>serial</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://blog-arklink-org.pages.dev/rss/" type="application/rss+xml"/>
  <link>https://blog.arklink.org</link>
  <description>
    <![CDATA[<p>这里是Snicoe自言自语的地方，随便写点东西，也没啥人看，所以看心情更新一些陈芝麻烂谷子的东西。</p><p>社媒: <a href="https://www.instagram.com/snicoe0716" rel="noopener noreferrer" target="_blank">Instagram</a> | <a href="https://www.youtube.com/@snicoeofficial" rel="noopener noreferrer" target="_blank">Youtube</a> | <a href="https://x.com/snicoeofficial" rel="noopener noreferrer" target="_blank">X / Twitter</a></p><p>本人生理男性并自认为男性，性取向正常，社恐一个，看心情回复❤️。</p>]]>
  </description>
  <itunes:author>Snicoeの自言自语</itunes:author>
  <itunes:image href="https://media-cdn.arklink.org/blog-arklink-org/production/images/channel-35018318ef9161a58e1728b4144ab0a9.png"/>
  <image>
    <title>Snicoe&apos;s Blog</title>
    <url>https://media-cdn.arklink.org/blog-arklink-org/production/images/channel-35018318ef9161a58e1728b4144ab0a9.png</url>
    <link>https://blog.arklink.org</link>
  </image>
  <copyright>©2019-2026</copyright>
  <itunes:category text="Science"/>
  <item>
    <title>Steam Frame Lepton添加手柄映射支持</title>
    <guid>7wBDj1d1P_z</guid>
    <pubDate>Wed, 07 Oct 2026 13:09:40 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<p>目前lepton并没有启用steam input和硬件手柄的直接输入，所以需要手动在容器启动时手动把宿主机的<code>/dev/input/</code> 手动映射到podman容器中，需要修改mounting.sh添加以下字段</p><pre><code>配置路径：~/.local/share/Steam/steamapps/common/Lepton/liblepton/mounting.sh</code></pre><p><br></p><pre><code># Steam Input exposes Frame controllers as virtual Xbox gamepads on SteamOS.
    # Event numbers change across boots, so select devices by their kernel name
    # instead of hard-coding event numbers (or exposing all of /dev/input).
    local gamepad_count=0
    local input_node input_name is_gamepad
    for input_node in /dev/input/event*; do
        [[ -c "${input_node}" ]] || continue

        # udev's ID_INPUT_JOYSTICK can also be set on Steam Ctrl mouse/keyboard
        # interfaces on Frame, so use the kernel-reported name to avoid passing
        # those unrelated devices into Android.
        input_name="$(cat "/sys/class/input/${input_node##*/}/device/name" 2&gt;/dev/null || true)"
        is_gamepad=false
        if [[ "${input_name,,}" == *gamepad* || "${input_name,,}" == *joystick* || "${input_name,,}" == *"x-box"* || "${input_name,,}" == *xbox* ]]; then
            is_gamepad=true
        fi

        [[ "${is_gamepad}" == true ]] || continue

        podman_cmdline --device "${input_node}:${input_node}:r"
        println "Passing gamepad input ${input_node} into Lepton"
        ((gamepad_count += 1))
    done
    if [[ "${gamepad_count}" -eq 0 ]]; then
        println "No host evdev gamepad found; Android apps will not receive Linux gamepad input"
    fi</code></pre>]]>
    </description>
    <link>https://blog.arklink.org/i/steam-frame-lepton-gamepad</link>
    <itunes:episodeType>full</itunes:episodeType>
  </item>
</channel>
</rss>