Skip to content

Button PAD

Yohoki edited this page Oct 26, 2020 · 3 revisions

This code type is useful when you want your code to be activated based on the button input.

Format

Definition

  • C: Code-Type Identifier
  • X: Bit
    • 2 - (32bit) (Not changeable)
  • A3-A4: Related Lines
  • B5-B8: Button Type
    • 0000 - Undefined
    • 0001 - Vita (Default)
    • 0002 - PSTV
    • 0004 - DualShock 3
    • 0008 - DualShock 4
  • C1-C8: Buttons
    • 00000001 - psvita-select
    • 00000008 - psvita-start
    • 00000010 - psvita-up
    • 00000020 - psvita-right
    • 00000040 - psvita-down
    • 00000080 - psvita-left
    • 00000100 - psvita-l
    • 00000200 - psvita-r
    • 00001000 - psvita-triangle
    • 00002000 - psvita-circle
    • 00004000 - psvita-cross
    • 00008000 - psvita-square
    • 00000000 - null

Examples

_V0 Button PAD
$C201 00000001 00000300
$0200 8xxxxxxx xxxxxxxx

Pressing the psvita-l + psvita-r will execute the following 0x01 related lines of code $0200 8xxxxxxx xxxxxxxx.

Button Combo

psvita-square + psvita-select:

_V0 Button PAD
$C201 00000001 00008001
$0200 8xxxxxxx xxxxxxxx

psvita-r + psvita-down:

_V0 Button PAD
$C201 00000001 00000240
$0200 8xxxxxxx xxxxxxxx
Clone this wiki locally