Skip to content
Moi-poke edited this page Nov 29, 2022 · 5 revisions

Welcome to the SWCon-Pyside wiki!

image

Tutorial

Usage & Example:

  • 1秒間Aボタンを押下し、次の操作まで1秒間待機する

    self.press(Button.A, duration=1, wait=1)
  • 0.1秒間Bボタンを押下し、左スティックを上に倒す。次の操作まで0.1秒間待機する。

    self.press([Button.A, Direction.UP], duration=0.1, wait=0.1)

    Directionについて、角度・倒し方をより細かく指定することが可能です。

  • 左スティックを45度方向に100%倒す

    Direction(Stick.LEFT, angle=45, magnification=1)
  • 右スティックを240度方向に50%倒す

    Direction(Stick.RIGHT, angle=240, magnification=0.5)

基本の入力

Button
Y
B
A
X
L
R
ZL
ZR
MINUS -
PLUS +
LCLICK 左スティック押し込み
RCLICK 右スティック押し込み
HOME ホームボタン
CAPTURE スクリーンショットボタン
Direction 左スティック 右スティック
UP R_UP
RIGHT R_RIGHT
DOWN R_DOWN
LEFT R_LEFT
UP_RIGHT 右上 R_UP_RIGHT 右上
DOWN_RIGHT 右下 R_DOWN_RIGHT 右下
DOWN_LEFT 左下 R_DOWN_LEFT 左下
UP_LEFT 左上 R_UP_LEFT 左上
Hat
TOP
TOP_RIGHT 右上
RIGHT
BTM_RIGHT 右下
BTM
BTM_LEFT 左下
LEFT
TOP_LEFT 左上
CENTER ニュートラル

Afterword

お布施

https://ofuse.me/moi0326

Clone this wiki locally