| Config definition for HID
| Version 0.70  18 Feb 2004

Title = HID choices
Column = 470
Width = 1000
Height = 100
CheckVersion = 0.80
Hide = Registered version only
Debug = 0

[HID]

Icon = cog13
Text = Program

[HID,Main]

Icon = window
Text = Global choices
Short = Global
Width = 240
Help = <HID$Dir>.Help.config.index/htm

{
 Name = OpenKeyboard
 Text = Open Keyboard window
 Type = Option
 Default = off
 Help = Open Keyboard window when program is started
}
{
 Name = OpenMouse
 Text = Open Mouse window
 Type = Option
 Default = off
 Help = Open Mouse window when program is started
}
{
 type = ruler
 height = 20
}
{
 Name = KMore
 Text = Advanced info
 Type = Option
 Default = on
 Help = Show additional information in the keyboard window
};
{
 Name = AutoSort
 Text = Sort entries
 Type = Option
 Default = on
 Help = Always ask for sorting after adding a new key action
}
{
 Name = KLast
 Text = Show last key pressed
 Type = Option
 Default = on
 Help = Show an icon on the line(s) of the last special key pressed
};
{
 Name = KAct
 Text = Show connected devices
 Type = Option
 Default = on
 Help = Show a green LED if device is currently connected
}
{
 type = ruler
 height = 20
}
{
 Name = HotLink
 Text = Hotlink with !USBinfo
 Type = Option
 Default = on
 Help = Hotlink between !HID and !USBinfo
};
{
 Name = HotKey
 Text = Show current keyboard
 Type = Option
 Default = off
 Help = Select currently used keyboard in !USBinfo
 Enable = HotLink,1
}
{
 type = ruler
 height = 20
}
{
 Name = Select
 Text = Select button
 Type = Menu
 Help = Action when iconbar clicked with Select (left mouse button)
 Menu = Action;No action|,0;Keyboard window,1;Mouse window,2;Keyboard and mouse windows,3;Monitor window,4;Joystick window,8;Key mapping window|,16;Close all windows,31
 Default = 1
}
{
 Name = Adjust
 Text = Adjust button
 Type = Menu
 Help = Action when iconbar clicked with Adjust (right mouse button)
 Menu = Action;No action|,0;Keyboard window,1;Mouse window,2;Keyboard and mouse windows,3;Monitor window,4;Joystick window,8;Key mapping window|,16;Close all windows,31;Choices...,32
 Default = 2
}
{
 type = ruler
 height = 20
}
{
 Name = KAuto
 Text = Load Vendor-specific definitions
 Type = Option
 Default = on
 Help = Load any extra definitions for vendor-specific keys
};
{
 Text = Show files
 Legend =
 Type = Button
 Default = *Filer_OpenDir <HID$Dir>.Auto
 Help = Click this button to show/add definition files
}


[HID,Font]

Icon = font
Text = Font and colour settings
Short = Font
Width = 240
column = 350

