Detect hw keyboard