Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to disable internal keypad while external keypad is connected to rk3399

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240

How to disable internal keypad while external keypad is connected to rk3399

Posted at 2/1/2018 13:45:52      View:3522 | Replies:6        Print     [Copy Link] 1#
Hello,
My problem is, I want to disable internal keypad only when the external keypad is attached to rk3399.
Can we do this? And Can we do this from an android application or this can be done through firmware modification only? If we have to go with firmware modification only then what they should be?
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 2/1/2018 21:34:55      2#

I have tried this code but when I attach external keyboard it doesn't detect it and always go to this condition "config.hardKeyboardHidden = Configuration.HARDKEYBOARDHIDDEN_YES";

I also want to hide softKeyboard when external one is connected. Is there any way to hide it permanently until the External keyboard is detached?
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 2/2/2018 14:15:47      3#
leung先森 Posted at 2/2/2018 09:34
I sure that code will work, have u tryed it yet ?
if u do not active the virtual keyboard, it wil ...

I have tried the code you have suggested.
In Firefly when I attach an external keyboard and in Settings->Languege/Input->Physical Keyboard->show virtual keyboard I keep it disabled, it is still showing virtual keyboard.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list