{
 Name = Heading
 Text = Heading font
 Type = Font
 Default = Homerton.Bold
 Help = Font used for headings
}
{
 Name = Font
 Text = Main font
 Type = Font
 Default = Homerton.Medium
 Help = Main font used in status window
}
{
 Name = Fixed
 Text = Monospaced
 Type = Font
 Default = Corpus.Medium
 Help = Monospaced font used for Hex numbers and Path entries
}
{
 type = ruler
 height = 20
}
{
 Name = TColour
 Text = Heading colour
 Type = Colour
 Width = 100
 Help = Colour used for the heading background
 Default = 153,68,102
};
{
 Name = MatchCol
 Text = Duplicate entries
 Type = Colour
 Width = 100
 Align = right
 Help = Background colour for lines with identical key entries
 Default = 255,255,204
}
{
 Name = LineCol
 Text = Lines
 Type = Colour
 Width = 100
 Help = Colour used for the lines between records and fields
 Default = 176,208,255
};
{
 Name = KSpec
 Text = Highlight Vendor-specific keys
 Type = Option
 Default = on
 Help = Highlight lines with Vendor-specific keys (non-standard)
}:
{
 Name = SpecCol
 Text = |Vendor-specific keys
 Type = Colour
 Width = 100
 Align = right
 Help = Background colour for Vendor-specific keys
 Default = 255,241,253
 Enable = KSpec,1
}
{
 Name = SelCol
 Text = Selected line
 Type = Colour
 Width = 100
 Help = Background colour for a selected line
 Default = 204,238,255
};
{
 Name = KGUI
 Text = Highlight GUI key combinations
 Type = Option
 Default = on
 Help = Highlight lines with GUI key combinations
}:
{
 Name = GUICol
 Text = |GUI key combinations
 Type = Colour
 Width = 100
 Align = right
 Help = Background colour for Vendor-specific keys
 Default = 235,255,235
 Enable = KGUI,1
}
{
 type = ruler
 height = 20
}
{
 Name = Priority
 Text = Iconbar position
 Type = Menu
 Default = &4FFFFFF1
 Menu = Position;Anywhere at right,0;Left of Display manager,&0E000000;Right of Display manager|,&2E000000;Anywhere at left,1;Right of Apps,&4FFFFFF1;Left of Apps,&60000001
 Help = Position of the HID icon in the iconbar
}


[HID,Log]

Icon = log
Text = Logging
Short = Log
Width = 260

{
 Name = Enable
 Text = Enable logging
 Type = Option
 Default = off
 Help = When on, some actions will be logged
}
{
 type = ruler
 height = 20
}
{
 Name = Level
 Text = Log level
 Type = Integer
 Help = Only messages with a level lower or equal will be logged
 Default = 6
 Min = 0
 Max = 10
 Size = 2
 Width = 112
 Enable = Enable,1
}
{
 Name = Path
 Text = Path
 Type = ole
 Help = This is the path where the logfile will be stored
 Default = <HID$Dir>.Log
 Drop = path
 Enable = Enable,1
}
{
 Name = Prefix
 Text = File prefix
 Default = HID
 Type = String
 Size = 3
 Width = 112
 Help = Two or three letter prefix for the log files
 Enable = Enable,1
}
{
 Name = Type
 Text = File type
 Default = &FFF
 Type = String
 Size = 4
 Width = 112
 Menu = File type;Text (&FFF),&FFF;Data (&FFD),&FFD
 Help = This is the RISC OS file type for the file
 Options = -fix
 Enable = Enable,1
}
{
 Name = CreationPeriod
 Text = Create every
 Type = Menu
 Default = 1
 Menu = Every;Default (as set by SWI Log_SetOptions)|,0;Day,1;Week,2;Month,3;Year,4
 Help = Interval for creation of a new Log file
 Enable = Enable,1
}
{
 Name = StoragePeriod
 Text = Keep
 Type = Integer
 Default = 3
 Size = 3
 Width = 112
 Help = Log files are kept for this period
 Enable = Enable,1
}:
{
 Name = StoragePeriodUnits
 Type = Menu
 Default = 1
 Menu = Period;Same as for create|,0;Day(s),1;Week(s),2;Month(s),3;Year(s),4
 Enable = Enable,1
}
{
 type = ruler
 height = 20
}


[Kbd]

Icon = keyboard
Text = Keyboard
Offset = 40


[Kbd,Keyboard]

Icon = keyboard
Text = Special keys
Short = Keys
Width = 210

