Live data from Hacker News

Bluetooth keystroke-injection in Android, Linux, macOS and iOS

github.com

241–250 of 265 posts

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#241
post #47

Earlier quoted context omitted.

I never really understood the benefits of a wireless keyboard. Do people usually carry their keyboard from their desk with them when they take their laptop somewhere else? I guess I could maybe -- maybe -- see the convenience if you have some sort of small-form-factor keyboard that you stash in your bag. But still, the wire doesn't seem like much of a burden, and personally I'd find the annoyance of needing to ensure…

My cats insist on sleeping on the desk, so wireless keyboard & mouse is a must for me so I can navigate around cats. They all is USB-C charged so I use a single charger cable for macbook, gaming controller, keyboard and mouse.

I wish I had USB-C charged cats. Imagine savings on food...

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#242

Earlier quoted context omitted.

I’ve had many similar issues with ports, to be honest. Just recently had to get the I/O board swapped on an M1 MBP—one day it decided that one of the USB ports wouldn’t connect 80% of the time. It was relatively inexpensive to do officially even without the warranty (around US$60 all in all), and took just a couple of days, to be fair.

Huh, maybe I'm an outlier. Maybe it's the way you remove your connectors? Some people tend to wiggle them side-to-side, I touch the chassis with my thumb and index finger around the USB, and kind of roll my fingers so they put pressure against the chassis. That leads to the removing force vector pointing strictly straight out of the connector, and I've never had a problem with any port.

Past me was definitely careless. Current me—doubtful, or at least I’d like to think I’d have learned to be nicer to ports…

> I touch the chassis with my thumb and index finger around the USB, and kind of roll my fingers so they put pressure against the chassis

This doesn’t work when you have two ports in close proximity and one of them is occupied. In that scenario I’d have to either lift the laptop in order to squeeze the connector from top & bottom while removing (this option requires not being exhausted or lazy) or pull on a cable a bit further away from the connector (though I do it gently nowadays, pushing with another finger against the chassis for at least some balance).

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#243

Earlier quoted context omitted.

My previous laptop had indeed its SD slot borked at some point (part of why I don’t care that my new laptop lacks it—I would just not expect it to work reliably, so why have another dust collection point). My first laptop’s keyboard had very occasionally working keys in the middle (I blame my pianist fingers bashing them too hard)—I count that as physical I/O, though not a port issue. Is it easy to source replacement…

Yes, but wireless wouldn't have saved you with the latter.

Sure, as long as the keyboard is separate (wired or not) bashing it would have saved the built-in keyboard for a rainy day.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#244

Earlier quoted context omitted.

Yes, but wireless wouldn't have saved you with the latter.

Sure, as long as the keyboard is separate (wired or not) bashing it would have saved the built-in keyboard for a rainy day.

You may want to get one with replaceable switches, I built one and had one or two switches go bad after a few years, I popped them off, plugged new ones in, and that was it. Lifesaver.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#245

Earlier quoted context omitted.

Sure, as long as the keyboard is separate (wired or not) bashing it would have saved the built-in keyboard for a rainy day.

You may want to get one with replaceable switches, I built one and had one or two switches go bad after a few years, I popped them off, plugged new ones in, and that was it. Lifesaver.

Much respect for people building keyboards (a colleague’s done it as well). Since I’d love to have a compact split one (whether wired or not), and apparently it’s quite hard to find them pre-built and in stock, it looks like I’d have to get into building them as well. It’d be a while though, gotta move to a bigger place to have the space to build anything at all.

But on the original topic, it appears that modern wireless keyboards fare well enough as far as connection and latency[0] to qualify for gaming, so I wonder if your impression about connection reliability could be a bit outdated?

[0] https://www.rtings.com/keyboard/reviews/logitech/g715#test_6...

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#246

Can someone walk me through the process of exploiting Android or iOS with this? I never attached a keyboard to my phones. How do I get to the app store and download an app using just the keyboard? On iOS it requires the fingerprint if I remember correctly, at least on mine. But it's for work and I do mostly very basic stuff with it, so I could be wrong.

On Android for free apps I believe the default is no password confirmation Assuming recent versions, you could press home + type "Play Store" to search and open the app, search for something and install without a password, assuming an unatended device, in my phone at least you can click to wake up the screen

Can you use "tab" to cycle through UI elements on Android or how would you navigate the app store?

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#247

Earlier quoted context omitted.

You may want to get one with replaceable switches, I built one and had one or two switches go bad after a few years, I popped them off, plugged new ones in, and that was it. Lifesaver.

Much respect for people building keyboards (a colleague’s done it as well). Since I’d love to have a compact split one (whether wired or not), and apparently it’s quite hard to find them pre-built and in stock, it looks like I’d have to get into building them as well. It’d be a while though, gotta move to a bigger place to have the space to build anything at all. But on the original topic, it appears that modern wire…

A friend builds wireless keyboards, so I guess they must be fine now with ZMK, but the issue I had with mine and QMK was that I never knew if the battery was dying or if the keyboard was just being flaky. I switched to wired and never looked back, but, to be fair, it is for a desktop computer.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#248
post #149

Earlier quoted context omitted.

Yes, thankfully there's a password on installing software as root Obligatory https://xkcd.com/1200/ Running code works fine without root, at least to copy your emails, saved logins, and browser sessions file and such

Which is why I'm using Qubes OS to isolate Bluetooth from the rest of the system.

How does that work?

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#249
post #248

Earlier quoted context omitted.

Which is why I'm using Qubes OS to isolate Bluetooth from the rest of the system.

How does that work?

Qubes uses hardware virtualization to isolate different hardware, including audio stack, USB devices, into dedicated virtual machines. You do not normally run anything there except the drivers.

Re: Bluetooth keystroke-injection in Android, Linux, macOS and iOS

#250
post #228

Earlier quoted context omitted.

Presumably so you can't turn it off simply by uncommenting the line. The default is defined in some source file.

Mine says # Defaults to true for security. #ClassicBondedOnly=true (which is the patch indicated)

I don't follow your point.
Post reply on HN