Mechanical hysterons with tunable interactions of general sign | Synapse