GhostPad.setTarget

Set the new target of the ghostpad gpad. Any existing target is unlinked and links to the new target are established. if newtarget is NULL the target will be cleared.

class GhostPad
bool
setTarget

Parameters

newtarget Pad

the new pad target

Return Value

Type: bool

TRUE if the new target could be set. This function can return FALSE when the internal pads could not be linked.