From 0ea0f9a3638e71b7250069b670d426be6ddaa4fc Mon Sep 17 00:00:00 2001
From: maruhiro
Date: Sat, 17 May 2014 08:23:59 +0900
Subject: [PATCH] =?utf8?q?=E8=BF=BD=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
---
SDL_HapticCustom.html | 52 +++++++++++++++++++++++
SDL_HapticDirection.html | 105 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 157 insertions(+)
create mode 100644 SDL_HapticCustom.html
create mode 100644 SDL_HapticDirection.html
diff --git a/SDL_HapticCustom.html b/SDL_HapticCustom.html
new file mode 100644
index 0000000..3eb0be9
--- /dev/null
+++ b/SDL_HapticCustom.html
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+SDL_HapticCustom
+
+
+Ú - API(@\Ê) - ÍotB[hobN - SDL_HapticCustom
+
+SDL_HapticCustom
+JX^øÊÌev[gÌ\¢Ì
+tB[h
+
+wb_ |
+Uint16 | type | SDL_HAPTIC_CUSTOM |
+SDL_HapticDirection | direction | ³ø (Ú×ðQÆ·é±< |
Ķ |
+Uint32 | length | p±Ô(~b) |
+Uint16 | delay | øʪnÜéÜÅÌÒ¿Ô |
+gK |
+Uint16 | button | øÊðø«N±·{^ |
+Uint16 | interval | øÊðÄÑø«N±·Ô |
+JX^ |
+Uint8 | channels | gp·é²Ì. 1Èã (Ú×ðQÆ·é±Æ) |
+Uint16 | period | Tvüú |
+Uint16 | samples | Tv |
+Uint16* | data | channels*samplesÌÚ (Ú×ðQÆ·é±Æ) |
+Gx[v |
+Uint16 | attack_length | §¿ãªèÌp±Ô |
+Uint16 | attack_level | §¿ãªè̳ |
+Uint16 | fade_length | §¿º°Ìp±Ô |
+Uint16 | fade_level | §¿º°Ì³ |
+
+Ú×
+
+JX^øÊÍüúøÊÆÄ¢Ä, AvP[VÍ»ÌÀÛÌ`ðè`Å«é.
+dataÍchannels * samplesÂÌUint16^Å, ©ªÅmÛ·éKvª é.
+
+
+channelsª1ÌÆ«, è`µ½ûüÉñé.
+»Ì¼ÌÆ«, Ê̲̽ßÉdataðg¤.
+
+ÖAÚ(Ö)
+SDL_HapticNewEffect
+SDL WikiÖÌN
+SDL_HapticCustom - SDL Wiki
+
+
+
diff --git a/SDL_HapticDirection.html b/SDL_HapticDirection.html
new file mode 100644
index 0000000..8a0a2a4
--- /dev/null
+++ b/SDL_HapticDirection.html
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+SDL_HapticDirection
+
+
+Ú - API(@\Ê) - ÍotB[hobN - SDL_HapticDirection
+
+SDL_HapticDirection
+øÊÌûüÌ\¢Ì
+tB[h
+
+Uint8 | type | ÀWnÌíÞ (Ú×ðQÆ·é±Æ) |
+Sint32[] | dir | ûü (Ú×ðQÆ·é±Æ) |
+
+Ú×
+
+nveBbNuÌî{ûÊÍ, uÌÊuÆÎIÅ é.
+kð[Uªü¢Ä¢éûüÆ·é.
+ìª[UÌ¢éûü, ªE, ¼ª¶Å é.
+
+
+î{ûÊÍÌ}Ìæ¤ÉÈÁÄ¢é.
+
+ .--.
+ |__| .-------.
+ |=.| |.-----.|
+ |--| || ||
+ | | |'-----'|
+ |__|~')_____('
+ [ Rs
[^ ]
+
+
+ k (0,-1)
+ ^
+ |
+ |
+(1,0) ¼ <----[ nveBbN ]----> (-1,0)
+ |
+ |
+ v
+ ì (0,1)
+
+
+ [ [U ]
+ \|||/
+ (o o)
+ ---ooO-(_)-Ooo---
+
+
+
+ÀWnÉÍÌà̪ é.
+
+SDL_HAPTIC_POLAR | ÉÀW |
+SDL_HAPTIC_CARTESIAN | ¼ðÀW |
+SDL_HAPTIC_SPHERICAL |
ÊÀW |
+
+
+
+typeªSDL_HAPTIC_POLARÈçÎ, ûüÍk©çvñèÌxÌ100{Åwè·é.
+SDL_HAPTIC_POLARÍdirÌ1ÔÚÌÝg¤.
+î{ûÊÍÌæ¤ÉÈé.
+
+k | 0 (0x) |
+ | 9000 (90x) |
+ì | 18000 (180x) |
+¼ | 27000 (270x) |
+
+
+
+typeªSDL_HAPTIC_CARTESIANÈçÎ, ûüÍ3²(X², Y², Z²)Åwè·é.
+SDL_HAPTIC_CARTESIANÍdirÌ3ÔÚÜÅðg¤.
+î{ûÊÍÌæ¤ÉÈé.
+
+k | 0, -1, 0 |
+ | -1, 0, 0 |
+ì | 0, 1, 0 |
+¼ | 1, 0 ,0 |
+
+àµÎµÄ¢êÎZ²ÍøÊ̳ð\·. εĢȯêÎgíêÈ¢.
+¼sÀWnÅÍ(1, 2)Í(2, 4)ͯ¶Å é. l¶³êéÌÍûüÌÝÅ, ]ÞÈçν{ɵÄàæ¢.
+
+
+typeªSDL_HAPTIC_SPHERICALÈçÎ, ûüÍ2ÂÌpxÅwè·é.
+dirÌ2ÔÚÜÅðg¤.
+dirÌlÍÌÊèÅ é(SÄÌlÍxÌ100{).
+
+(1, 0)©ç(0, 1)Öñ]·épx |
+(0, 0, 1)ÖûüÌpx (ÈÆà3²ÌfoCXªKv) |
+
+
+ÖAÚ(\¢Ì)
+SDL_HapticPeriodic
+ÖAÚ(Ö)
+SDL_HapticNumAxes
+SDL WikiÖÌN
+SDL_HapticDirection - SDL Wiki
+
+
+
--
2.11.0