Input capture library