git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@57 8131a0b2-b21c-1c47-bd6a-f003126495bd
39 lines
1.2 KiB
INI
39 lines
1.2 KiB
INI
|
|
;###########################################################################
|
|
;# Global options section #
|
|
;###########################################################################
|
|
|
|
; port = <which Windows parallel port device to control>
|
|
port = LPT1
|
|
|
|
;###########################################################################
|
|
;# Entry section #
|
|
;###########################################################################
|
|
; Entry format:
|
|
; [Entry_Name]
|
|
; pin = <parallel port data line number to control> (required)
|
|
; on_start = <action upon program start>
|
|
; on_exit = <action upon program exit>
|
|
; on_lock = <action upon workstation lock event>
|
|
; on_unlock = <action upon workstation unlock event>
|
|
|
|
; Actions:
|
|
; on - turn the controller on
|
|
; off - turn the controller off
|
|
; none - do not change the controller (default if an event is unspecified)
|
|
; previous - only used for unlock events - restores state to what it was
|
|
; when the lock event ocurred
|
|
|
|
[Overhead Light]
|
|
pin = 7
|
|
on_start = on
|
|
on_exit = off
|
|
on_lock = off
|
|
on_unlock = on
|
|
|
|
[Fan]
|
|
pin = 6
|
|
on_exit = off
|
|
on_lock = off
|
|
on_unlock = previous
|