{
 Name = WimpKey
 Text = Special keyboard support
 Type = Option
 Default = on
 Help = Install support for special keys
 Enable = [Install]USBHID,1
}
{
 type = ruler
 height = 20
}
{
 Name = GUIKeys
 Text = Use GUI key combinations
 Type = Option
 Default = on
 Help = Treat GUI (Windows) key combinations as special keys
 Enable = [Install]USBHID,1
};
{
 Name = MenuKey
 Text = Use keyboard Menu key
 Type = Option
 Default = off
 Help = Allow an Action to be assigned to the Menu key on the keyboard
 Enable = [Install]USBHID,1
}
{
 Name = FLockRev
 Text = Use F-keys by default
 Type = Option
 Default = off
 Help = Reverse the use of the F-Lock key on some keyboards
}
{
 type = ruler
 height = 20
}
{
 Name = KNew
 Text = New key
 Help = What to do if an unassigned key is detected
 Type = Menu
 Menu = Action;No action (ignore the key)|,0;Sound the bell,1;Pop-up dialogue window,2
 Default = 2
 Enable = WimpKey,1
}
{
 Name = KError
 Text = Error action
 Help = What to do if a configured Action causes an error
 Type = Menu
 Menu = Action;No action (all errors are supressed)|,0;Sound the bell (and ignore error),1;Report error (pop-up an error box),2
 Default = 0
 Enable = WimpKey,1
}
{
 type = ruler
 height = 20
}
{
 Name = AutoRepeat
 Text = Auto repeat
 Type = Radio
 Menu = Auto repeat;Off,0;System,1;Other,2
 Default = 1
 Help = Auto repeat settings for the Consumer Control keys
 Width = 220
 Stack = hor
 Enable = WimpKey,1
}
{
 Name = RepeatDelay
 Text = Delay
 Type = Integer
 Help = Initial delay before auto repeat starts (in centiseconds)
 Width = 120
 Size = 3
 Default = 32
 Comment = cs
 Enable = AutoRepeat,2
};
{
 Name = RepeatRate
 Text = Rate
 Type = Integer
 Help = Auto repeat rate in centiseconds
 Width = 120
 Size = 3
 Default = 8
 Comment = cs
 Enable = AutoRepeat,2
}
{
 type = ruler
 height = 20
}


[Kbd,KeyLEDs]

Icon = key_leds
Text = LEDs
Column = 180
Width = 210
Help = <HID$Dir>.help.kbd.led.index/htm

{
 Name = Enable
 Text = Keyboard LEDs in iconbar
 Type = Option
 Default = on
 Help = Install virtual keyboard LEDs in iconbar
}
{
 type = ruler
 height = 20
}
{
 Type = Icon
 Default = 7
 Default = #<HID$Dir>.LEDs.!Index;Design;default
 Width = 220
 Height = 162
 Options = -border 2
 Help = This design will be used for the keyboard LEDs in the iconbar
 Enable = Enable,1
}-
{
};
{
 Name = Position
 Text = Position
 Type = Menu
 Default = &1F000000
 Menu = Position;Anywhere at right,0;Left of Display manager,&1F000000;Right of Display manager,&2F000000;Far right|,&7F000000;Anywhere at left,1;Right of Apps,&50000001;Left of Apps,&60000001;Far left,&7F000001
 Help = Position of the keyboard LEDs in the iconbar
 Enable = Enable,1
}
{
};
{
 Name = Design
 Text = Design
 Type = Menu
 Menu = #LEDs;file;<HID$Dir>.LEDs -ignore !Index,!ReadMe
 Default =
 Options = -none Default
 Help = Select an alternative design for the LEDs in the iconbar
 Enable = Enable,1
}
{
 Type = Button
 Text = Open folder
 Width = 300
 Align = Right
 Default = *Filer_OpenDir <HID$Dir>.LEDs
}
{
 type = ruler
 height = 20
}


[Kbd,CDControl]

Icon = cdc
Text = Media control
Short = Media
Width = 210
Help = <HID$Dir>.Help.kbd.media.index/htm

