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

Offline psyke83

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 1298
  • Reputation: +1850/-1
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #210 on: February 04, 2012, 12:17:31 PM »
You are not allowed to view links. Register or Login
Ok!
To build as module, as you know :), need:
1. change on defconfig CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4=y to =m
2. change kconfig synaptics_i2c_rmi4 to tristate
I will change the code and upload a "release" version. :)
Ah, I didn't change it to tristate - perhaps that was the problem. I removed the ifdef and if defined's in board-europa.c, but it was giving an unknown symbol for the exported cypress_upload symbol (if I recall correctly). Thanks for the tip.

Edit: nope, it's already set to tristate in the Kconfig, so I'm not sure what's the problem with the symbol exporting.
Please do not send me PMs for support issues. Use the public support threads for support, and send me PMs only for messages that are private. Thank you.

Offline chintan

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 439
  • Reputation: +492/-29
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #211 on: February 05, 2012, 01:06:02 AM »
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...
[/color=red]
as i found 1st touch is still the center of the screen(used developer tools > pointer location).
please provide a video tutorial if possible.

another minor thing is, it is unresponsive on edges of bottom & right.

and thanks for such a wonderful effort. :-*

MADTeam Forum

Re: [Coding]Fake DualTouch
« Reply #211 on: February 05, 2012, 01:06:02 AM »
Your Ad Here

Offline Gin

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
  • Reputation: +27/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #212 on: February 05, 2012, 01:22:21 AM »
The 1st finger is still in the center :o

Offline Dipendra

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 37
  • Reputation: +22/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #213 on: February 05, 2012, 11:38:02 AM »
In terminal:
su
madconfig dton
reboot
...................
(after phone starts )
Go to Dev tools> pointer location
Now draw that figure ( six) without leaving the screen un touched, you can realize dual pointers. This is basic way of implementing it. Do same for pictures too

v1.9 hf 3
« Last Edit: February 05, 2012, 11:40:21 AM by Dipendra »

Offline OuNao

  • Global Moderator
  • Full Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 186
  • Reputation: +484/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #214 on: February 05, 2012, 02:21:13 PM »
New version on first post.

Offline DSM_

  • The Last Saiyan
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 748
  • Reputation: +967/-8
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #215 on: February 05, 2012, 02:46:46 PM »
its not in center ;)

        
ROM: [2.3.7] CyanogenMod 7.2.0 RC1
Recovery: [5.0.2.8] ClockworkMod Recovery
Baseband: [Sep 2011] I5500LUYJPP
SDCard: [Class 10] MicroSDHC 8GB
SDEXT: [512MB] Simple2EXT
Swap: [Internal] 32MB

Offline Dipendra

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 37
  • Reputation: +22/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #216 on: February 05, 2012, 11:16:18 PM »
Over wrote with new version 9.1 but didn't work
So, went to terminal after over writing
su
madconfig dtoff
reboot

Again opened terminal
su
madconfig dton
   Then it shows error:exec format error
How shall I solve it?

says exec format error

v1.9 hf 3

Offline psyke83

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 1298
  • Reputation: +1850/-1
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #217 on: February 06, 2012, 02:05:51 AM »
You are not allowed to view links. Register or Login
its not in center ;)



You must be using an older one. v9.1 is centred, which I've included in my 2.0 release.

OuNao - I've included the latest module in the 2.0 release, and it's working well (including the sensitivity fix). Thanks again!
Please do not send me PMs for support issues. Use the public support threads for support, and send me PMs only for messages that are private. Thank you.

Offline avicli

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 150
  • Reputation: +159/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #218 on: February 06, 2012, 02:14:25 AM »
now how doi use this .... all steps whic file should i download in those two i.e source n module file n what n all to do im using v2.0

Offline psyke83

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 1298
  • Reputation: +1850/-1
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #219 on: February 06, 2012, 02:45:51 AM »
You are not allowed to view links. Register or Login
now how doi use this .... all steps whic file should i download in those two i.e source n module file n what n all to do im using v2.0

For CM7, you just run adb shell madconfig dton (or from the terminal app, su and then madconfig dton), then reboot.
Please do not send me PMs for support issues. Use the public support threads for support, and send me PMs only for messages that are private. Thank you.

Offline DSM_

  • The Last Saiyan
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 748
  • Reputation: +967/-8
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #220 on: February 06, 2012, 05:44:20 AM »
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login
its not in center ;)


You must be using an older one. v9.1 is centred, which I've included in my 2.0 release.

OuNao - I've included the latest module in the 2.0 release, and it's working well (including the sensitivity fix). Thanks again!

No, its v9
its "Alternate mode" of v9

Counter-Clockwise Circle = first finger is 'fixed' in center....
Clockwise Circle = after completing one where u leave the finger, its first finger, and the next touch is second finger (see screenshot)

Quote
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...
        
ROM: [2.3.7] CyanogenMod 7.2.0 RC1
Recovery: [5.0.2.8] ClockworkMod Recovery
Baseband: [Sep 2011] I5500LUYJPP
SDCard: [Class 10] MicroSDHC 8GB
SDEXT: [512MB] Simple2EXT
Swap: [Internal] 32MB

Offline preesy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 24
  • Reputation: +36/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #221 on: February 09, 2012, 02:26:57 PM »
Probably off topic but, can an module be made that will just read the last touch inputed by the user.
This will partly but not completely solve problems with play football games and FPS's.
In this way the first finger does not have to be removed from the screen which make football games on g5 hard to play.
In other words the the screen is touched with on finger and a second finger touches the screen the first finger is 'forgotten' and only the position of the second finger is read.

Offline psyke83

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 1298
  • Reputation: +1850/-1
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #222 on: February 09, 2012, 05:03:58 PM »
You are not allowed to view links. Register or Login
Probably off topic but, can an module be made that will just read the last touch inputed by the user.
This will partly but not completely solve problems with play football games and FPS's.
In this way the first finger does not have to be removed from the screen which make football games on g5 hard to play.
In other words the the screen is touched with on finger and a second finger touches the screen the first finger is 'forgotten' and only the position of the second finger is read.

That would create a lot of confusion; what happens when you want to release your first finger from the first position? The driver will have no way of knowing and your touches will get messed up.
Please do not send me PMs for support issues. Use the public support threads for support, and send me PMs only for messages that are private. Thank you.

Offline preesy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 24
  • Reputation: +36/-0
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #223 on: February 09, 2012, 09:53:32 PM »
You are not allowed to view links. Register or Login
That would create a lot of confusion; what happens when you want to release your first finger from the first position? The driver will have no way of knowing and your touches will get messed up.

ok how about using button controls instead of touch(for the games I am talking about).  I mean, we have a full d-pad and center buttons,  not to mention the camera, search etc.

And yes I know this means messing with the game's apk. But it worked for assassin's creed.

btw thanks psyke83 for the response!

Offline kyousuke

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 42
  • Reputation: +35/-11
    • View Profile
Re: [Coding]Fake DualTouch
« Reply #224 on: February 17, 2012, 06:58:05 AM »
1. download the v9.1 file
2. copy and paste in sdcard not in a file in sdcard
3. go to terminal emulator
4. type

$ su [enter]
# insmod/sdcard/synaptics_i2c_rmi4.ko


is this right? bcuz nothing happen instead after type that insmodblablabla cannot find

MADTeam Forum

Re: [Coding]Fake DualTouch
« Reply #224 on: February 17, 2012, 06:58:05 AM »
Your Ad Here

 

Your Ad Here
SimplePortal 2.3.5 © 2008-2012, SimplePortal