[APP] DroidMote Server & Client - Wifi Control between Android Devices ++

Status
Not open for further replies.
Search This thread

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
Hi Androiders.
With your android phone, with one application called Mod Edit link removed you can control another android Phone or Tablet, a Windows pc or a Linux pc, on wich you have installed Mod Edit link removed

DroidMote is not only a remote mouse, a remote keyboard, a remote gamepad and a remote multi touch touchpad, but it is something more.
In fact, with the Gamepad2Touch feature allows you to use all the applications and games that were developed to support only devices with touch screen. Imagine you want remote control a game, designed for touch screen devices on your large TV Full HD, with DroidMote you can.
Just create, in a few simple steps, a "touch profile" with the application "Touch profile Creator" that you can download in the attachment.
Mod Edit link removed
DroidMote is fully customizable, in the Server part you can create your own file droidmote.kl to change the default action of the keyboard keys, of the buttons and axis of the gamepad. In the Client part you can create your own "touch profile" to simulate touch events on the remote screen.

The client and the server to connect must be or on the same local network, or connected to the internet to control remote devices over long distances.
If you not have a wifi router, you can connect the server and the client directly (point to point) by activating the function Tethering/portable hotspot on your phone or on your tablet. Connect the phone to the tablet or the tablet to the phone. Click start on server, get the ip and put it in the client.
You do not need bluetooth,the bluetooth is slow and cover small distances.

DroidMote Server must be installed on the device to be controlled.
DroidMote Client must be installed on the device controller.

ONLY THE DEVICE WITH THE SERVER INSTALLED NEEDS TO BE ROOT.
IN THE SERVER DEVICE , MAKE SURE YOU HAVE BUSYBOX UPDATED AND YOU HAVE THE UINPUT MODULE IN THE KERNEL LIKE MOST ANDROID DEVICES.
Mod Edit link removed

Features:

[✔] Remote Mouse
[✔] Remote Multitouch Touchpad
[✔] Two Fingers Scroll Zoom Rotate
[✔] Remote Keyboard
[✔] Remote Mediaplayer
[✔] Remote Dpad
[✔] Remote Multitouch Gamepad
[✔] Remote Control with accelerometer
[✔] Two virtual analog stick on screen
[✔] Touch emulation allows you to map buttons and analog sticks to the screen. Play all your favourite games with full analog support, even those without built-in controller support!
[✔] TouchMouse for games that not support a real mouse
[✔] Voice dictation with android keyboard
[✔] Gesture typing with android 4.2 keyboard

For the Server part:
Android versions > 2.2:
support: mouse,keyboard,dpad,mediaplyer,gamepad to keyboard.
Android versions > 3.2:
support: mouse,keyboard,dpad,mediaplyer,real gamepad, multitouch touchpad,touch profiles.

If you are satisfied with DroidMote is much appreciated a good vote/review on Google Play

Video Playlist: Mod Edit link removed
Mod Edit link removed
For the DroidMote Basic gestures look this videos:
Mod Edit link removed


How to customize keyboard keys, buttons, and axes actions in DroidMote Server:
Video Mod Edit link removed

The folder location of droidmote.kl is /system/usr/keylayout ------> this file is for customization

The folder location of droidmote.kcm is /system/usr/keychars

This two files by default, in android version > 3.0, are automatically installed at first installation on the device with the server inside.

To know which scan codes send the client you can install in the server part the free tool (Keyevent Dispaly in the android Market).

Then follow these simple steps:

1) connect the client to the server
2) make sure everything works
3) on the server start the tool Keyevent Dispaly
4) click a button on the client
5) read the scan code on the Keyevent Dispaly
6) open the file /system/usr/keylayout/droidmote.kl
7) put the scan code on the left and on the right the new custom action
8) reboot the device with the server installed.

You can find the list of custom action to this android developer page:
http://developer.android.com/reference/android/view/KeyEvent.html.

