Android to android keyboard and mouse

Android to android keyboard and mouse

Описание:
Единственное работающее приложение Touch Emulation без хаков или приложений Client / Server

Это единственное приложение на GooglePlay Market, которое позволяет играть в «любую» игру на основе альбомной ориентации без параметров root / hacks / developer и без клиентских / серверных приложений и требует только нескольких разрешений для приложений. Для этого приложения вам понадобится только небольшая плата Arduino, и вы готовы к работе!

Что требуется для функционирования данной программы:

1)OTG кабель — USB хаб минимум на 3 разъема
2) Мышь, клавиатура проводные
3) Программатор Arduino моделей Micro/ Pro Micro /Leonardo/Beatle (модели на базе контроллера Atmega 32u4)
Ссылки на приобретение:

Инструкция по подключению:

Настройка подключения и касаний:

Тонкая настройка мыши:

1)Запустите приложение
2)По USB хабу подключите мышь и клавиатуру к устройству (подтвердите все всплывающее разрешения)
3)К свободному разъему USB хаба подключите Arduino (также подтвердите разрешения)

Требуется Android: 8.0+
Русский интерфейс: Да

Скачать:
версия: 2.43 base.apk ( 3.43 МБ )

P.s.
Настоятельно рекомендую приобрести приложение в GP (если у Вас Arduino уже имеется конечно ) и протестировать. Если что то не понравится, то в течении двух часов Вы можете вернуть свои средства, удалив приложение.
А купить приложение следует по той причине, что разработчик довольно часто с помощью пользователей на своем форуме находит и решает проблемы, а также добавляет по просьбам нужные функции в своё приложение.

Сообщение отредактировал MainGeek — 19.07.19, 14:27

Источник

How to Use Keyboard and Mouse on Android with OTG

Though the touchscreen keyboard on your Android smartphone or tablet is great for texting, wouldn’t it be greater to attach a USB keyboard to your Android phones or tablets? After all, bigger is better when it comes to typing and dealing with a bunch of stuff. Also, some special apps may require an external mouse or mini keyboard for Android phone/tablet. Now, let’s start to learn how to control Android using computer’s keyboard and mouse.

Extra Tips:

Many Android devices support keyboard and mouse which are particularly helpful for people who use any office suite to create documents on their tablet. However, Android phones and tablets don’t have standard, full-size USB ports, so you can’t plug a USB peripheral directly into it unless the peripheral device is wireless. To connect external keyboard and mouse for Android mobile phone and Android tablets, you need a USB On-the-Go cable.

What is USB On-the-Go?

USB On-the-Go (OTG) allows two USB devices to attach a peripheral device to your Android tablet or phone without needing a computer. It’s like a bridge between two devices. However, if the keyboard or mouse is wireless, you can connect a mouse or keyboard to android without OTG. A USB OTG cable has two connecting ends. One end fits in your Android device and the other end has a female USB connector in which you can connect keyboard/mouse. It’s a little accessory like the picture below.

How to Operate Android Device Using a Mouse or a Keyboard

Note: Not all Android devices support peripherals with a USB OTG cable. Some devices don’t have the appropriate hardware support. Therefore, be sure to Google whether your device supports USB OTG before purchasing a USB OTG cable.

STEP 1. Firstly, connect one end of the OTG cable to your Android phone or tablet and then the other end to either a keyboard or a mouse.

STEP 2. Once detected, you will get a notification on your Android device. Differently, an Android USB keyboard/mouse driver is not necessary in this case.

STEP 3. When the mouse is connected, a pointer would appear on the screen which you can use to scroll through pages, click on applications and do all basic things a mouse would normally do on computers.

STEP 4. When the keyboard is connected then you can use your Android device as a computer to edit and create Microsoft office documents much faster as compared to using the tablet’s touch keyboard.

Now you have successfully connected a USB keyboard or mouse to your Android device. You can work on your Android far more easier and faster than ever before. Since USB OTG cable is such a magic tool, you can also use OTG to watch movies on USB disk, transfer photos from digital camera to Android directly and share files between Android devices without needing a computer. Just try the USB OTG and make your digital life easier.

If you found this post is interesting and helpful. Don’t forget to share it!

Читайте также:  Android app bundle как отключить

Источник

Android to android keyboard and mouse

Nexus 7 2012 WiFi (Grouper)

  • Plug your device into PC using USB cable.
  • Power off the device.
  • Hold Volume Down button and Power button for 5 seconds, to enter fastboot mode.
  • Copy appropriate fastboot executable from the directory fastboot .
  • Launch command fastboot oem unlock
  • Confirm unlock action by pressing Power button. This will factory reset your device.
  • Copy boot.img from directory nexus7-2012-wifi-grouper.
  • Launch command fastboot flash boot boot.img .
  • Reboot your device using Power button.
  • Install and run USB Keyboard app.

LG G2 with Cyanogenmod 12.0

Sony Ericsson phones

Motorola Moto G with Cyanogenmod

Motorola Moto E with Cyanogenmod

Motorola Moto G 2014

Motorola Moto X Style (Pure) 2015

  • http://forum.xda-developers.com/showthread.php?t=2590246 — you have to enable it in the included STweaks app

Huawei Ideos X5

Sony Xperia Z3 and Z3 Compact

Sony Xperia Z Ultra

Xiaomi Redmi 1S

Xiaomi Redmi 3S

Asus Zenfone 2 ZE551ML

Asus Zenfone 2 Laser (Z00L/Z00T)

Sony Xperia Z5 Premium E6853

Sony Xperia Z5 Compact

Xiaomi Redmi Note 3

Samsung Galaxy Tab 2 (any espresso3g based device)

  • You will have to compile the kernel yourself.

There is a possibility to send keypresses in an automated way, using terminal emulator for Android or similar app. This is done using hid-gadget-test utility.

First, copy this utility to your device.

You will need to set world-writable permissions on /dev/hidg0, or run hid-gadget-test from root shell.

To always have root shell, so you don’t need to enter ‘su’ each time, run command

Then, use hid-gadget-test to send keypresses.

You can also run this command without launching ADB shell, from shell script or .bat file.

You can check the modification time of file /sys/devices/virtual/hidg/hidg0/dev to know when the USB cable has been plugged into PC, however this does not always work, so it’s better to simply check if hid-gadget-test returned an error.

Here’s a sample shell script that will send a predefined key sequence when USB cable is plugged into PC:

If you need to crack a PIN code, but the target system loses keypresses (happens in MacOS BIOS), there is a handy app for that, which uses camera to check if each keypress is recognized.

You can also run DuckyScript files used by USB Rubber Ducky keystroke injection tool, with the help of this neat shell script.

You have to run all following commands on Linux. Windows is not supported. These instructions are for Nexus 7 2012, change them for your device accordingly.

To compile kernel, launch commands

https://github.com/pelya/android-keyboard-gadget/tree/master/patches/existing_tested — Tested patch files (pro) Tip: generic_kernel_version_3.xx.patch is just patches for AOSP roms and just by basic kernel versions. 3.01 is acceptable for 3.0.101. Other patch files is for devices only. The file named HTC Flounder will be acceptable ONLY FOR HTC Flounder!

To compile boot.img , launch commands

/bin/repo chmod a+x

/bin/repo mkdir aosp cd aosp repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r1 repo sync cp -f ../tegra/arch/arm/boot/zImage device/asus/grouper/kernel make -j4 TARGET_PRODUCT=aosp_grouper TARGET_BUILD_VARIANT=userdebug «>

You then can find boot.img in directory aosp/out/target/product/grouper .

Nexus 7 2012 does not put any SELinux restrictions on the files inside /dev, however most other devices typically restrict all access inside /dev for apps, which means you will be able to use hid-gadget-test command from the root shell, but the Android app will fail to launch.

SELinux can be temporarily disabled with a command

however this will considerably weaken your device security, so it’s better to add specific SELinux exception for /dev/hidg0 and /dev/hidg1 .

SELinux rules can be found at path

Replace asus/grouper with your device manufacturer/model, then add following lines to SELinux rules.

In file device.te — the declaration of SELinux security context type:

In file file_contexts — binding the device paths to the security context:

In file app.te — the rule itself to allow apps using this security context:

Then recompile boot.img .

Compiling USB Keyboard app

To compile USB Keyboard app, install Android SDK and NDK from site http://developer.android.com/ , and launch commands

The custom kernel you have compiled adds two new devices, /dev/hidg0 for keyboard, and /dev/hidg1 for mouse.

You can open these two files, using open() system call, and write raw keyboard/mouse events there, using write() system call, which will be sent through USB cable to your PC.

Keyboard event is an array of 8 byte length, first byte is a bitmask of currently pressed modifier keys:

Remaining 7 bytes is a list of all other keys currently pressed, one byte for one key, or 0 if no key is pressed. Consequently, the maximum amount of keys that may be pressed at the same time is 7, excluding modifier keys.

Professional or ‘gamer’ USB keyboards report several keyboard HID descriptors, which creates several keyboard devices in host PC, to overcome that 7-key limit.

Читайте также:  Атак он титан андроид

The scancode table for each key is available in hid-gadget-test utility. Extended keys, such as Play/Pause, are not supported, because they require modifying USB descriptor in kernel patch.

Mouse event is an array of 4 bytes, first byte is a bitmask of currently pressed mouse buttons:

Remaining 3 bytes are X movement offset, Y movement offset, and mouse wheel offset, represented as signed integers. Horizontal wheel is not supported yet.

See functions outputSendKeys() and outputSendMouse() inside file input.cpp for reference implementation.

About

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.

Источник

AndroMouse 8.0

Welcome!!

Thank you for downloading AndroMouse 8.0. This is the place where you learn how to setup AndroMouse, download AndroMouse Server, ask questions and help others.
Some of the screenshots I used for version 8.0 are from previous version, please note that the functionality is still the same even if says older version in the screenshots.

AndroMouse lets you convert your Android smartphone into a wireless mouse, keyboard, media remote, file browser and much more. Communication with your computer can be made using your WiFi network or using Bluetooth. AndroMouse features most mouse functionalities including click, double-click, drag and drop, scroll and right-click. You can use your phone’s on-screen keyboard as the wireless keyboard. In addition to wireless mouse and keyboard, AndroMouse also provides tons of extra features. Most popular features include speak-to-type and file-browser. Relax on your couch and search Google or Youtube with your voice. Compose an email with your voice instead of using your physical keyboard!! Browse your computer files on your phone.

Here is a sneak peek of what’s new in all new AndroMouse 8.0.

What has changed since earlier versions?
Basically everything! I published the first version of AndroMouse in 2011 – since then I had been updating/fixing few things here and there without changing much of the core functionalities. To make the application and the server much more robust and to boost performance, I rewrote them again from scratch. Although everything underneath the application is brand new, the basic motivation of my hard work remains unchanged – to make the best performing wireless mouse and keyboard app. If you are familiar with earlier versions of AndroMouse, it should be fairly simple to get started.

Getting Started

Connecting to the AndroMouse Server

If you have not downloaded AndroMouse in your phone yet, download it from the Play Store – AndroMouse Free AndroMouse – No Ads

To use AndroMouse, you will need to download the AndroMouse Server and run it on the computer that you want to wirelessly control. AndroMouse server runs on Windows, Mac or Linux and requires no further installation. Please download AndroMouse Server from the link below:

Please make sure that your app version and server version matches – current version is AndroMouse 6.3 (both app and the server).

The downloaded zip file contains a readme text file and AndroMouse Server.jar file. The AndroMouse Server.jar file is a light-weight java executable file, to run it please make sure that you have Java runtime installed on your computer. Most computers already come with Java runtime but if yours didn’t – just download it from the java website and install it. Link to instructions on how to check if you have java installed on your computer is provided below:
How to check if you have Java installed

When you have made sure that Java runtime is installed, double click on the AndroMouse Server.jar file that you have just extracted and just like that the AndroMouse Server is running. Now we can use AndroMouse app on your phone to make a connection.

