Author Topic: [Coding]Fake DualTouch  (Read 41398 times)

Offline OuNao

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 186
  • Reputation: +484/-0
    • View Profile
[Coding]Fake DualTouch
« on: May 06, 2011, 04:07:37 PM »
Hi everyone!
I'm creating a new topic to avoid polluting the topic of the MultiTouch.
This topic was created just for the discussion of the module for Fake DualTouch gestures on the G5.

If we get a good implementation of this, the code can be merged on kernel of a next release...

Installation:
On CM7: overwrite the file on folder /system/lib/modules and reboot the phone
On froyo: Copy the module on any folder. On terminal type "su", enter, "insmod pah/to/module/synaptics_i2c_rmi4.ko"

The files:
V9.1 corrected
Same as V9
Removed debug messages
Included Psyke83´s patch to correct touch detection bug on some edges.
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login

V9
The module now has to modes:
DT: The same behavior and activation of V8.
GM: Activated with a clockwise circle motion started on top-right quadrant of the screen ending on the same quadrant (ie: TR > BR > BL > TL > TR quadrants). when the finger is released the coordinates are saved and used next touch as a "second" touch (fixed). This way the fixed touch can be selected and not allways on center...
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login
V8
The dualtouch mode is now activated with a counter-clock circle motion started on top-right quadrant of the screen ending on the same quadrant (ie: TR > TL > BL > BR > TR quadrants). When activated, one finger is fixed on the center of the screen and the "real" finger is the second touch.
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login
V7.1
Screen turn of after resume bugfixNot yet... :(  Bug not present on CM7.x
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login
V7
Same activation method. The driver only sends to framework the touchs number 1 and 4 (less garbage information to frame work)... 2 corners options for the 1st and 2nd touch: top-left and bottom left for the 1st, top-right and bottom right for the 2nd. Must do the 2nd touch less then 2 seconds from the first...
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login
V6
Now you need 4 touchs to do the gesture.
1 touch: bottom or top / lef corner
2 touch: bottom or top / right corner
the dualtouch mode is then activated
3 touch: the 1st finger of pinch zoom
4 touch: the 2nd finger of pinch zoom. On release this finger the dualtouch mode is deactivated...
source = You are not allowed to view links. Register or Login
module = You are not allowed to view links. Register or Login
V5
Now you need to activate the "dual touch mode", the "1st" finger is fixed. Then any touch will do pinch zoom. No need to deactivate "dual touch mode"
module: You are not allowed to view links. Register or Login
source: You are not allowed to view links. Register or Login
« Last Edit: May 27, 2011, 07:19:00 PM by OuNao »

Offline OuNao

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 186
  • Reputation: +484/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #1 on: May 06, 2011, 04:09:11 PM »
I need feedback!!!
I'm thinking on change the way the DualTouch mode is activated. Any sugestion?
« Last Edit: May 06, 2011, 08:07:28 PM by OuNao »

MADTeam Forum

[Coding]Fake DualTouch
« Reply #1 on: May 06, 2011, 04:09:11 PM »
Your Ad Here

Offline AndMac.me

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 56
  • Reputation: +8/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #2 on: May 06, 2011, 06:05:12 PM »
Let's test guys in there!
The color of right.

Offline OuNao

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 186
  • Reputation: +484/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #3 on: May 06, 2011, 08:05:05 PM »
New version!

Offline jamesrock

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 309
  • Reputation: +21/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #4 on: May 07, 2011, 12:09:51 AM »
You are not allowed to view links. Register or Login
New version!

Please explain how to use the 2 files ... would like to test.Register or Login<#EMO_DIR#>/unsure.gif\' class=\'bbc_emoticon\' alt=\':unsure:\' />
« Last Edit: May 07, 2011, 12:10:13 AM by jamesrock »

Offline kingmaya

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 37
  • Reputation: +17/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #5 on: May 07, 2011, 03:30:40 AM »
Please make video how to active because i cann't active it TT"

Offline samcad mod

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 531
  • Reputation: +61/-4
  • Retired member
    • View Profile
[Coding]Fake DualTouch
« Reply #6 on: May 07, 2011, 03:33:21 AM »
hey what you mean by dus fake dual touch... pls help me in detail guide to use this downloaded files... plss help me

Offline amit4431

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 136
  • Reputation: +76/-0
  • love this madteam family
    • View Profile
[Coding]Fake DualTouch
« Reply #7 on: May 07, 2011, 04:10:11 AM »
not working on mine
in multitouch tester after executing .ko file it show zooming of the pointer but otherwise no dual touch shown by it.
Respect Mad Team

Offline Maxypy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
  • Reputation: +9/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #8 on: May 07, 2011, 07:18:13 AM »
Fake dual touch V5 didn't work on my phone, but V6 does! I'm using Mad Rom 2.2.1

For those who wonder how to use it:
-Download the module file (synaptics_i2c_rmi4.ko)
-Put the file on the root of your sdcard
-In a shell on the phone (personnaly, I use "Terminal Emulator"), enter these command lines:
  [size="2"]$[/size]su
  [size="2"]#[/size]insmod /sdcard/synaptics_i2c_rmi4.ko
-After that, the shell will be cleared et fake dual touch shall be installed. To use it, read the first post.

I hope it will work for you.


(Btw, my english is far to perfect, sorry about that)
« Last Edit: May 07, 2011, 07:40:20 AM by Maxypy »

Offline samcad mod

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 531
  • Reputation: +61/-4
  • Retired member
    • View Profile
[Coding]Fake DualTouch
« Reply #9 on: May 07, 2011, 08:33:52 AM »
You are not allowed to view links. Register or Login
Fake dual touch V5 didn't work on my phone, but V6 does! I'm using Mad Rom 2.2.1

For those who wonder how to use it:
-Download the module file (synaptics_i2c_rmi4.ko)
-Put the file on the root of your sdcard
-In a shell on the phone (personnaly, I use "Terminal Emulator"), enter these command lines:
  [size="2"]$[/size]su
  [size="2"]#[/size]insmod /sdcard/synaptics_i2c_rmi4.ko
-After that, the shell will be cleared et fake dual touch shall be installed. To use it, read the first post.

I hope it will work for you.


(Btw, my english is far to perfect, sorry about that)
how to use in root explor... i dnt knw work wid d terminal emulater... Register or Login<#EMO_DIR#>/wink.gif\' class=\'bbc_emoticon\' alt=\';)\' />

Offline Maxypy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
  • Reputation: +9/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #10 on: May 07, 2011, 08:58:21 AM »
As far as I know, root explorer is a file manager, not a shell. You NEED to use a terminal such as Terminal Emulator.
It's not difficult: install from android market and open terminal emulator, write "su", press enter, write "insmod /sdcard/synaptics_i2c_rmi4.ko", press enter, close terminal emulator, and fake multitouch is installed.
You must do that everytime you reboot your phone.

And, please, don't use SMS, english is not my native language and it's difficult for me to understand what you write...

Offline androidsdk

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 317
  • Reputation: +165/-0
    • View Profile
    • KawanGeek
[Coding]Fake DualTouch
« Reply #11 on: May 07, 2011, 09:07:08 AM »
You are not allowed to view links. Register or Login
how to use in root explor... i dnt knw work wid d terminal emulater... Register or Login<#EMO_DIR#>/wink.gif\' class=\'bbc_emoticon\' alt=\';)\' />
i thinks you need to copy that file to nodules folder.. i forgot where it is. its what the insmod command all about right? just move it to modules folder.

Offline kato91(Deepak)

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 124
  • Reputation: +33/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #12 on: May 07, 2011, 09:11:51 AM »
OuNao
The fake dual touch V6 was installed on my G5 but it is very hard do activate the dual touch from this procedure it would be easier if we long press at a point and it is recorded as the location of first touch Register or Login<#EMO_DIR#>/wink.gif\' class=\'bbc_emoticon\' alt=\';)\' />


very easy to activate just touch 1st at bottom left 2nd touch at bottom right then 3rd touch for 1st pinch zoom finger loacation then 4th touch i.e. 2nd finger of pinch zoom
« Last Edit: May 07, 2011, 11:30:09 AM by kato91 »
........Ice cream sandwich  future of G5..........

...........only possible with MAD Team.............

Offline jreey

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
  • Reputation: +1/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #13 on: May 07, 2011, 09:56:59 AM »
You are not allowed to view links. Register or Login
Fake dual touch V5 didn't work on my phone, but V6 does! I'm using Mad Rom 2.2.1

For those who wonder how to use it:
-Download the module file (synaptics_i2c_rmi4.ko)
-Put the file on the root of your sdcard
-In a shell on the phone (personnaly, I use "Terminal Emulator"), enter these command lines:
  [size="2"]$[/size]su
  [size="2"]#[/size]insmod /sdcard/synaptics_i2c_rmi4.ko
-After that, the shell will be cleared et fake dual touch shall be installed. To use it, read the first post.

I hope it will work for you.


(Btw, my english is far to perfect, sorry about that)
why in mine , it says not find ?please tell me。。thankyou

Offline Maxypy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
  • Reputation: +9/-0
    • View Profile
[Coding]Fake DualTouch
« Reply #14 on: May 07, 2011, 10:05:41 AM »
Have you put synaptics_i2c_rmi4.ko on your sdcard?
If you did, I don't know why it doesn't work...

MADTeam Forum

[Coding]Fake DualTouch
« Reply #14 on: May 07, 2011, 10:05:41 AM »
Your Ad Here

 

Your Ad Here
SimplePortal 2.3.5 © 2008-2012, SimplePortal