{
 Name = Method
 Text = Method
 Type = Menu
 Menu = Method;CDFS,0;!DigitalCD,1
 Default = 0
 Width = 434
 Help = Select the method used for the CD controls on the keyboard
}:
{
 Name = Route
 Text = Via WIMP
 Type = Option
 Default = off
 Help = Control CDFS via the WIMP
 Enable = Method,0
}
{
 type = ruler
 height = 20
}
{
 Name = Volume
 Text = Volume
 Help = Initial volume when using !DigitalCD
 Type = Slider
 Options = -value -border 2 -col aqua -fix
 Min = 0
 Max = 100
 Default = 80
 Comment = %
 Size = 3
 Width = 438
 Enable = Method,1
}
{
 Name = DCDRoute
 Text = Control
 Type = Menu
 Menu = Control;Music Files Player,0;CD Drive Player,1
 Default = 0
 Width = 434
 Help = Select control panel to use within DigitalCD
 Enable = Method,1
}:
{
 Name = DCDUnit
 Type = Integer
 Width = 80
 Size = 1
 Min = 0
 Max = 4
 Default = 0
 Comment = unit
 Enable = DCDRoute,1
}
{
 type = ruler
 height = 20
}


[Kbd,AltKeys]

Icon = alt
Text = AltKeys
Width = 210
Help = <HID$Dir>.Help.kbd.alt.index/htm

{
 Name = Enable
 Text = Use AltKeys module
 Type = Option
 Default = off
 Help = Install support for entering foreign characters
}
{
 Name = DisableAlt
 Text = Disable the Alt key (use an alternative key)
 Type = Option
 Default = off
 Help = Do not use the Alt-key to enter/cancel Compose mode
}
{
 type = ruler
 height = 20
}

[Kbd,Mapping]

Icon = rus
Text = Key Mapping
Short = Mapping
Width = 210
Help = <HID$Dir>.Help.kbd.map.index/htm

{
 Name = Enable
 Text = Enable key mapping support
 Help = Allow keys to be mapped to other keys
 Type = Option
 Default = off
}
{
 Name = Russian
 Text = Enable support for Russian input
 Type = Option
 Default = off
 Help = Install support for input of foreign text
 Enable = Enable,1
}
{
 type = ruler
 height = 20
}


[Kbd,Barcode]

Icon = barcode
Text = Barcode
Width = 210
|Help = <HID$Dir>.Help.kbd.index/htm

{
 Name = Enable
 Text = Enable support for Barcode readers
 Type = Option
 Default = off
 Help = Install support for USB Barcode readers
 Enable = [Install]USBHID,1
}
{
 type = ruler
 height = 20
}
{
 Name = Format
 Text = Output format
 Type = String
 Default = %BC
 Help = Output format of a Barcode string
 Enable = Enable,1
}
{
 type = comment
 text = e.g.: %BC = Barcode
 legend =
 options = -col 5
}
{
 type = ruler
 height = 20
}
{
 Name = PreFilter
 Text = Remove prefix from Barcode string
 Type = Option
 Default = on
 Help = Remove the prefix (if any) from the Barcode string
 Enable = Enable,1
};
{
 Name = PreSep
 Text = Separator
 Type = String
 Size = 1
 Default = :
 Width = 80
 Help = Separator between the prefix and the barcode
 Align = right
 Enable = Enable,1
}
{
 type = ruler
 height = 20
}

[Ptr]

Icon = mouse
Text = Mouse

[Ptr,Mouse]

Icon = mouse
Text = Buttons and movement
Short = Mouse
Width = 170
Column = 334

