Slew Presets
Slew Presets

EQMOD can use preset rates for slewing The rates are read from the EQMOD.ini file and are defined as multiples of sidereal rate (same as slider bars use). The presets apply the rates to both RA and DEC.

The preset rates may be selected via the drop down list situated between the two rate sliders. Additionally a pair of joystick buttons may be assigned to increment and decrement the current preset number. You can also set buttons to select specific presets. Note that joystick buttons are not assigned by default and you will have to do this via the joystick configuration dialog.

If the beep checkbox has been checked then each time a preset is changed via buttons EQMOD will issue a short “click”. This is to provide some feedback as joystick scanning is relatively slow and fast changes can be missed (keep the button pressed for a short while and you'll have no problems). When the first or last preset has been reached further button presses will issue a “beep” to let you know you've reached the min/max rate.

By default 4 preset rates are defined: sidereal x1, x8, x64 and x800. These can be can changed, and added to by editing the .ini file. Then number of presets can be increased up to a maximum of 10 by changing the COUNT. For example

[slewrates]
InitalPreset=1
rate_5=800
rate_4=400
rate_3=64
rate_2=2
rate_1=1
COUNT=5

The value for InitalPreset determines the default rate at startup. The software will only read in the number defined by COUNT. If COUNT is set to a number larger than there are presets, then the software will create the extra preset and assign a rate of 0 to them. Presets with a rate of 0 do not affect a change in slew rate. EQMOD.ini can be found in

C:\Documents and Settings\YourLoginAccount\Application Data\EQMOD

You may have to set your explorer to view hidden files.

Four additional functions (Rate_1, Rate_2, Rate_2 and Rate_4) allow direct mapping of four slew rates presets to gamepad/Joystick buttons. The mapping is defined in the EQMOD.ini file as follows.

[slewrates]
ratebtn_4=5
ratebtn_3=4
ratebtn_2=3
ratebtn_1=1
InitalPreset=1
rate_5=800
rate_4=400
rate_3=64
rate_2=2
rate_1=1
COUNT=5

The ratebtn variable is assigned to a preset number rather than an explicit rate since there are only 4 rate buttons but there may be many more preset values. Typically, you will choose to assign 1, 2, 3 or 4 of the possible preset buttons. Default mappings are typically assigned on an initial run and use the first 4 rates presets. This means you can just use the Joystick editor to assign buttons to the any one (or more) of the first 4 presets without needing to edit the .ini file.

Only if the defaults are not suitable, edit the .ini file to change the mapping in the following fashion:

  1. In the Joystick editor window assign a button of your choice to (say) Rate Button 2.
  2. Using Notepad, you set ratebtn_2 to point at the appropriate rate setting variable (say) rate_3.
  3. Using Notepad, set the value of rate_3 to the slew rate you wish.

In summary, the following shows how the button you have assigned points to preset slew rate of 400 x sideral.

Game controller button (you choose) -> ratebtn_3 -> 4 -> rate_4 -> 400

Note: The above example is not the default setting for the .ini file

/home/welshdra/public_html/eqmod/data/pages/slewing_presets.txt · Last modified: 2009/05/20 18:02 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki