UNPKG

expo-key-event

Version:

Provides an interface for reading key events such as from external bluetooth keyboards on Android, iOS and Web.

12 lines (9 loc) 276 B
/* eslint-disable no-undef */ /* eslint-disable no-unused-vars */ const utils = { sendKeyEvent: (keyCode, platform) => { const url = `http://localhost:3000/send-key-event?keyCode=${keyCode}&platform=${platform}`; return http.get(url); } }; output.utils = utils;