Commit f08a43e
committed
Detect WaveBird as a separate Style (and surface its no-rumble flag).
Adds STYLE_WAVEBIRD distinct from STYLE_GCN. Detection mirrors libogc's
SI_DecodeType: if (SI_GetType(p) & SI_GC_WAVEBIRD) == SI_GC_WAVEBIRD
the controller is an active wireless WaveBird, not a wired Standard
controller. WaveBirds have SI_GC_NOMOTOR set, so we mark
rumble_supported=false for them — the Rumble field will read
'Unavailable' instead of 'Idle'.1 parent 3359017 commit f08a43e
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
313 | | - | |
314 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
315 | 324 | | |
316 | 325 | | |
317 | 326 | | |
| |||
0 commit comments