Over Christmas I figured out how to hack the keyboard of the blackberry passport and make it work good with android etc. It involves a bit of back and for between the android run time and some android apps.
This solves lots of problems like keyboard repeat issues and other issues that occurred when trying to use the keyboard under android. if any of u have tried , you would of notice that the keys don’t repeat, so when playing dos games that required u to hold keys it would only do the key once.
First you need KeyEvent Display_v1.0.26_apkpure.com.apk
this lets you listen to keyboard events, then you need this com-mod-external-keyboard-helper-pro-mod-paid-7-4-65.apk
finally you need this ADW Launcher 2_v184.108.40.206_apkpure.com.apk
These apks can be downloaded from very sources on the internet.
Inside the launcher go to settings enable keyboard helper mod, then open up key event display to get the scan codes, then switch back to the blackberry keyboard and setup your controls the best combo for gaming ive found looks like this
Also make there this is enabled
Here are some scancodes for the regular keys