kbdlogger: Added platform device and input device support

Basic support for platform and input device added in order to
use sysfs and input system infratructure