Hi,
I am currently working on a web-based application that should operate as a
web-based application to help mentally disabled / spastical children that
cannot talk or write to communicate. I'll spare you with the details, but,
basicly it displays a set of symbols which the children should be able to browse
through. Input comes through two big buttons that are attached to a
switch-mouse (A mouse emulator). Now, one button simulates a left-click, one simulates a
right-click. And I need the program to take these as a tab and as a enter
(or as functions that have the same result) - one to jump on one box, one to
activate the selected box. And, also, the program must register the time a
button is pushed. Since most of the kids this program should run for have little
motorical control, just touching the button isn't enough - they have to hit a
button and stay on it a certain time (that is defined by the teacher). We're
using an Apache Server, MySQL and PHP. Is it possible to do the functions we
need to do with javaSCRIPT or a similar coding language that we can easly
integrate into HTML? Or should we just go ahead and shoot ourselves because
this isn't possible?
Thanks for your assistance,
Jeremy
Catching Mouse activity
Moderator: General Moderators
javascript
Yes it is possible it you need what I think you need.
javascript has a variety of onMouse events and onKey events that would probably do what you need.
You would just have to catpure the correct event and then start a timer if the timer reaches the allocated time then do what ever it is you need to do. If another onMouse, or onKey event occurs in the meantime, stop the timer.
I would be interested in helping you with this project as it sounds like it might be quite fasinating to do. Let me know.
phpScott
javascript has a variety of onMouse events and onKey events that would probably do what you need.
You would just have to catpure the correct event and then start a timer if the timer reaches the allocated time then do what ever it is you need to do. If another onMouse, or onKey event occurs in the meantime, stop the timer.
I would be interested in helping you with this project as it sounds like it might be quite fasinating to do. Let me know.
phpScott