add gpio for raspi
call js_dev_process to raise joystick events