*added input handler for linux platform