Difference between revisions of "LE-CODE/Item Cheat"

From Custom Mario Kart
Jump to navigation Jump to search
Line 29: Line 29:
 
???
 
???
  
 +
{| class="textbox grid alt"
 +
|+ Joystick Analysis
 +
! Controller !! Data type
 +
! minimal<sup>1</sup> !! maximal<sup>1</sup>
 +
! neutral<sup>2</sup> !! neutral range<sup>2</sup>
 +
|-
 +
| Wiimote+Nunchuck
 +
| align=center | int16_t
 +
| align=center | −25856
 +
| align=center | 26880
 +
| align=center | 0
 +
| align=center | −5273 .. 5273
 +
|-
 +
| Classic Controller
 +
| align=center | int16_t
 +
| align=center | −512
 +
| align=center | 480
 +
| align=center | 0
 +
| align=center | −100 .. +100
 +
|-
 +
| GCN Controller
 +
| align=center | uint8_t
 +
| align=center | 16
 +
| align=center | 238
 +
| align=center | 128
 +
| align=center | 106 .. 150
 +
|}
 +
;Notes:
 +
:'''1''': ''Minimum'' and ''maximum'' values are only an approximation and vary from controller to controller.
 +
:'''2''': The ''neutral'' position is a target value. In fact, you should assume at least + 10% of the total area as a neutral position. This range is specified in the ''neutral range'' column.
  
 
[[Category:LE-CODE]]
 
[[Category:LE-CODE]]
 
[[Category:Cheat Codes]]
 
[[Category:Cheat Codes]]

Revision as of 11:45, 13 March 2021

As of build 27, LE-CODE has a built-in item cheat. Wiimm used his Item Cheat as base, so the the button layout is the same. The built-in item cheats supports all four game regions. The item selection can be controlled by Wiimote+Nunchuck, by Classic Controller or by GCN Controller. Wii Wheel is not supported due the lack of unused buttons.



Disable or enable the item cheat

???

Wiimote + Nunchuck

Buttons for Wiimote + Nunchuck

???

Classic Controller

Buttons for Classic Controller

???

GCN Controller

Buttons for GameCube Controller

???

Using Joysticks

???

Joystick Analysis
Controller Data type minimal1 maximal1 neutral2 neutral range2
Wiimote+Nunchuck int16_t −25856 26880 0 −5273 .. 5273
Classic Controller int16_t −512 480 0 −100 .. +100
GCN Controller uint8_t 16 238 128 106 .. 150
Notes
1: Minimum and maximum values are only an approximation and vary from controller to controller.
2: The neutral position is a target value. In fact, you should assume at least + 10% of the total area as a neutral position. This range is specified in the neutral range column.