SHARE
TWEET

Detecting a Rock Candy Xbox 360 Controller on Android Thrive

XeBuZer0 Jul 18th, 2013 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sh-4.1$ cat /proc/bus/input/devices
  2. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  3. N: Name="thom_tegra"
  4. P: Phys=
  5. S: Sysfs=/devices/virtual/input/input0
  6. U: Uniq=
  7. H: Handlers=js0 event0
  8. B: PROP=0
  9. B: EV=9
  10. B: ABS=40
  11.  
  12. I: Bus=0019 Vendor=0001 Product=0001 Version=0100
  13. N: Name="gpio-keys"
  14. P: Phys=gpio-keys/input0
  15. S: Sysfs=/devices/platform/gpio-keys.0/input/input1
  16. U: Uniq=
  17. H: Handlers=event1
  18. B: PROP=0
  19. B: EV=3
  20. B: KEY=1c0040 0 0 0
  21.  
  22. I: Bus=0018 Vendor=0eef Product=0020 Version=0000
  23. N: Name="egalax_i2c"
  24. P: Phys=
  25. S: Sysfs=/devices/platform/tegra-i2c.0/i2c-0/0-0004/input/input2
  26. U: Uniq=
  27. H: Handlers=event2
  28. B: PROP=0
  29. B: EV=9
  30. B: ABS=6600000 0
  31.  
  32. I: Bus=0019 Vendor=0001 Product=0001 Version=0100
  33. N: Name="gpio-switches"
  34. P: Phys=gpio-switches
  35. S: Sysfs=/devices/platform/gpio-switches.0/input/input3
  36. U: Uniq=
  37. H: Handlers=event3
  38. B: PROP=0
  39. B: EV=21
  40. B: SW=1000
  41.  
  42. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  43. N: Name="light_tegra"
  44. P: Phys=
  45. S: Sysfs=/devices/virtual/input/input4
  46. U: Uniq=
  47. H: Handlers=event4
  48. B: PROP=0
  49. B: EV=9
  50. B: ABS=100 0
  51.  
  52. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  53. N: Name="prox_tegra"
  54. P: Phys=
  55. S: Sysfs=/devices/virtual/input/input5
  56. U: Uniq=
  57. H: Handlers=event5
  58. B: PROP=0
  59. B: EV=9
  60. B: ABS=2000000
  61.  
  62. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  63. N: Name="tegra-wm8903 Headphone Jack"
  64. P: Phys=ALSA
  65. S: Sysfs=/devices/platform/tegra-snd-wm8903.0/sound/card0/input6
  66. U: Uniq=
  67. H: Handlers=event6
  68. B: PROP=0
  69. B: EV=21
  70. B: SW=4
  71.  
  72. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  73. N: Name="tegra-wm8903 Ext HP Jack"
  74. P: Phys=ALSA
  75. S: Sysfs=/devices/platform/tegra-snd-wm8903.0/sound/card0/input7
  76. U: Uniq=
  77. H: Handlers=event7
  78. B: PROP=0
  79. B: EV=21
  80. B: SW=40
  81.  
  82. I: Bus=0003 Vendor=0e6f Product=011f Version=0100
  83. N: Name="Generic X-Box pad"
  84. P: Phys=usb-tegra-ehci.1-1.2/input0
  85. S: Sysfs=/devices/platform/tegra-ehci.1/usb1/1-1/1-1.2/1-1.2:1.0/input/input8
  86. U: Uniq=
  87. H: Handlers=js1 event8
  88. B: PROP=0
  89. B: EV=20000b
  90. B: KEY=7cdb0000 0 0 0 0 0 0 0 0 0
  91. B: ABS=3003f
  92. B: FF=1 7030000 0 0
  93.  
  94. sh-4.1$ exit
RAW Paste Data
Top