[SOLVED] handmade devices - How to bind them to the system

Programming, for all ages and all languages.
Post Reply
carrieje
Posts: 2
Joined: Tue Nov 05, 2013 1:51 pm

[SOLVED] handmade devices - How to bind them to the system

Post by carrieje »

Hello,

I'm trying to be as clear as I can, but I'm not a native english speaker, so excuse me in advance for any mistake or blur formulation :)

I am working with a team on a school project.
The context is the following. We want to develop a visual interface based on Augmented-Reality-like tags.
What we want at the end, is to interact with the system with gestures or tags moves only captured with the camera.

We intend to develop a library which could be used to bind your own physical devices to system behaviors, interacting with the webcam.
In my sense, the gestures should be interpretated by the application the user is developping.
But we think that this way of dealing with the "interpretator" limits the user in the applications he wants to use with his device.
We would be glad if his device could be used in everyday applications like games or so.

We are thinking of developping a driver that would emulates a mouse or a joystick while interpretating the gestures.
So the system knows how to deal with the device under any circumstance.

Is it possible, is it proper usage of drivers, and if so, how could we do it on a linux machine, and not a from scratch OS ?

As it is a linux driver question and not a OS development question, I hope it won't be the wrong place to ask for it.

Thanks for your consideration.
Attachments
Schema of interactions
Schema of interactions
schema_wimp.jpg (11.99 KiB) Viewed 2179 times
Last edited by carrieje on Thu Jan 30, 2014 7:06 am, edited 1 time in total.
olivierf
Posts: 5
Joined: Thu Mar 28, 2013 7:23 am
Location: Montreal - Canada

Re: handmade devices - How to bind them to the system

Post by olivierf »

Hi,

Did your system will be linked to a PC or a embedded device ?

What device you want to use ? It's the part a don't really understand. If you want to create something on device like existing webcam and sensor you just need to use a Unix system that have the driver for your device, and create a layer of abstraction that will work with this device. But if you want to create your device you will need to check the sensor that you will buy and create your own driver.

For making your own driver a lot of information exist on the subject,
check this link : http://www.codeproject.com/Articles/112 ... r-Linux-OS


PS: if you speak french send me a PM.
carrieje
Posts: 2
Joined: Tue Nov 05, 2013 1:51 pm

Re: handmade devices - How to bind them to the system

Post by carrieje »

We have finally decided to deal with the xtst library.
It allows us to emulate key strokes and mouse movements by simple procedure calls.

Thanks for your help.
(I replied you personnaly in PM)
Post Reply