Pass direction as a boolean int rather than a string.
Hooked class section moving buttons to send a packet.