Wrecked Games
September 05, 2010, 03:48:21 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: We're just that awesome.
Home
Help
Search
Members
Login
Register
Wrecked Games
>
Wreckedgames Libraries
>
OIS Development
>
New interface device
Pages: [
1
]
« previous
next »
Print
Author
Topic: New interface device (Read 314 times)
mani
Newbie
Posts: 2
New interface device
«
on:
January 03, 2010, 11:44:43 PM »
Hi, I am quite new to OIS..
I am planning to do some research on integrating my handphone to the Game by creating a new OIS inputdevice.
Can some one give me leads/ directions on where to start and the best way to achieve this.
I would essentially send few signals like <Left>,<right> and so on over a TCP socket from my handphone , from where I want OIS to read and interpret them as inputs.
Any suggestions ?
Also wish to know if there is a way for quick testing( some kind of BlackBox) without having to integrate with the Game Engine at every step.
«
Last Edit: January 03, 2010, 11:47:07 PM by mani
»
Logged
pjcast
Administrator
Veteran
Posts: 2544
Re: New interface device
«
Reply #1 on:
January 04, 2010, 07:08:37 PM »
For testing, you can use the console app. There is an experimental LIRC OIS device (Linux Infrared Remote Control) which simply uses Boost::Asio to listen on a TCP socket for events. I'm sure it can be adapted fairly easily to meet your requirements. Or, at least used as some kind of reference for making a custom device. It might be easier to use something else for sockets than boost.
Logged
mani
Newbie
Posts: 2
Re: New interface device
«
Reply #2 on:
January 04, 2010, 10:14:29 PM »
Thanks You.
I shall get back in the case of some difficulty .
Logged
pjcast
Administrator
Veteran
Posts: 2544
Re: New interface device
«
Reply #3 on:
January 05, 2010, 07:40:33 PM »
You just need to alter the config.h file of OIS to enable building the LIRC part. Or, at least use that as a reference to see what the define actually does to register the device.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Wreckedgames Libraries
-----------------------------
=> WGE
=> Ringo
=> Visual Ogre Studio
=> OIS
=> OIS Development
=> Theora Plugin
=> Projects Showcase
-----------------------------
Everything Else
-----------------------------
=> WreckedGames
Loading...