Remote Sensor Connections

Remote sensor connections is a feature allowing other programs to connect to Scratch. This allows it to be extended to connect to devices, access the internet, or perform other functions not possible inside Scratch. For example, JoyTail allows you to use a joystick with Scratch.

This requires Scratch 1.3.1 or higher.

Fonte e mais detalhes aqui.