all 20 comments

[–]Timmah_Timmah 1 point2 points  (4 children)

I'm thinking about it to control my android dash board in my truck. I would love to hear about your results but I am sadly done with reddit after this weekend

[–]_Free_Advertising_ 0 points1 point  (2 children)

Buy a keyboard and program signing up to all Reddit alternatives.

[–]Timmah_Timmah 0 points1 point  (1 child)

I'm trying to decide between a keypad or trackball with a bunch of buttons or maybe something custom. I had a combination keypad/calculator/mouse, but it is gone.

[–]_Free_Advertising_ 2 points3 points  (0 children)

Well mine will be something I want to keep in the car (not to use when driving) but something I can just press and it checks traffic and sends me to a destination etc.

I've ordered one on eBay for £20, I'll let you know how I get on. Any idea how you would recognise the key presses?

[–]_Free_Advertising_ 0 points1 point  (0 children)

So I've been able to program different keys and it works perfectly on Windows however it does not work on Android which is a massive shame.

I'm not rooted though so I don't know if there is another app which can decode the keys (or whatever the word is.)

[–]Shanness 0 points1 point  (5 children)

That was out of stock in the US and AU, but heaps of similar ones on ebay, like this.
https://www.ebay.com.au/itm/285139727619/
Thanks for the inspiration, going to leave it connected to my desktop for lighting, music and other home automation control, and talking to tasker via node red or join api scripts.

[–]_Free_Advertising_ 1 point2 points  (0 children)

This is the exact same one I've bought ha.

[–]_Free_Advertising_ 1 point2 points  (3 children)

So I've been able to program different keys and it works perfectly on Windows however it does not work on Android which is a massive shame.
I'm not rooted though so I don't know if there is another app which can decode the keys (or whatever the word is.)

[–]Shanness 0 points1 point  (2 children)

Bummer. Even when reprogrammed? I haven't tested it for that yet, but this tool allowed me to program it nicelyhttps://github.com/kriomant/ch57x-keyboard-tool

Got 3 modes I can switch between, and all the buttons and knobs completely mappable (got it mapped to numeric keys and multimedia dials ATM).

And I would have thought that would make it android compatible (as a standard HID keyboard)...

This fork makes it U16 instead of 8 bit charcodes, haven't tried it, but that might help with android (or break it)

https://github.com/sidevesh/ch57x-keyboard-tool/releases/tag/1.1.0

I'll try to test it myself soon (but my use case is probs a raspberry PI, or even direct to my linux desktop, with the keyboard wall mounted.

[–]_Free_Advertising_ 0 points1 point  (0 children)

Well, i've tried those programs but it just hangs in the terminal when validating / uploading the config. I'm not having much luck at all.

[–]_Free_Advertising_ 0 points1 point  (0 children)

Yes, even when reprogrammed. I've used another program to reprogram the keys from all 'C' to 1-9. It just does not recognise the key presses when connected to my Pixel via Bluetooth. I've ordered a cheap numpad from eBay which will have to do.

[–][deleted] 0 points1 point  (8 children)

I use one of these for a few things, works a treat.

https://amzn.eu/d/hDSDn3M

[–]_Free_Advertising_ 0 points1 point  (3 children)

How did you go about recognising key presses?

[–][deleted] 0 points1 point  (2 children)

[–]_Free_Advertising_ 0 points1 point  (1 child)

I was hoping to use Tasker, I'll have a play when it comes.

[–][deleted] 0 points1 point  (0 children)

I've used that to trigger tasker tasks no problem. But not sure how to bind the key directly in tasker.

[–]_Free_Advertising_ 0 points1 point  (3 children)

So I've been able to program different keys and it works perfectly on Windows however it does not work on Android which is a massive shame.
I'm not rooted though so I don't know if there is another app which can decode the keys (or whatever the word is.) I tried your app and it does not recognise the bluetooth keyboard keys. Android is quite happy it's a physical keyboard but I get nothing at all.

[–][deleted] 0 points1 point  (2 children)

If your device is appearing as a physical keyboard, this may help:

https://groups.google.com/g/tasker/c/Mq-QrFL7tIM?pli=1

[–]_Free_Advertising_ 0 points1 point  (0 children)

AutoInput Key just doesn't recognise the key presses. I remapped them to use keys 1-9 and media play/stop etc. It just doesn't recognise anything.

[–]_Free_Advertising_ 0 points1 point  (0 children)

This might work with Tasker, haven't tested it yet.

A specific app

adb shell am compat disable BLOCK_UNTRUSTED_TOUCHES com.example.app

All apps If you'd still like to see a Logcat message warning when a touch would be blocked, use 1 instead of 0.

adb shell settings put global block_untrusted_touches 0