The default scan codes for droidmote buttons are:
Arrow up is key 314
Arrow down is key 316
Arrow left is key 317
Arrow right is key 318
Arrow up-left is key 312
Arrow up-right is key 313
Arrow down-left is key 288
Arrow down-right is key 306

A button is key 304
B button is key 305
X button is key 307
Y button is key 308
Z button is key 309
square button is key 310
circle button is key 311
triangle button is key 315


Only honeycomb and later versions of Android include the use of buttons and axes:

key 304 BUTTON_A
key 305 BUTTON_B
key 306 BUTTON_C
key 307 BUTTON_X
key 308 BUTTON_Y
key 309 BUTTON_Z
key 310 BUTTON_L1
key 311 BUTTON_R1
key 312 BUTTON_L2
key 313 BUTTON_R2
key 314 BUTTON_SELECT
key 315 BUTTON_START
key 316 BUTTON_MODE
key 317 BUTTON_THUMBL
key 318 BUTTON_THUMBR

If you have the DroidMote Server installed on a version earlier than honeycomb but you want utilize the buttons, open the file querty.kl and add:

key 304 A
key 305 B
key 306 C
key 307 X
key 308 Y
key 309 Z
key 310 D
key 311 E
key 312 F
key 313 G
key 314 H
key 315 I
key 316 L
key 317 M
key 318 N

You can customize also the axes from honeycomb and later version of Android:

left stick x is 0x00
left stick y is 0x01

right stick x is 0x02
right stick y is 0x05

accelerometer x is 0x10
accelerometer y is 0x11

In the default configuration you have:
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 LTRIGGER
axis 0x04 RTRIGGER
axis 0x05 RZ
axis 0x10 HAT_X
axis 0x11 HAT_Y
in this configuration you use the left stick to move the avatar --> X and Y and the right stick to change view of the avatar --> Z and RZ

If you want you can change this in:
axis 0x00 Z
axis 0x01 RZ
axis 0x02 X
axis 0x03 LTRIGGER
axis 0x04 RTRIGGER
axis 0x05 Y
axis 0x10 HAT_X
axis 0x11 HAT_Y
in this configuration you use the left stick to change view of the avatar --> Z and RZ and the right stick to move the avatar --> X and Y

Another useful configuration for the axes if you want use the analog LTRIGGER and RTRIGGER is:
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 LTRIGGER
axis 0x04 RTRIGGER
axis 0x05 split 0x00 RTRIGGER LTRIGGER
axis 0x10 HAT_X
axis 0x11 HAT_Y
in this first configuration you use the left stick to move the avatar --> X and Y and the right stick to change view when you move left and right, instead if you move up and down you use the LTRIGGER and the RTRIGGER. (is useful to drive a car or generic racing game).

If you have a racing game or you want move the character with the accelerometer, you can change the defaul axes 0x10 and 0x11 with all you want.


For more information on the customization look at:
http://source.android.com/tech/input/key-layout-files.html


Games that support gamepad only for testing the "real gamepad" emulation future:

- Shadowgun
- Riptide Gp
- Reckless Getaway
- GTA 3
- Onlive games with this patched apk link or mirror-1
- Raging Thunder II
- Cordy
- Hockey Nations 2011
- All Emulators

Updated list:
http://xdaforums.com/showthread.php?t=1542820

Suggest a new game with the gamepad support !


For games that do not natively support gamepads, you can create a touch profile with the app "Touch Profile Creator" and put the xml file created in the sd card of the device in which you have installed DroidMote Client.


--------------------------------------------------------

FREE WINDOWS, LINUX, ANDROID X86 DROIDMOTE SERVER

Mod Edit link removed

--------------------------------------------------------

For Linux:

Disable the firewall on port 2302
chmod 777 ./droidmote
sudo su


For Windows:

