Constructor
PhocSwitchnew
Declaration [src]
PhocSwitch*
phoc_switch_new (
wlr_input_device* device,
PhocSeat* seat
)
Parameters
device
-
Type:
wlr_input_device*
No description available.
The argument can be NULL
.The data is owned by the caller of the function. seat
-
Type:
PhocSeat
No description available.
The data is owned by the caller of the function.
Return value
Type: PhocSwitch
No description available.
The caller of the function takes ownership of the data, and is responsible for freeing it. |