Skip to content
Sunguk Lee edited this page Oct 10, 2016 · 5 revisions

vita-moonlight support custom key mapping like moonlight-embedded.

But we use another code value ranges. Because Vita has limited input methods, but moonlight support many HID device types, so we need to classify each device type for the avoid value conflict.

all values must be hex values. please refer vita.conf

KEYCODE VALUE
0FFFFF keyboard inputs
100000 pause stream
20000X mouse buttons (1: left, 2: middle, 3: right)
3XXXXX gamepad inputs
40000X analog (0: left-x, 1: left-y, 2: right-x, 3: right-y, 4: left-clk, 5: right-clk)
50025X back screen (8: top-left, 9: top-right, a: bottom-left, b: bottom-right)
500259 back screen top-right
50025a back screen bottom-left
50025b back screen bottom-right
Clone this wiki locally