Article View: borland.public.cppbuilder.nativeapi
Article #3962Re: Moving Cursor under Program Control?
From: Nick Gessler
Date: Sat, 08 Apr 2006 18:02
Date: Sat, 08 Apr 2006 18:02
48 lines
3002 bytes
3002 bytes
Hello Remy, I will try your suggestions over the weekend... You asked why I would want to do this. I'm afraid it is a rather lengthy answer... I teach several courses at UCLA in computer simulation, for students who mostly have had no previous programming experience. The flagship course is "ALiCE - Artificial Life, Culture and Evolution." These courses are part of our new Human Complex Systems program, and I recently won a teaching award for the flagship course - my "innovation" was "teaching students how to REASON with technology." For more, please visit my website: http://gessler.bol.ucla.edu When I teach to Arts students, we use an EZIO AD/DA board and interface our software with the real world. Because that board is cumbersome to demonstrate in a classroom setting, I'd like to experiment with other alternatives for simple AD converters. The mouse is one such device, and I was hoping to sacrifice a few of them by taking them apart, and in the case of roller ball mice, physically connecting the rollers to processes in the real world. In that case I'd control the software from the keyboard and use the mouse in a way it was not intended to be used: as a movement sensor, or pair of movement sensors. With the optical mice, I'm sure I could do something similar. So I would want to be able to input an endless and seamless stream of data from the re-purposed mouse. I would use the mouse-move event to collect the data. However, the data stream would be interrupted when the cursor hit the edge of the window. If I can reset the position of the cursor under program control, I could then reset the cursor when this happens and with code I could reconstruct a steady stream of data. I would love to buy ready-to-use plug-in USB AD/DA devices for everyone in my class, but as a Lecturer, I cannot afford to do that. So I was hoping to be able to repurpose a bunch of mice to do this. Thanks, Nick Nick Gessler, Ph.D. UCLA Human Complex Systems Program
Technical Details
Message-ID:
<4437fa99$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4435c27b$1@newsgroups.borland.com> <4436a479$1@newsgroups.borland.com> <4436e650$1@newsgroups.borland.com> <44370981$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,40f8797b34d0291f X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Nick Gessler" <gessler@ucla.edu> Sender: "Nick Gessler" <gessler@ucla.edu> Reply-To: "Nick Gessler" <gessler@ucla.edu> Subject: Re: Moving Cursor under Program Control? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 71.104.221.42 References: <4435c27b$1@newsgroups.borland.com> <4436a479$1@newsgroups.borland.com> <4436e650$1@newsgroups.borland.com> <44370981$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4437fa99$1@newsgroups.borland.com> Date: 8 Apr 2006 11:02:01 -0700 X-Trace: newsgroups.borland.com 1144519321 207.105.83.66 (8 Apr 2006 11:02:01 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail