Path: utzoo!attcan!uunet!convex!killer!ames!pasteur!cory.Berkeley.EDU!koster From: koster@cory.Berkeley.EDU (David Ashley) Newsgroups: comp.sys.amiga.tech Subject: Re: Mouse movement Message-ID: <5258@pasteur.Berkeley.EDU> Date: 27 Aug 88 03:43:57 GMT References: <8471@cup.portal.com> Sender: news@pasteur.Berkeley.EDU Reply-To: koster@cory.Berkeley.EDU.UUCP (David Ashley) Organization: University of California, Berkeley Lines: 29 In article <8471@cup.portal.com> MJB@cup.portal.com writes: >In preferences, I have moved the "mouse speed ratio thingie" to get max >movement (most screen movement for the least physical movement), but the ratio > 2) Could these current acceptable min and max values be changed with a > little hex editing? > 3) If this (#2) is possible, could you point me in the right direction of > the values that would need to be changed? (library location?) > - Martin Brown - The preferences structure is defined in intuition/intuition.i (or .h), and there is a USHORT PointerTicks which is the sensitivity of the pointer. Its offset is pf_PointerTicks at hex $6C. Now my guess is that the devs:system-configuration is just a dump of the preferences data. On my machine it is 232 bytes, which is exactly the size of the pf_SIZEOF value ($E8). So you would modify the word at location $6c in that file. Just play around with it, see what happens. It is not enough to just change the file; you will have to reboot to get the system to use the prefs. An alternative is to write a small program that calls the intuition functions GetPrefs() and SetPrefs(). You GetPrefs() to some buffer, modify location $6C, and then do a SetPrefs(). Each call requires a bytecount, which tells the system how many bytes to read/write from/to the internal preferences storage. koster@cory.berkeley.edu David Ashley