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

7,963

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

Share:
7,963

Related videos on Youtube

pawel159
Author by

pawel159

Updated on September 18, 2022

Comments

  • pawel159
    pawel159 over 1 year

    I use an external Bluetooth keyboard Samsung EJ-BT230 with an Android device. I need F1-F12 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 F1-F12 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?

    • phuclv
      phuclv over 5 years
      most laptops have an option to revert the function keys to their original behavior but that's not Fn-lock. I'm not sure if the Fn-lock key exists on physical keyboards or not but it's not a common feature. Anyway this is off-topic so I've edited your question to make it on-topic. If you don't like it just revert the changes