I have setup a communication between my laptop and arduino using UART protcol. I have used pygame to take keyboard presses like KEY_UP,KEY_DOWN and transmit a byte using pys