View Single Post
Old 01-06-2022, 05:58 AM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,936
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Yes.
The best way to do that is natively (not with Tasker).
/system/usr/keylayout/Vendor_????_Product_????.kl is the keylayout specific for your device.
You need to find out the VID/PID of your device (either Bluetooth or USB).
Code:
$ logcat|grep bt_btif (for Bluetooth)
$ lsusb -v            (for wired USB)
Then you write your own keylayout and either put it in your Magisk module (best) or in the /system/usr/layout directly.
Renate is offline   Reply With Quote