map buttons to computer keyboard

rotylee posted Aug 11, 03:46:

is there a a way to map the buttons to a PC keyboard keys.?

mirco posted Aug 12, 11:17:

Mybe you can connect a usb keybord

remi posted Aug 12, 12:22:

I think it wouldn't be too hard to implement (I was thinking about doing it but don't have time to)
But as for now, there are no way for samplerbox to know what you do with your keyboard.

rotylee posted Aug 12, 18:05:

i got two momentary switches

def Buttons():
GPIO.setup(18, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(17, GPIO.IN, pull_up_down=GPIO.PUD_UP)
global preset, lastbuttontime

i'm guessing it goes

one to pin 11 and one to pin 12 and the other side to ground 6,9 or 14

shows 18 used by pcm_clock , is that ok?


  (not published)
  I want to post as guest