I've got my Ouya up and running and a Flirc for IR control and am experimenting away with some results but want to know if there is a way to find out what the o-u-y-a keys map to in relation to a keyboard/HID?
By programming the flirc with a MCE remote I can get the back (esc) and directional keys working but because the Ouya behaves differently in almost every app that runs, enter doesn't always work like 'A' does on the controller.
Anyone got any thoughts on the mapping?
Lookup key event listener. There's a way to monitor key events through ADB. Match those up to the key event list for a keyboard and you should have what you need
Sent from my Nexus 10 using Tapatalk HD
Here's the HID descriptor of the OUYA controller...
Code:
05 01 09 02 a1 01 85 06 09 01 a1 00 05 09 19 01 29 03 15 00 25 01 75 01 95 03 81 02 75 05 95 01 81 01 05 01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06 09 38 15 81 25 7f 75 08 95 01 81 06 c0 c0 05 01 09 05 a1 01 85 07 a1 00 09 30 09 31 15 00 26 ff ff 35 00 46 ff ff 95 02 75 10 81 02 c0 a1 00 09 33 09 34 15 00 26 ff ff 35 00 46 ff ff 95 02 75 10 81 02 c0 a1 00 09 32 15 00 26 ff ff 35 00 46 ff ff 95 01 75 10 81 02 c0 a1 00 09 35 15 00 26 ff ff 35 00 46 ff ff 95 01 75 10 81 02 c0 05 09 19 01 29 10 95 10 75 01 81 02 06 00 ff a1 02 75 08 95 07 46 ff 00 26 ff 00 09 01 91 02 c0 c0 05 0c 09 01 a1 01 85 03 05 01 09 06 a1 02 05 06 09 20 15 00 26 ff 00 75 08 95 01 81 02 06 bc ff 0a ad bd 75 08 95 06 81 02 c0 c0 05 0c 09 01 a1 01 85 ff 05 06 95 01 75 02 19 24 29 26 81 02 75 06 81 01 c0 00
INPUT(6)[INPUT]
Field(0)
Physical(GenericDesktop.Pointer)
Usage(3)
Button.0001
Button.0002
Button.0003
Logical Minimum(0)
Logical Maximum(1)
Report Size(1)
Report Count(3)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Physical(GenericDesktop.Pointer)
Usage(2)
GenericDesktop.X
GenericDesktop.Y
Logical Minimum(-127)
Logical Maximum(127)
Report Size(8)
Report Count(2)
Report Offset(8)
Flags( Variable Relative )
Field(2)
Physical(GenericDesktop.Pointer)
Usage(1)
GenericDesktop.Wheel
Logical Minimum(-127)
Logical Maximum(127)
Report Size(8)
Report Count(1)
Report Offset(24)
Flags( Variable Relative )
INPUT(7)[INPUT]
Field(0)
Usage(2)
GenericDesktop.X
GenericDesktop.Y
Logical Minimum(0)
Logical Maximum(65535)
Physical Minimum(0)
Physical Maximum(65535)
Report Size(16)
Report Count(2)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Usage(2)
GenericDesktop.Rx
GenericDesktop.Ry
Logical Minimum(0)
Logical Maximum(65535)
Physical Minimum(0)
Physical Maximum(65535)
Report Size(16)
Report Count(2)
Report Offset(32)
Flags( Variable Absolute )
Field(2)
Usage(1)
GenericDesktop.Z
Logical Minimum(0)
Logical Maximum(65535)
Physical Minimum(0)
Physical Maximum(65535)
Report Size(16)
Report Count(1)
Report Offset(64)
Flags( Variable Absolute )
Field(3)
Usage(1)
GenericDesktop.Rz
Logical Minimum(0)
Logical Maximum(65535)
Physical Minimum(0)
Physical Maximum(65535)
Report Size(16)
Report Count(1)
Report Offset(80)
Flags( Variable Absolute )
Field(4)
Usage(16)
Button.0001
Button.0002
Button.0003
Button.0004
Button.0005
Button.0006
Button.0007
Button.0008
Button.0009
Button.000a
Button.000b
Button.000c
Button.000d
Button.000e
Button.000f
Button.0010
Logical Minimum(0)
Logical Maximum(65535)
Physical Minimum(0)
Physical Maximum(65535)
Report Size(1)
Report Count(16)
Report Offset(96)
Flags( Variable Absolute )
INPUT(3)[INPUT]
Field(0)
Logical(GenericDesktop.Keyboard)
Usage(1)
0006.0020
Logical Minimum(0)
Logical Maximum(255)
Physical Minimum(0)
Physical Maximum(255)
Report Size(8)
Report Count(1)
Report Offset(0)
Flags( Variable Absolute )
Field(1)
Logical(GenericDesktop.Keyboard)
Usage(6)
ffbc.bdad
ffbc.bdad
ffbc.bdad
ffbc.bdad
ffbc.bdad
ffbc.bdad
Logical Minimum(0)
Logical Maximum(255)
Physical Minimum(0)
Physical Maximum(255)
Report Size(8)
Report Count(6)
Report Offset(8)
Flags( Variable Absolute )
INPUT(255)[INPUT]
Field(0)
Usage(3)
0006.0024
0006.0025
0006.0026
Logical Minimum(0)
Logical Maximum(255)
Physical Minimum(0)
Physical Maximum(255)
Report Size(2)
Report Count(1)
Report Offset(0)
Flags( Variable Absolute )
OUTPUT(7)[OUTPUT]
Field(0)
Usage(7)
ff00.0001
ff00.0001
ff00.0001
ff00.0001
ff00.0001
ff00.0001
ff00.0001
Logical Minimum(0)
Logical Maximum(255)
Physical Minimum(0)
Physical Maximum(255)
Report Size(8)
Report Count(7)
Report Offset(0)
Flags( Variable Absolute )
Button.0001 ---> Key.LeftBtn
Button.0002 ---> Key.RightBtn
Button.0003 ---> Key.MiddleBtn
GenericDesktop.X ---> Relative.X
GenericDesktop.Y ---> Relative.Y
GenericDesktop.Wheel ---> Relative.Wheel
GenericDesktop.X ---> Absolute.X
GenericDesktop.Y ---> Absolute.Y
GenericDesktop.Rx ---> Absolute.Rx
GenericDesktop.Ry ---> Absolute.Ry
GenericDesktop.Z ---> Absolute.Z
GenericDesktop.Rz ---> Absolute.Rz
Button.0001 ---> Key.BtnA
Button.0002 ---> Key.BtnB
Button.0003 ---> Key.BtnC
Button.0004 ---> Key.BtnX
Button.0005 ---> Key.BtnY
Button.0006 ---> Key.BtnZ
Button.0007 ---> Key.BtnTL
Button.0008 ---> Key.BtnTR
Button.0009 ---> Key.BtnTL2
Button.000a ---> Key.BtnTR2
Button.000b ---> Key.BtnSelect
Button.000c ---> Key.BtnStart
Button.000d ---> Key.BtnMode
Button.000e ---> Key.BtnThumbL
Button.000f ---> Key.BtnThumbR
Button.0010 ---> Key.?
0006.0020 ---> Absolute.Misc
ffbc.bdad ---> Sync.Report
ffbc.bdad ---> Sync.Report
ffbc.bdad ---> Sync.Report
ffbc.bdad ---> Sync.Report
ffbc.bdad ---> Sync.Report
ffbc.bdad ---> Sync.Report
0006.0024 ---> Absolute.?
0006.0025 ---> Absolute.?
0006.0026 ---> Absolute.?
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
ff00.0001 ---> Sync.Report
Related
We got root on the one xL. So, my question is How about this over clocking going on here? So I finally rooted, got a ROM, flashed a kernel.. Then bought SETCPU and turned it up to 1.9ghz. This seemed to work right well, but then I discovered a tool from chainfire and found that it wasn't sticking. So I was told about and edited this thermald.conf file.
But I wanna know, what temp was it that caused this to occur, and what I have just changed?
I've overclocked 3 phones now (8125/fuze/inspire) but none were this nice (dual core for example.) and this one gets warm. But I cannot tell how warm? And now I've even changed something and don't even know what. And it was related to warm.
Tl;dr how hard is are you Pushin yer phone?
The change:
sampling 5000
[pa_therm0]
sampling 5000
thresholds 70 80 90
thresholds_clr 65 75 85
actions none none none
action_info 0 0 0
[tsens_tz_sensor0]
sampling 1000
thresholds 50 65 75 80 99 102 105
thresholds_clr 40 62 72 77 96 99 102
actions cpu cpu cpu cpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu+shutdown
action_info 1809000 1242000 1134000 918000 594000+255+0+0+0+200000000 384000+30+1+3+1+27000000 384000+30+1+3+1+27000000+5000
[tsens_tz_sensor1]
sampling 1000
thresholds 75
thresholds_clr 72
actions none
action_info 0
[tsens_tz_sensor2]
sampling 1000
thresholds 100
thresholds_clr 80
actions none
action_info 0
[tsens_tz_sensor3]
sampling 1000
thresholds 75 78 81 84 87 90
thresholds_clr 72 75 78 81 84 87
actions cpu cpu cpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu cpu+lcd+flashlight+battery+vibrator+gpu+shutdown
action_info 1242000 1134000 918000 594000+255+0+0+0+200000000 384000+30+1+3+1+27000000 384000+30+1+3+1+27000000+5000
[tsens_tz_sensor4]
sampling 1000
thresholds 50 65 80 86
thresholds_clr 40 62 77 84
actions gpu gpu gpu gpu
action_info 400000000 300000000 200000000 27000000
Please!
Move on to the One XL forum, please.
This is the forum for the One X with quadcore Tegra 3 CPU so we can't tell you which temperatures are ok for the dualcore S4 CPU in your device
Sent from my HTC One X using xda app-developers app
Hi guys!
I got my SXS on 24 December and i try to play games (etc. Dead Space NFS Most Wanted) but my phone gets a bit hot (not very, but its a bit uncomfortable for my hands) but the bigger problem is: it drops the CPU clocks to 805 (?) MHz and its make games unplayable. All stock on my phone and I try to play nonpirate games. The worst is, sometimes the games pause automatically.
The phone do that too when I start playing. (So thats isn't hot and still lags, and pauses...)
Any suggestions?
only pauses, lags, and heats? man you are lucky..
my xperia ion is nowhere better. after 1st time playing dead space, it doesn't get hot or get lags. it simply rage quit and not letting me play every time i start the game.. all stock no pirate as well.
btw, xperia ion will be my last android phone, yes, no more android, but still other sony devices. i so hate the way android works, even though you can really enjoy the customization and apps integration, but seriously nothing else. i have lost all the faith on android and sony mobile. i don't wanna struggle just to get something i want to work. i want something reliable, and that's definitely not android.
asdf2222 said:
Hi guys!
I got my SXS on 24 December and i try to play games (etc. Dead Space NFS Most Wanted) but my phone gets a bit hot (not very, but its a bit uncomfortable for my hands) but the bigger problem is: it drops the CPU clocks to 805 (?) MHz and its make games unplayable. All stock on my phone and I try to play nonpirate games. The worst is, sometimes the games pause automatically.
The phone do that too when I start playing. (So thats isn't hot and still lags, and pauses...)
Any suggestions?
Click to expand...
Click to collapse
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Also, check you're on the latest firmware
Sent from my Jellybean Xperia S
Welcome to the forum. Please post all your questions here in Q&A in future.
Thanks
AvRS
Ben36 said:
Also, check you're on the latest firmware
Sent from my Jellybean Xperia S
Click to expand...
Click to collapse
Yeah im on the latest firmware, and i tried older firmwares too.
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
May this will help, I changed this values i will test soon!
(sry for my english)
0000alex0000 said:
only pauses, lags, and heats? man you are lucky..
my xperia ion is nowhere better. after 1st time playing dead space, it doesn't get hot or get lags. it simply rage quit and not letting me play every time i start the game.. all stock no pirate as well.
Click to expand...
Click to collapse
I didnt had those problems on stock or by now. I play a lot on my Ion and everything runs great.
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
I dont know but i changed the values and the game is auto pause... :S sry for my english :crying:
monivan said:
Go to system/etc and find thermal-send.conf
Edit with root explorer!
you'll see these lines:
[MSM_THERM]
sampling 10000
thresholds 49 52 55 58 70
thresholds_clr 45 50 53 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Change to:
[MSM_THERM]
sampling 10000
thresholds 49 52 65 58 70
thresholds_clr 45 50 63 56 68
actions lcd lcd cpu lcd shutdown
action_info 192 128 810000 64 0
Reboot your phone will no longer lag during heavy game! Before if u reach 53 degree u'll lose performance. Now It will not clocked down until 63 Degree.
Thank me, if I deserved it.
Send from my stupid lt26i
Click to expand...
Click to collapse
will this work on Samsung galaxy music duos ? iam facing the same problem-i mean Auto pausing of games and also force stop sometimes..if this dont work then please post some working method for the device if any..
New Pokemon Emerald Code For GameBoid Emulator On Android Phones
Here is a list of EACH code and what it
corresponds too:
Make sure you put a 0 before all double
digits and 00 before single digits.
Replace the Three X's with your variable
choice.
Use this code, 82005274 0xxx
They are about 4000
It replaces the top item at any mart.
1-9 is different poke balls
10 is defrost
11 is awakens
12 is heal paralyzation
13 is full restore
14 is max potion
15 is hyper potion
16 is super potion
17 is full heal
18 is revive
19 is max revive
20 is heal powder
21 is revival herb
22 is ether
23 is max ether
24 is elixir
25 is max elixir
26 is Lava cookie
27 is blue flute
28 is yellow flute
29 is red flute
30 is red shard
31 is blue shard
32 is yellow shard
33 is green shard
34-39 are nothing. Displayed as ???????.
Can be used as a hold item, good to use
with a Pokemon who knows Trick
40 is protein
41 is iron
42 is carbos
43 is calcium
44 is RARE CANDY!!
45 is raise max pp
46 is zinc
47 pp max
48 is nothing displayed as ???????
49 is guard spec.
50 is a poke doll
51 is a fluffy tail
52 is nothing
53 is super repel
54 is max repel
55 is escape rope
56 is repel
57 is nothing
58 is nothing
59 is nothing
60 is thunderstone
61 is Water stone
62 is leaf stone
63-66 is nothing
67 is tiny mushroom
68 is big mushroom
69-78 are nothing
79 is orange mail
80 is shadow mail
81 is tropic mail
82 is dream mail
83 is fab mail
84 is retro mail
85 is Cheri berry
86 is chesto berry
87 is pecha berry
88 is rawst berry
89 is aspear berry
90 is wiki berry
91 is mago berry
92 is aguav berry
93 is ipapa berry
94 is razz berry
95 is bulk berry
96 is nanab berry
97 is wepear berry
98 is pinap berry
99 is pomeg berry
100 is pink scarf
101 is green scarf
102 is yellow scarf
103 is Mach bike
104 is coin case
105 is item finder
106 is old rod
107 is good rod
108 is super rod
109 is s.s. ticket
110 is acro bike
111 is poke block case
112 is letter
113 is eon ticket
114 is red orb
115 is blue orb
116 is scanner
117 is go goggles
118 is meteorite
119 is rm. 1 key
120 is devon scope
121 is TM01
122 is TM02
123 is TM03
124 is TM04
125 is TM05
126 is TM06
127 is TM07
128 is TM08
129 is TM09
130 is TM10
131 is TM11
132 is TM12
133 is TM13
134 is TM14
135 is TM15
136 is TM16
137 is TM17
138 is TM18
139 is TM19
140 is TM20
141 is TM21
142 is TM22
143 is TM23
144 is TM24
145 is TM25
146 is TM26
147 is TM27
148 is TM28
149 is TM29
150 is TM30
151 is TM31
152 is TM50
153 is HM01
154 is HM02
155 is HM03
156 is HM04
157 is HM05
158 is HM06
159 is HM07
160 is voucher
161 is gold teeth
162 is old amber
163 is card key
164 is lift key
165 is helix fossil
166 is dome fossil
167 is silph scope
168 is bicycle
169 is town map
170 is rainbow pass
171 is tea
172 is mystic ticket
173 is aurora ticket
174 is powder jar
175 is ruby
176 is sapphire
177 is magma emblem
178 is old sea map.
PS: If you have any problem PM me or comment here , another code i will added later . Sorry if i post in wrong section
I try to use Peel Smart Remote app to remote control my TV, but it's not working. And I used another camera to look at my M9 top part, there is also no purple IR light. So is my M9 IR blaster broken?
Here is the log after I press the button in Peel Smart Remote:
Code:
10-16 14:02:50.965: W/CIRControl(23151): Control(L&S): UUID=ae61f479-d57e-41d2-8d2e-595360817bfb
10-16 14:02:50.965: W/CIRControl(23151): transmitIRCmd: drop=true {1 and 38000 and 72}
10-16 14:02:50.965: W/CIRControl(23151): sendMessageToService: 4
10-16 14:02:50.967: W/CIRControlServiceClient(23230): sendMessageToService
10-16 14:02:50.967: W/CIRControlServiceClient(23230): sendMessageToService , thread :main
10-16 14:02:50.967: W/CIRControlService(23230): IncomingHandler: 4
10-16 14:02:50.967: W/CIR-HtcAccessory(23230): IncomingHandler: mCirExist: true, mAccessoryExist: false, mAccessorySupportCIR: false
10-16 14:02:50.969: W/CIRControlService(23230): Send drop-cmd dispatched
10-16 14:02:50.970: E/CIRControlService(23230): CommandHandler: request 4 drop: 0 RID=ae61f479-d57e-41d2-8d2e-595360817bfb
10-16 14:02:50.970: E/CIRControlService(23230): CommandHandler: poll 1 drop:true id=ae61f479-d57e-41d2-8d2e-595360817bfb
10-16 14:02:50.970: W/CIRControlService(23230): Transmit IR +++ 0
10-16 14:02:50.970: W/CIRControlService(23230): frameTime=0
10-16 14:02:50.971: W/htcircontrol(23230): loadAndSendIR: repeatCount=1 cmd[4]=0x1
10-16 14:02:50.971: W/htcircontrol(23230): loadAndSendIR: freq=38000 cmd[6]=0x70 cmd[5]=0x94
10-16 14:02:50.971: W/htcircontrol(23230): loadAndSendIR: 343 170 22 62 22 20 22 20 22 20 22 20 22 20 22 20 22 20 22 20 22 62 22 62 22 62 22 62 22 62 22 62 22 62 22 20 22 20 22 62 22 62 22 20 22 20 22 20 22 20 22 62 22 62 22 20 22 20 22 62 22 62 22 62 22 62 22 1530 343 84 22 3812 (223)
10-16 14:02:50.975: W/OpenGLRenderer(23151): Fail to change FontRenderer cache size, it already initialized
10-16 14:02:50.978: W/htcircontrol(23230): loadAndSendIR: retry: 6 write end: tnum=85
10-16 14:02:50.990: E/htcircontrol(23230): loadAndSendIR: exit 0x0
10-16 14:02:50.990: W/CIRControlService(23230): reply S/LS IR msg when client exists
10-16 14:02:50.990: W/CIRControlService(23230): sendMessageToControl: 2 and 0 and 0
10-16 14:02:50.996: W/CIRControlService(23230): Transmit IR --- aCount: 0 cmdQ.size=0
10-16 14:02:50.996: W/CIRControlService(23230): period: 219 value: 284 wakeup: false
10-16 14:02:51.021: W/CIRControl(23151): Got <MSG_RET_TRANSMIT_IR>
10-16 14:02:51.021: W/CIRControl(23151): sendMessageToUI: 2 and 0 and 0
10-16 14:02:51.281: W/CIRControlService(23230): End of sleeping
10-16 14:02:51.281: W/CIRControlService(23230): Transmit IR final aCount: 0
Have you successfully programmed peel remote to any tv?
Beamed in by telepathy.
Hello everyone,
recently im having serious battery problems (random reboots with battery logo, 20-30% battery decrement).
Can someone attach a log made with CurrentWidget of a normal usage (normally 1 charge cycle from 100 to 20 for example)?
Basically i'm noticing that when the phone is absorbing significant amounts of current is becomes unstable
Example of a shutdown situation (need to charge in order to boot properly, green text)
Code:
Date Time mA % volt temp
08/11/2016 07:44:00 -63 78 3,588 23,7
[COLOR="Red"]08/11/2016 07:45:37 -1154 78 3,588 23,7[/COLOR]
08/11/2016 07:46:37 -43 78 3,588 23,7
[COLOR="Orange"]08/11/2016 07:47:39 -204 78 3,588 23,7[/COLOR]
08/11/2016 07:49:22 -166 78 3,588 23,7
08/11/2016 07:50:22 -172 78 3,588 23,7
0[COLOR="Red"]8/11/2016 07:51:55 -654 77 3,709 20,5[/COLOR]
[COLOR="SeaGreen"]08/11/2016 08:12:04 140 63 4,084 26,5[/COLOR]
08/11/2016 08:13:29 480 66 4,357 25,5
08/11/2016 08:14:29 444 67 4,355 25
Unusual drop in voltages (i'm assuming this happens since i waked up my phone after waking up myself)
Code:
Date Time mA % volt temp
08/11/2016 07:07:27 -51 83 4,062 16
[COLOR="red"]08/11/2016 07:08:28 -47 83 4,062 16
08/11/2016 07:09:28 -54 82 3,696 19[/COLOR]
08/11/2016 07:10:28 -47 82 3,696 19
Moreover when in TWRP 3.0.2 i can't see the battery value on top right corner! Can someone confirm he can?