Dynammically detect keyboard device file