{
 Type = Icon
 Default = mouselegend
 Width = 340
 Height = 300
 Options = -border 2
 Help = This is a possible layout of the buttons on a mouse
}-
{
};
{
 Name = Mouse1
 Text = Button 1
 Type = Menu
 Help = Default action for the left mouse button
 Menu = Action;No action|,0;Select (default),&70;Menu,&71;Adjust,&72;Task,&73;Window|,&74;Control,&3B;Shift|,&4C;Special key code,1
 Default = &70
}
{
};
{
 Name = Mouse2
 Text = Button 2
 Type = Menu
 Help = Default action for the left mouse button
 Menu = Action;No action|,0;Select,&70;Menu (default),&71;Adjust,&72;Task,&73;Window|,&74;Control,&3B;Shift|,&4C;Special key code,2
 Default = &71
}
{
};
{
 Name = Mouse3
 Text = Button 3
 Type = Menu
 Help = Default action for the left mouse button
 Menu = Action;No action|,0;Select,&70;Menu,&71;Adjust (default),&72;Task,&73;Window|,&74;Control,&3B;Shift|,&4C;Special key code,3
 Default = &72
}
width = 360
{
 type = ruler
 height = 20
 legend =
}
width = 170
{
};
{
 Name = Mouse4
 Text = Button 4
 Type = Menu
 Menu = Action;No action|,0;Select,&70;Menu,&71;Adjust,&72;Task (default),&73;Window|,&74;Control,&3B;Shift|,&4C;Special key code,4
 Help = Default action for the left mouse button
 Default = &73
}
{
};
{
 Name = Mouse5
 Text = Button 5
 Type = Menu
 Menu = Action;No action|,0;Select,&70;Menu,&71;Adjust,&72;Task,&73;Window (default)|,&74;Control,&3B;Shift|,&4C;Special key code,5
 Help = Default action for the left mouse button
 Default = &74
}
{
 type = ruler
 height = 20
}
column = 480
{
 Name = RevX
 Text = Reverse horizontal movement
 Type = Option
 Default = off
 Help = Reverse the mouse movement in the X-direction
 Width = 350
};
{
 Name = RevY
 Text = Reverse vertical movement
 Type = Option
 Default = off
 Help = Reverse the mouse movement in the Y-direction
 Width = 350
}
{
 type = ruler
 height = 20
}
{
 type = comment
 options = -border 0
 height = 100
 text = The movement direction of the scroll wheel can be set in the next TAB
}

[Ptr,Wheel]

Icon = wheel
Text = Scroll wheel
Short = Wheel
Width = 200

{
 Name = WimpScroll
 Text = Scroll wheel support
 Type = Option
 Default = on
 Help = Install support for wheel mice
 Enable = [Install]USBHID,1
};
{
 Name = Poll
 Text = Interactive scrolling
 Type = Option
 Default = on
 Help = Continue to poll other tasks whilst scrolling
 Enable = WimpScroll,1
}
{
 Name = RevWheel
 Text = Natural scroll direction
 Type = Option
 Default = off
 Help = Window scrolling follows finger movment
 Enable = WimpScroll,1
};
{
 Name = Smooth
 Text = Smooth scrolling
 Type = Option
 Default = on
 Help = Synchronise scrolling to the vsync
 Enable = Poll,1
 Enable = WimpScroll,1
}
{
 Type = Comment
 Text =
 Height=20
 Options = -border 0
}
{
 Type = Comment
 Text = Default method
}
{
 type = ruler
 height = 20
}
{
 Name = DefaultMethod
 Text = Vertical
 Type = Menu
 Help = This is the default method used to scroll a window vertically
 Default  = 1
 Menu = Method;No scrolling|,0;Part of visual area,1;Fixed distance,2;Arrow up/down key,3;Ctrl-Shift-Arrow up/down key,4;Page/PageDown key,5;Eureka mode,6;Scroll Request,7
 Enable = WimpScroll,1
}
{
 Name = DefaultStep
 Text = Step
 Type = Integer
 Size = 4
 Width = 92
 Comment = OS units
 Default = 4
 Enable = WimpScroll,1
}
{
 type = ruler
 height = 20
}
{
 Name = HorMethod
 Text = Horizontal
 Type = Menu
 Help = This is the default method used to scroll a window horizontally
 Default  = 1
 Menu = Method;No scrolling|,0;Part of visual area,1;Fixed distance,2;Arrow left/right key,3;Ctrl-Shift-Arrow left/right key,4;Eureka mode,6;Scroll Request,7
 Enable = WimpScroll,1
}
{
 Name = HorStep
 Text = Step
 Type = Integer
 Size = 4
 Width = 92
 Comment = OS units
 Default = 4
 Enable = WimpScroll,1
}
{
 type = ruler
 height = 20
}
{
 type = comment
 options = -border 0
 height = 120
 text = To specify the scroll method and behaviour for individual applications, go to the HID menu in the iconbar and select 'Scroll wheel'
}

[Joystick]

Icon = joystick
Text = Joystick
Width = 200

{
 Name = Enable
 Text = Enable Joystick support
 Type = Option
 Default = on
 Help = Install support for Joysticks
 Enable = [Install]USBHID,1
}
{
 type = ruler
 height = 20
}
{
 Name = CalAll
 Text = Calibrate all joysticks
 Type = Option
 Default = off
 Help = Calibrate all joysticks simultaneousely
 Enable = Enable,1
}
{
 Name = Mouse
 Text = Simulate mouse
 Type = Option
 Default = off
 Help = Use joystick to generate mouse movements
 Enable = Enable,1
}
{
 height = 20
}
{
 type = comment
 options = -border 2
 height = 280
 text = At present only the first joystick can be used as a mouse. Please note that the joystick has to be calibrated before it can be used as a mouse. Alternatively click the red flashing LED to fake joystick calibration.
 Enable = Mouse,1
}
{
 type = gap
 height = 2
}
{
 Type = Button
 Text = Open calibration window
 Width = 450
 Align = right
 Default = #Window Joystick
}

[Touch]

Icon = touch
Text = Touch screen
Short = Touch

{
 Name = Enable
 Text = Touch screen support
 Type = Option
 Default = on
 Help = Enable basic touch screen support
}
{
 Type = ruler
 Height = 20
}
{
 Name = Multi
 Text = Multi-finger touch
 Type = Option
 Default = Off
 Help = Enable multi-finger support on touch screen
}
{
 Name = FlipX
 Text = Mirror horizontal position
 Type = Option
 Default = Off
 Help  = Reverse horizontal pointer position
};
{
 Name = FlipY
 Text = Mirror vertical position
 Type = Option
 Default = Off
 Help  = Reverse vertical pointer position
}
{
 Type = ruler
 Height = 20
}
{
 type = comment
 options = -border 2
 height = 300
 text = This tab is reserved for future settings of the touch screen support module. At present only basic support for touch screens is provided.
}

[Install]

Icon = install
Text = Installation
Short = Install
Width = 132
Offset = 446
Help = <HID$Dir>.Help.inst.index/htm

{
 Name = USBHID
 Text = Use USBHID module
 Type = Option
 Default = on
 Help = Install the main USB HID Class driver
};
{
 Name = Configuration
 Text = Show in Configure
 Type = Option
 Default = off
 Help = Allow HID settings to be changed by double clicking on !Boot
 Enable = Location,1,2,3,4
}
{
 type = ruler
 height = 20
}
{
 Name = Location
 Text = Install
 Type = Radio
 Menu = Location;Uninstall|,0;Start !HID application in safe mode,1;Run !HID application automatically|,4;Install modules before desktop,2;Install modules after desktop,3
 Default = 1
 Help = Use the HID drivers manually or install them permanently
}
{
 type = ruler
 height = 20
}
Width = 180
{
 Name = InitDelay
 Text = Init delay
 Type = Slider
 Min = 0
 Max = 200
 Default = 20
 Size = 3
 Comment = cs
 Options = -value -border 2 -col red
 Help = Delay (cs) before initialising a device
}
{
 Name = Mute
 Text = Disable device during initialisation
 Type = Option
 Default = on
 Help = Don't allow device to generate interrupts during initialisation
 Legend =
}
{
 type = ruler
 height = 20
}
{
 Name = AutoSave
 Text = Auto save changes when saving Choices
 Type = Option
 Default = on
 Help = Save any outstanding changes prior to installing the software
}


