From 374b412e90ed0aa222b9b0de483ea295f9f64c5b Mon Sep 17 00:00:00 2001 From: maruhiro Date: Sun, 10 Oct 2021 23:51:37 +0900 Subject: [PATCH] =?utf8?q?SDL=5FJoystickSetVirtualButton=20=E6=96=B0?= =?utf8?q?=E8=A6=8F=E8=BF=BD=E5=8A=A0=20https://wiki.libsdl.org/SDL=5FJoys?= =?utf8?q?tickSetVirtualButton?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- CategoryAPI.html | 1 + CategoryJoystick.html | 1 + SDL_JoystickSetVirtualButton.html | 35 +++++++++++++++++++++++++++++++++++ WhatsNew.html | 2 +- 4 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 SDL_JoystickSetVirtualButton.html diff --git a/CategoryAPI.html b/CategoryAPI.html index e3dd693..e555c25 100644 --- a/CategoryAPI.html +++ b/CategoryAPI.html @@ -560,6 +560,7 @@
  • SDL_JoystickSetLED
  • SDL_JoystickSetPlayerIndex
  • SDL_JoystickSetVirtualAxis
  • +
  • SDL_JoystickSetVirtualButton
  • SDL_JoystickUpdate
  • SDL_LoadBMP
  • SDL_LoadBMP_RW
  • diff --git a/CategoryJoystick.html b/CategoryJoystick.html index 3c9764b..9f9466b 100644 --- a/CategoryJoystick.html +++ b/CategoryJoystick.html @@ -65,6 +65,7 @@
  • SDL_JoystickSetLED
  • SDL_JoystickSetPlayerIndex
  • SDL_JoystickSetVirtualAxis
  • +
  • SDL_JoystickSetVirtualButton
  • SDL_JoystickUpdate
  • SDL_NumJoysticks
  • diff --git a/SDL_JoystickSetVirtualButton.html b/SDL_JoystickSetVirtualButton.html new file mode 100644 index 0000000..fbff63d --- /dev/null +++ b/SDL_JoystickSetVirtualButton.html @@ -0,0 +1,35 @@ + + + + + + + + +SDL_JoystickSetVirtualButton + + +–ÚŽŸ - API(‹@”\•Ê) - ƒWƒ‡ƒCƒXƒeƒBƒbƒN - SDL_JoystickSetVirtualButton +
    +

    SDL_JoystickSetVirtualButton

    +ƒI[ƒvƒ“‚³‚ꂽ‰¼‘zƒWƒ‡ƒCƒXƒeƒBƒbƒN‚̃{ƒ^ƒ“‚É’l‚ðÝ’è‚·‚é +

    \•¶

    +SDL_JoystickSetVirtualButton(SDL_Joystick *joystick, int button, Uint8 value) +

    ˆø”

    + + + + +
    joystickó‘Ô‚ðÝ’è‚·‚鉼‘zƒWƒ‡ƒCƒXƒeƒBƒbƒN
    buttonÝ’è‚·‚鉼‘zƒWƒ‡ƒCƒXƒeƒBƒbƒN‚̃{ƒ^ƒ“
    valueV‚µ‚­ƒ{ƒ^ƒ“‚ɐݒ肷‚é’l
    +

    –ß‚è’l

    +¬Œ÷‚Ì‚Æ‚«0, Ž¸”s‚Ì‚Æ‚«-1‚ð–ß‚·. +

    Ú×

    +

    +‚±‚±‚Őݒ肵‚½’l‚ÍŽŸ‚ÉSDL_JoystickUpdate()‚ðŒÄ‚Ô‚Ü‚Å”½‰f‚³‚ê‚È‚¢‚Ì‚Å’ˆÓ‚·‚邱‚Æ. +ŒÄ‚яo‚µ‚É‚Í’¼Ú, ‚Ü‚½‚͈ȉº‚ÌSDL API‚É‚æ‚é‚à‚Ì‚ª‚ ‚é: SDL_PollEvent(), SDL_PumpEvents(), SDL_WaitEventTimeout(), SDL_WaitEvent() +

    +

    SDL Wiki‚ւ̃Šƒ“ƒN

    +SDL_JoystickSetVirtualButton - SDL Wiki +
    + + diff --git a/WhatsNew.html b/WhatsNew.html index 80fa311..26f465c 100644 --- a/WhatsNew.html +++ b/WhatsNew.html @@ -90,7 +90,7 @@
  • SDL_JoystickDetachVirtual()
  • SDL_JoystickIsVirtual()
  • SDL_JoystickSetVirtualAxis() -
  • SDL_JoystickSetVirtualButton() +
  • SDL_JoystickSetVirtualButton()
  • SDL_JoystickSetVirtualHat()
  • ƒZƒ“ƒT[ˆê——‚Ö‚Ì”r‘¼“IƒAƒNƒZƒX‚ð•Ûá‚·‚éSDL_LockSensors()‚ÆSDL_UnlockSensors()‚̒ljÁ -- 2.11.0