Martin Hebel
12-05-2006, 01:58 PM
My family plays an on-line game, though I won't say which one or we might get busted for this, but one character type requires frequent repetitive keystrokes for an attack,1 2 1 2 1 2....,·which leads to aching hands and wrists.
I set up a StampPlot Macro to initiate the game:
!APPE c:\program files\game\game.exe
Then I set up a BASIC Stamp and a photoresistor in an RC network. When the sensor is darkened it initiates sending data to the started game application:
DEBUG "!APPS 1",CR ' send keystroke of 1 to application
pause 100
DEBUG "!APPS 2",CR ' send keystroke of 2 to application
pause 500
So, when ready to attack, simply darken the sensor. And of course the above repeats the entire time darkened.· http://forums.parallax.com/images/smilies/devil.gif
-Martin·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control (http://www.stampplot.com/)
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers (http://www.selmaware.com/appbee)·
I set up a StampPlot Macro to initiate the game:
!APPE c:\program files\game\game.exe
Then I set up a BASIC Stamp and a photoresistor in an RC network. When the sensor is darkened it initiates sending data to the started game application:
DEBUG "!APPS 1",CR ' send keystroke of 1 to application
pause 100
DEBUG "!APPS 2",CR ' send keystroke of 2 to application
pause 500
So, when ready to attack, simply darken the sensor. And of course the above repeats the entire time darkened.· http://forums.parallax.com/images/smilies/devil.gif
-Martin·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control (http://www.stampplot.com/)
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers (http://www.selmaware.com/appbee)·