Detect & support HW Keyboards
removed unused code