Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
LiamDM's avatar
LiamDM
Explorer
12 years ago

Phone Controller

Well, this is just an idea, but solves many problems I have been having with input. As an android developer, I realize there is so much you can do with a phone, and that's where the idea came. I linked my phone into my computer, and in turn to the oculus rift. The phone is set up to monitor its accelerometer, for sudden movement in certain directions. Then, after hooking this up to skyrim, I was able to walk forward by touching the screen of the phone (simulated w press), and strike by swinging the phone as if it was a sword (and double tap phone for menu in skyrim etc). This was actually surprisingly good, compared to the typical controller, and I am adding haptic feedback to the phone app along with other things. I know this is similiar to Wii, but the convenience of it just being an app that you can download cannot be overlooked. Does anyone have any suggestions, really, throw everything you can at me please, I really want to make this work well?
(Note, just updated it then, you have a bluetooth microphone headest connected to phone, only mic is modded, so just monitors for pressure (trimmed the microphone and put the two wires between a spring), then I have this on my shoe, so by jogging on the spot, it moves in game))

13 Replies

  • "Shariq" wrote:
    Actually Brant if you use a high enough exposure time (10-15 ms), a camera without an IR filter can pick up the IR LEDs (tested today).


    I guess so, but long exposure will result in lots of smearing. Smearing == problems for vision tracking.
  • "brantlew" wrote:
    There is application called FreePIE that allows you to easily translate some of the sensor feeds on Android phones and iPhones into key, mouse, or joystick commands. It uses a scriptable language so it's fairly flexible in terms of the types of commands that you can emulate. If nothing else it's really great for prototyping this type of thing.

    http://andersmalmgren.github.io/FreePIE/


    FreePIE is awesome but despite having access to orientation data It lacks the touch screen data to use like OP suggested to simulate walking or other things which might be also really convenient.