changed 2 functions to press and release keys

Fork of USBDevice by mbed official

unknown revision 'shortlog'