X:
In
Out
InOut
Y:
In
Out
InOut
S:
In
Out
InOut
Sources on Github