remapper_mask - Set remapper port mask
void remapper_mask(uint8 portmask);
Configure which port(s) the loaded controller mapping should be applied.
Table 1 | |
#include <remapper.gph> |
|
Bitmask | Port |
---|---|
0x08 | RMP_USB_A |
0x10 | RMP_USB_B |
0x04 | RMP_USB_C |
0x20 | RMP_USB_D |
0x01 | RMP_BT_A |
0x02 | RMP_BT_B |
No value is returned.
#include <remapper.gph> init { // Set lefty stick layout remapper_swap(STICK_1_X, STICK_2_X); remapper_swap(STICK_1_Y, STICK_2_Y); // Only to the controller on Input-B remapper_mask(RMP_USB_B); }