Linux users – When trying to run the server you might get an error message with something like ‘.. the file is not marked as executable’. To fix this, right-click on the file and click on properties and on Permissions tab – make sure to check box ‘Allow executing file as program’ is selected.
Mac Users – When trying to run the server for the first time you might get a message saying ‘the file cannot be opened because it is from an unidentified developer’. In that case, right-click on the server file and click on open.
Windows Users – You might get a Windows security alert saying something like ‘Windows Firewall has blocked some features..’. You must select ‘Allow Access’ to use AndroMouse. If you are still having issues connecting to the server, your AntiVirus software might be blocking connections – please open Java SE binary for incoming and outgoing connections on your Firewall settings.

You will see the following screen when you successfully start the AndroMouse server. Now all you have to do is let it run and use your AndroMouse app in your phone to setup the connection.

Читайте также:  Терминатор генезис для андроид
Connecting Using WiFi

Note – Screenshots provided below are from the ad-free version.

AndroMouse home – To start a connection click on the new icon

AndroMouse – new connection screen

Click on the ‘new’ icon located on the title bar of the application. You will see the following screen that will let you choose either WiFi or Bluetooth (Bluetooth is only available on Windows for the time being). Select Wifi.

Note – Please make sure that the computer and the Android device are connected to same the wifi network or hotspot.

AndroMouse will automatically start detecting AndroMouse Server that is running on your computer connected to your wifi network, once found it will provide the server details and give you the option to start the connection. However, for some reason, if the app didn’t detect the server – you also have the option to enter the Server’s IP address manually to make the connection.

AndroMouse automatically detects the Server

When server is found, select Connect to begin

Connecting Using Bluetooth

Note – Please make sure that your phone is paired with the computer and Bluetooth is turned on.

From the ‘New Connection’ screen – select Bluetooth. You will see a list of Bluetooth devices paired with your phone under ‘Paired Devices’. Select your computer to make the connection.

Connecting with Bluetooth

Green line under title indicates connected state

After successful connection – you will notice that the thin horizontal bar below title bar turns green.

Note – the color of the thin horizontal bar beneath the title bar indicates connection status – red for disconnected and green for connected. You will also feel a short vibration when your active connection gets disconnected.

Using Wireless Mouse

Move your single finger around the touchpad area as you would move a physical mouse over a mousepad. You can tap on the touchpad to send a click signal or use the mouse buttons below the touchpad to send respective click signals to your computer. Here is the list of various ways you can send signals using the touchpad, scroll bar and the mouse buttons.

Click Tap on touchpad with single finger or left click button
Double click Double tap on touchpad
Right click Tap on touchpad with two fingers or right click button
Drag and drop Tap and hold on touchpad for two seconds-move finger to drag-tap to release
Scroll Swipe up or down on the scrollbar

Using Wireless Keyboard

Tap on the ‘keyboard icon’ to bring up keyboard. Press on back soft-button to hide the keyboard.

AndroMouse uses your phone’s standard keyboard

AndroMouse Extras

I have provided screenshot of each of the AndroMouse Extras and a short description underneath.

Speak-to-type

If you feel like speaking instead of typing – use this feature.

Function keys

All your function keys and additional keyboard keys are provided here.

Numpad

Game Pad

Use game pad to use your phone as a wireless joystick. You can customize each button so that you can select what key you want to send when you click on that button.

Shortcuts

Use pre-existing shortcuts like copy, paste, print or create your own.

Media Remote

Remote to control the media player running on your computer. It also comes with mini file browser so you can browse your computer’s media files and select which ones to play.

File Browser

Browse your computer’s files from your phone, you can also send the signal to open the file in your computer from your phone.

Presentation

Control your Powerpoint presentation from your phone. You will also see your computer’s screen to make sure that you are on right slide (this function is currently in beta).

Power Keys

Restart, shutdown, lock and put your computer to sleep from this remote.

Settings

Many of the AndroMouse features are customizable via the settings screen.

If you have a specific question on any of the setting item, please let me know in the comments below.

Thank You!!

I know there are a lot of things that I have not covered on this page, but should you have any question, comment or any suggestion for the future release, please let me know in the comments section. Thank you once again for downloading AndroMouse. I hope you will enjoy the app and give me a positive review in the app store.

Источник

Оцените статью