Arian04 / android-hid-client

Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)
GNU General Public License v3.0
109 stars 4 forks source link

IF YOU ARE USING THIS LET ME KNOW AND I'LL (maybe) MAINTAIN IT #13

Closed Arian04 closed 3 months ago

Arian04 commented 9 months ago

I've stopped maintaining this because I just started working on other projects but I noticed a few stars so if anyone is actually using this, let me know.

If people are using this, I'll try to do some actual testing and iron out some kinks that I'm sure I left in the project before I forgot about it.

update (10/06/2023): just to add an update for anyone who reads this. I haven't forgot about this, I still plan to do some cleanup and maintenance. I've just been a bit busy w classes. if anyone else reads this feel free to let me know about more bugs or feature requests!

update (3/24/2024): definitely took longer than I meant to for me to get back to this but I've been making improvements during the past week and have just committed some significant improvements. Will release them once it's more polished

404LiverNotFound commented 8 months ago

I have been using it with KeePassDX as a password typer for a few months. Works great in my use case.

Arian04 commented 8 months ago

awesome, thanks for letting me know. now I have motivation to fix it up a bit lol

Arian04 commented 8 months ago

@404LiverNotFound any bugs you've noticed while using it? I found some old notes from when I was working on it and one of the issues I planned to address is that I don't make it clear to the user that enabling the character device (/dev/hidg0) necessary for the app to work disables special USB functions (USB tethering and all the other functions that show in that popup you get when you connect your phone to another device). I also don't have a builtin way to disable /dev/hidg0 inside the app to restore these functions. You could use USB gadget tool (another app) to do that but I'd rather it be builtin. Anything else you've run into?

404LiverNotFound commented 8 months ago

I’m currently using the USB gadget tool to switch between character device and other USB functions. A built-in toggle would be nice since the only app I use that involves character device is this app. v1.0.0-beta.4 works well for me, but every key is sent with l_ctrl key pressed in v1.0.0. Should I open an issue regarding this?

some logs from wev Keyboard: Hacker's keyboard (Gboard returns same result) Input: A Logs: ``` [14: wl_keyboard] key: serial: 5965; time: 2827541; key: 37; state: 1 (pressed) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000004: Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 5967; time: 2827541; key: 38; state: 1 (pressed) sym: a (97), utf8: '' [14: wl_keyboard] key: serial: 5968; time: 2827541; key: 37; state: 0 (released) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000000 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 5970; time: 2827541; key: 38; state: 0 (released) sym: a (97), utf8: '' [14: wl_keyboard] key: serial: 5971; time: 2827542; key: 37; state: 1 (pressed) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000004: Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 5973; time: 2827544; key: 37; state: 0 (released) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000000 latched: 00000000 locked: 00000010: Mod2 ```
Arian04 commented 8 months ago

interesting. it'd be cool if you could create an issue for it but it's not a big deal if you don't. I'll look into it soon, thanks!

edit: I've created the issue

Arian04 commented 3 months ago

closing because now I know I have a few users at least, so this is worth maintaining.

Arian04 commented 3 months ago

I’m currently using the USB gadget tool to switch between character device and other USB functions. A built-in toggle would be nice since the only app I use that involves character device is this app. v1.0.0-beta.4 works well for me, but every key is sent with l_ctrl key pressed in v1.0.0. Should I open an issue regarding this? some logs from wev Keyboard: Hacker's keyboard (Gboard returns same result)

@404LiverNotFound v2.0.0 implements this feature. Pinging you because I thought you'd want to know.