How to use function keys on bluetooth keyboards in Android without pressing Fn

androidbluetoothkeyboard shortcutskeyboard-layoutwireless-keyboard

I use an external Bluetooth keyboard Samsung EJ-BT230 with an Android device. I need F1F12 keys to use SSH terminal remotely (eg. for mc). Now, I'm able to use function keys when holding Fn button on the keyboard.

Is it possible to switch the operation of F1F12 to make them possible to be used without Fn button? Is there any solution like Fn-Lock which is present on laptops' keyboards or on laptops' BIOS? Or is there any way to remap the keys so I can swap the function key features?

Best Answer

Fn is not a real key that OSes recognize, since it doesn't produce a scan code (except on Mac keyboards). The keyboard controller sends the real scan code if you press Fn along with some other keys. Therefore if there's no physical Fn-lock key on your keyboard (which probably doesn't, as some one commented) you'll need to remap those keys on software

If you have root permissions there are various solutions to remap

If you have a non-rooted device then you can use External Keyboard Helper. Just remap the scancode for Home to F1 and vice versa. Similarly for other keys. You can see the remap tutorial that shows you how to get Esc without Fn like in your keyboard

For more information you can read

Related Question