5,594,564 Members 32,871 Now Online
XDA Developers Android and Mobile Development Forum

[DEV]CM9/ICS Work-In-Progress

Tip us?
 
CallMeVentus
Old
(Last edited by CallMeVentus; 16th December 2011 at 04:56 PM.)
#491  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2865
Posts: 9,966
Join Date: Jul 2011
Location: Berk

 
DONATE TO ME
Quote:
Originally Posted by djsky2011 View Post
ok but what i'm thinking is it return this value in logcat upon first touch, not an error but should that be the right value?

D/InputReader( 173): Fake event sent, touch=0 !
I think the fake events were reversed

Oh yes , one more question .
Why does the ROM installation in CWM generate a random offset ?

Sent from my GT-S5830 using XDA App
Current phone: Sony Xperia SP LTE (C5303), Samsung Galaxy S Advance NFC (GT-I9070P)
Here's my Twitter. Follow me, block me, suit yourself.
Old phones: Galaxy R, Motorola Defy, Samsung Galaxy Ace, Motorola Backflip

Galaxy Ace newbie guide: http://forum.xda-developers.com/show....php?t=1225493

 
"The unholy offspring of lightning and death itself"
 
djsky2011
Old
#492  
djsky2011's Avatar
Recognized Contributor
Thanks Meter 1222
Posts: 1,059
Join Date: May 2011
Location: London
Quote:
Originally Posted by EmoBoiix3 View Post
I think the fake events were reversed

Oh yes , one more question .
Why does the ROM installation in CWM generate a random offset ?

Sent from my GT-S5830 using XDA App
I get that too, but it seems to flash properly each time. Could be bug with CWM5 which is what i'm using
 
madman
Old
#493  
madman's Avatar
Senior Member
Thanks Meter 396
Posts: 1,437
Join Date: Apr 2011
Location: 127.0.0.1
Quote:
Originally Posted by EmoBoiix3 View Post
Why does the ROM installation in CWM generate a random offset ?

Sent from my GT-S5830 using XDA App
Google gave this answer http://forum.xda-developers.com/show....php?t=1362200
 
djsky2011
Old
#494  
djsky2011's Avatar
Recognized Contributor
Thanks Meter 1222
Posts: 1,059
Join Date: May 2011
Location: London
right now we need to focus on the touch screen, i have noticed that 1 tap= holding down on left mouse button, while a second tap executes the task, equivalent to releasing the left mouse button after holding it down or a double tap
 
terrymcnuggets
Old
#495  
terrymcnuggets's Avatar
Member
Thanks Meter 16
Posts: 39
Join Date: May 2011
Location: Singapore
It's just a safety reminder xD

Sent from my GT-S5830 using xda premium
 
Wayland_ACE
Old
#496  
Wayland_ACE's Avatar
Recognized Developer
Thanks Meter 5842
Posts: 691
Join Date: Nov 2011
Location: Riga
Quote:
Originally Posted by EmoBoiix3 View Post
I think the fake events were reversed
But I think this log message inform us, if is touched BEFORE current event.
 
den191097
Old
#497  
Member
Thanks Meter 5
Posts: 36
Join Date: Nov 2010
May be i don't understand something but when i touch screen in cm7 there are no Fake event sent, touch=0 ! or Fake event sent, touch=1 ! (in logcat)/
 
djsky2011
Old
#498  
djsky2011's Avatar
Recognized Contributor
Thanks Meter 1222
Posts: 1,059
Join Date: May 2011
Location: London
Quote:
Originally Posted by den191097 View Post
May be i don't understand something but when i touch screen in cm7 there are no Fake event sent, touch=0 ! or Fake event sent, touch=1 ! (in logcat)/
waylander patched the libs so it could work with ICS
The Following User Says Thank You to djsky2011 For This Useful Post: [ Click to Expand ]
 
Wayland_ACE
Old
#499  
Wayland_ACE's Avatar
Recognized Developer
Thanks Meter 5842
Posts: 691
Join Date: Nov 2011
Location: Riga
Here is a libinput library with some debug information output: http://cs.fill.ee/ics/libinput.so
1short tap generated:

Quote:
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0035 keycode=0x0000 value=0x000000e2 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0036 keycode=0x0000 value=0x0000004b flags=0x00000000
D/InputReader( 162): Fake event sent, touch=0 !
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0030 keycode=0x0000 value=0x00000001 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0032 keycode=0x0000 value=0x0000003f flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0000 scancode=0x0002 keycode=0x0000 value=0x00000000 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0000 scancode=0x0000 keycode=0x0000 value=0x00000000 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0035 keycode=0x0000 value=0x000000e2 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0036 keycode=0x0000 value=0x0000004b flags=0x00000000
D/InputReader( 162): Fake event sent, touch=1 !
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0030 keycode=0x0000 value=0x00000000 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0003 scancode=0x0032 keycode=0x0000 value=0x0000003f flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0000 scancode=0x0002 keycode=0x0000 value=0x00000000 flags=0x00000000
I/InputReader( 162): Input event: device=4 type=0x0000 scancode=0x0000 keycode=0x0000 value=0x00000000 flags=0x00000000


---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------

Quote:
Originally Posted by den191097 View Post
May be i don't understand something but when i touch screen in cm7 there are no Fake event sent, touch=0 ! or Fake event sent, touch=1 ! (in logcat)/
InputReader was changed after gingerbread, in ICS. And our touchscreens become to LEGACY. So, now we use legacy ts hack.
 
djsky2011
Old
#500  
djsky2011's Avatar
Recognized Contributor
Thanks Meter 1222
Posts: 1,059
Join Date: May 2011
Location: London
Quote:
Originally Posted by Wayland_ACE View Post
Here is a libinput library with some debug information output: http://cs.fill.ee/ics/libinput.so
1short tap generated:



---------- Post added at 07:28 PM ---------- Previous post was at 07:26 PM ----------



InputReader was changed after gingerbread, in ICS. And our touchscreens become to LEGACY. So, now we use legacy ts hack.
our touch is being registered as a long press, 1 touch produces this twice in my log

D/InputReader( 173): Fake event sent, touch=0 !
D/InputReader( 173): Fake event sent, touch=1 !
D/InputReader( 173): Fake event sent, touch=1 !


notice inputreader being called twice from just one touch

Tags
android, cm9, cooper, ice cream sandwich, sga, teamhackace, teamhacksung
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes