A 2D tactile pin-matrix device abstraction framework