First install the drivers as specified in the drivers folder.
Then launch the application droidmote with port and password.
For games that require a mandatory Xbox 360 controller, put the xinput1_3.dll and x360ce.ini from xbox-emulator folder to the folder of the game whare is the main .exe file.
Install c++ redist 32 also in 64 bit windows.
DroidMote Windows Server Installation Tutorial:
[ Mod Edit link removed

For Android x86:
For only users that have google market ready on the x86 devices:
you can download the apk in the Attached Files.
 
Last edited by a moderator:

rpavich

Senior Member
Mar 23, 2011
795
56
I'm going to try this....this is what I've been waiting for! Thanks!!

---------- Post added at 06:37 AM ---------- Previous post was at 06:26 AM ----------

It didn't work with my unrooted TF.

Unless I missed it, you need to state clearly that it's for rooted TF's.
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
i'm sorry for you.
i can help you if you say to me what you have installed on your transformer.
kernel rom etc..
 
Last edited:

shaunjpeterson

Senior Member
Sep 15, 2008
76
4
Does that mean it will work if connected to my phone by WiFi hotspot??

Sent from my HTC Desire HD using XDA Premium App
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
in the ice cream sandwich all the phone and tablet have natively this function.

currently have to use some tricks or install a special application on the basis of what is your phone model.

for each phone model you'll find the right discussone in xda forums.

p.s. in the transformer rom prime 2.x.x the authos say to the changelog : "native support of adhoc wifi "
 
  • Like
Reactions: philburkhardt

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
Does that mean it will work if connected to my phone by WiFi hotspot?

in theory yes. but in practice if you active the wifi HOSPOT then do not browse the Internet from that device for now with wifi. (but with 3g yes).
the wifi adhoc is different from the actual function wifi hotspot.

wifi adhoc is one to one wifi connection. wifi hotspot emulate a router but you can not use the wifi network card when this function is actived.
 
Last edited:
  • Like
Reactions: philburkhardt

shaunjpeterson

Senior Member
Sep 15, 2008
76
4
in theory yes. but in practice if you active the wifi HOSPOT then do not browse the Internet from that device for now with wifi. (but with 3g yes).
the wifi adhoc is different from the actual function wifi hotspot.

wifi adhoc is one to one wifi connection.

I'm not sure if I understand. When I activate WiFi hotspot on my phone, WiFi turns off. My tablet connects to my phones WiFi hotspot. Will I be able to control my tablet with my phone this way? Thanks.

Sent from my HTC Desire HD using XDA Premium App
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
I'm not sure if I understand. When I activate WiFi hotspot on my phone, WiFi turns off. My tablet connects to my phones WiFi hotspot. Will I be able to control my tablet with my phone this way? Thanks.

Sent from my HTC Desire HD using XDA Premium App

sorry for the wrong answer.
I just tried your configuration and i say:

"yes you can but you can not go in internet with wifi only with 3g."
 
Last edited:

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
the galaxy s II have the function wifi direct native.

i tried DroidMote Server and Client between two galaxy s II with wifi direct and it work very very well.
 
  • Like
Reactions: philburkhardt

shoah

Member
Dec 3, 2009
12
0
I have purchased the app. I have rooted my transformer and instaled the server on it.


I had a license problem because of the multiple gmail accounts, but I have deleted them and it works.

I have installed the client on my Samsung Galaxy S II and both, server and client, open correctly, but it does not works.

I have changed the ip, the password, the port, but they do not pair together.

Could you help me?

Thanks
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
the server and client must be on the same network. If you click on the server the start button you can see an ip address. Take this ip and put the same ip address on the client. After this on the client click connect.
make sure the two devices are visible via a ping, and uses the same port and password. Between the transformer and the Galaxy S II has been tested and works very well.
If you have a problem contact me in private and can chat with me.
 
Last edited:
  • Like
Reactions: philburkhardt
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 110
    Hi Androiders.
    With your android phone, with one application called Mod Edit link removed you can control another android Phone or Tablet, a Windows pc or a Linux pc, on wich you have installed Mod Edit link removed

    DroidMote is not only a remote mouse, a remote keyboard, a remote gamepad and a remote multi touch touchpad, but it is something more.
    In fact, with the Gamepad2Touch feature allows you to use all the applications and games that were developed to support only devices with touch screen. Imagine you want remote control a game, designed for touch screen devices on your large TV Full HD, with DroidMote you can.
    Just create, in a few simple steps, a "touch profile" with the application "Touch profile Creator" that you can download in the attachment.
    Mod Edit link removed
    DroidMote is fully customizable, in the Server part you can create your own file droidmote.kl to change the default action of the keyboard keys, of the buttons and axis of the gamepad. In the Client part you can create your own "touch profile" to simulate touch events on the remote screen.

    The client and the server to connect must be or on the same local network, or connected to the internet to control remote devices over long distances.
    If you not have a wifi router, you can connect the server and the client directly (point to point) by activating the function Tethering/portable hotspot on your phone or on your tablet. Connect the phone to the tablet or the tablet to the phone. Click start on server, get the ip and put it in the client.
    You do not need bluetooth,the bluetooth is slow and cover small distances.

    DroidMote Server must be installed on the device to be controlled.
    DroidMote Client must be installed on the device controller.

    ONLY THE DEVICE WITH THE SERVER INSTALLED NEEDS TO BE ROOT.
    IN THE SERVER DEVICE , MAKE SURE YOU HAVE BUSYBOX UPDATED AND YOU HAVE THE UINPUT MODULE IN THE KERNEL LIKE MOST ANDROID DEVICES.
    Mod Edit link removed

    Features:

    [✔] Remote Mouse
    [✔] Remote Multitouch Touchpad
    [✔] Two Fingers Scroll Zoom Rotate
    [✔] Remote Keyboard
    [✔] Remote Mediaplayer
    [✔] Remote Dpad
    [✔] Remote Multitouch Gamepad
    [✔] Remote Control with accelerometer
    [✔] Two virtual analog stick on screen
    [✔] Touch emulation allows you to map buttons and analog sticks to the screen. Play all your favourite games with full analog support, even those without built-in controller support!
    [✔] TouchMouse for games that not support a real mouse
    [✔] Voice dictation with android keyboard
    [✔] Gesture typing with android 4.2 keyboard

    For the Server part:
    Android versions > 2.2:
    support: mouse,keyboard,dpad,mediaplyer,gamepad to keyboard.
    Android versions > 3.2:
    support: mouse,keyboard,dpad,mediaplyer,real gamepad, multitouch touchpad,touch profiles.

    If you are satisfied with DroidMote is much appreciated a good vote/review on Google Play

    Video Playlist: Mod Edit link removed
    Mod Edit link removed
    For the DroidMote Basic gestures look this videos:
    Mod Edit link removed


    How to customize keyboard keys, buttons, and axes actions in DroidMote Server:
    Video Mod Edit link removed

    The folder location of droidmote.kl is /system/usr/keylayout ------> this file is for customization

    The folder location of droidmote.kcm is /system/usr/keychars

    This two files by default, in android version > 3.0, are automatically installed at first installation on the device with the server inside.

    To know which scan codes send the client you can install in the server part the free tool (Keyevent Dispaly in the android Market).

    Then follow these simple steps:

    1) connect the client to the server
    2) make sure everything works
    3) on the server start the tool Keyevent Dispaly
    4) click a button on the client
    5) read the scan code on the Keyevent Dispaly
    6) open the file /system/usr/keylayout/droidmote.kl
    7) put the scan code on the left and on the right the new custom action
    8) reboot the device with the server installed.

    You can find the list of custom action to this android developer page:
    http://developer.android.com/reference/android/view/KeyEvent.html.

    The default scan codes for droidmote buttons are:
    Arrow up is key 314
    Arrow down is key 316
    Arrow left is key 317
    Arrow right is key 318
    Arrow up-left is key 312
    Arrow up-right is key 313
    Arrow down-left is key 288
    Arrow down-right is key 306

    A button is key 304
    B button is key 305
    X button is key 307
    Y button is key 308
    Z button is key 309
    square button is key 310
    circle button is key 311
    triangle button is key 315


    Only honeycomb and later versions of Android include the use of buttons and axes:

    key 304 BUTTON_A
    key 305 BUTTON_B
    key 306 BUTTON_C
    key 307 BUTTON_X
    key 308 BUTTON_Y
    key 309 BUTTON_Z
    key 310 BUTTON_L1
    key 311 BUTTON_R1
    key 312 BUTTON_L2
    key 313 BUTTON_R2
    key 314 BUTTON_SELECT
    key 315 BUTTON_START
    key 316 BUTTON_MODE
    key 317 BUTTON_THUMBL
    key 318 BUTTON_THUMBR

    If you have the DroidMote Server installed on a version earlier than honeycomb but you want utilize the buttons, open the file querty.kl and add:

    key 304 A
    key 305 B
    key 306 C
    key 307 X
    key 308 Y
    key 309 Z
    key 310 D
    key 311 E
    key 312 F
    key 313 G
    key 314 H
    key 315 I
    key 316 L
    key 317 M
    key 318 N

    You can customize also the axes from honeycomb and later version of Android:

    left stick x is 0x00
    left stick y is 0x01

    right stick x is 0x02
    right stick y is 0x05

    accelerometer x is 0x10
    accelerometer y is 0x11

    In the default configuration you have:
    axis 0x00 X
    axis 0x01 Y
    axis 0x02 Z
    axis 0x03 LTRIGGER
    axis 0x04 RTRIGGER
    axis 0x05 RZ
    axis 0x10 HAT_X
    axis 0x11 HAT_Y
    in this configuration you use the left stick to move the avatar --> X and Y and the right stick to change view of the avatar --> Z and RZ

    If you want you can change this in:
    axis 0x00 Z
    axis 0x01 RZ
    axis 0x02 X
    axis 0x03 LTRIGGER
    axis 0x04 RTRIGGER
    axis 0x05 Y
    axis 0x10 HAT_X
    axis 0x11 HAT_Y
    in this configuration you use the left stick to change view of the avatar --> Z and RZ and the right stick to move the avatar --> X and Y

    Another useful configuration for the axes if you want use the analog LTRIGGER and RTRIGGER is:
    axis 0x00 X
    axis 0x01 Y
    axis 0x02 Z
    axis 0x03 LTRIGGER
    axis 0x04 RTRIGGER
    axis 0x05 split 0x00 RTRIGGER LTRIGGER
    axis 0x10 HAT_X
    axis 0x11 HAT_Y
    in this first configuration you use the left stick to move the avatar --> X and Y and the right stick to change view when you move left and right, instead if you move up and down you use the LTRIGGER and the RTRIGGER. (is useful to drive a car or generic racing game).

    If you have a racing game or you want move the character with the accelerometer, you can change the defaul axes 0x10 and 0x11 with all you want.


    For more information on the customization look at:
    http://source.android.com/tech/input/key-layout-files.html


    Games that support gamepad only for testing the "real gamepad" emulation future:

    - Shadowgun
    - Riptide Gp
    - Reckless Getaway
    - GTA 3
    - Onlive games with this patched apk link or mirror-1
    - Raging Thunder II
    - Cordy
    - Hockey Nations 2011
    - All Emulators

    Updated list:
    http://xdaforums.com/showthread.php?t=1542820

    Suggest a new game with the gamepad support !


    For games that do not natively support gamepads, you can create a touch profile with the app "Touch Profile Creator" and put the xml file created in the sd card of the device in which you have installed DroidMote Client.


    --------------------------------------------------------

    FREE WINDOWS, LINUX, ANDROID X86 DROIDMOTE SERVER

    Mod Edit link removed

    --------------------------------------------------------

    For Linux:

    Disable the firewall on port 2302
    chmod 777 ./droidmote
    sudo su


    For Windows:

    First install the drivers as specified in the drivers folder.
    Then launch the application droidmote with port and password.
    For games that require a mandatory Xbox 360 controller, put the xinput1_3.dll and x360ce.ini from xbox-emulator folder to the folder of the game whare is the main .exe file.
    Install c++ redist 32 also in 64 bit windows.
    DroidMote Windows Server Installation Tutorial:
    [ Mod Edit link removed

    For Android x86:
    For only users that have google market ready on the x86 devices:
    you can download the apk in the Attached Files.
    3
    HOW TO INSTALL DROIDMOTE SERVER ON MK802

    Premise:

    MK802 with DroidMote inside is an "economic special google tv".
    Special because, without touch screen you can use all apps and games that support only touch actions. (and not only...)
    The MK802 has sufficient hardware (my model is 512MB ram), but have inside a jung ROM.
    The Android community we're working on to improve.
    With this video i want only demonstrate how well run DroidMote with a mini device like this (i hope with better hardware), and how many things you can do.
    To install DroidMote on this device there is a little hack because the rom for now, lacks many basic components.
    In 99% of the Android devices the installation is automatic,and requires no actions.

    Video of DroidMote in action on MK802:

    http://www.youtube.com/watch?v=Keancvm07uo


    Workaround without changing the ROM:

    1) Download and install DroidMote Server from the Google Play.
    2) Start DroidMote and click with the mouse the ON button. (started well, but does not work do not worry).
    3) Download the uinput.ko in the attachment below.
    4) open terminal emulator (If you not have it, download from Google Play).
    5) In terminal emulator run the following commands:

    su
    mount -o remount,rw /system
    busybox cp /download-folder-of-uinput/uinput.ko /vendor/modules (change "download-folder-of-uinput" with your folder ex. /mnt/sdcard/Download)
    busybox mv /vendor/modules/mma7660.ko /vendor/modules/mma7660.ko.bak
    busybox mv /vendor/modules/uinput.ko /vendor/modules/mma7660.ko
    busybox chmod 644 /vendor/modules/mma7660.ko
    umount /system

    6) restart the MK802
    7) open DroidMote Server, go in the settings and enable the options "start on boot".
    8) restart the MK802 (If all goes well, after two minutes from the boot, DroidMote open and start automatically,
    and is ready to receive connections from your phone).



    p.s.
    the module uinput.ko below, is for the MK802 with the default kernel 3.0.8+ (in the next ROM, this module and other corrections,
    should already be included and thus will not have to do anything -look at miniand.com for the new firmware with uinput inside-).
    3
    This uinput.ko module with vermagic=3.0.36+ preempt mod_unload ARMv7 can work on all allwinner a10 devices with the CM10 ROM of Christian Troy :

    http://www.mediafire.com/?5ae5eqb7gv8banc

    * Mediacom 907c, Momo11 Bird, JXD S9000, Eken A90 (first revision) and clones
    * Visture V3 and clones
    * Mediacom 910i, Teclast A10t and clones
    * ICOO D90W and clones
    * CEMA10N7 "unknown" device
    * Bmorn V99
    * Mediacom 711i, Momo9 and clones
    * Protab2XXL
    * Sanei N83
    * Hyundai A7HD
    * MOMO9
    * Onda Vi40 V3
    * LY-F1 and clones
    * Protab2XXLv2
    * TNT Singularity and clones
    * Eken T01
    * Eken T02
    * Eken T05a V1
    * Eken T05a V2
    * Eken T05a V3
    * Eken T05a (unknown version)
    * Eken T10
    * Sanei N10
    * Onda Vi30 Deluxe V3
    * Onda Vi40 Ultimate
    * Onda Vi10 Elite
    * Ainol Novo7 Elf
    * Sanei N83 Deluxe
    * Ainol Novo7 Aurora v3
    2
    I'm going to try this....this is what I've been waiting for! Thanks!!

    ---------- Post added at 06:37 AM ---------- Previous post was at 06:26 AM ----------

    It didn't work with my unrooted TF.

    Unless I missed it, you need to state clearly that it's for rooted TF's.
    2
    Hui there,

    Is there a trial version? Would like to test

    Sent from my HTC Desire HD using Tapatalk