ibuss.ini - ibus configuration file
lines 11 and 17 from bottom is my settings to send "u" keyboard key for volume up and "d" key for volume down. When I press any button on my steering wheel and centrafuse is minimized at that moment, it immideately goes to full screen but no volume changes happen. Please help.
; IBUS Communication Manager.
; Configuration File.
; Franck Touanen, September 2003.
;
ftouanen@yahoo.fr
; V1.0.
;
; General IBUSCOMM Setting
[Settings]
; IBusComm can be totally invisible...
SetVisible=true
SetMinimized=True
;SetBackGround=True <-TODO
; COM port. 1 means COM1. 2 means COM2...
ComPort=1
; Contention Management
;
; IBusCOMM is able to manage contention problems by testing the bus line before sending
; a message to another device.
;
; 0 : By software (simple Interface 1/2)
; 1 : CTS/RTS (T.Woods or Melexis chips based interfaces). NOT CURRENTLY SUPPORTED.
; 2 : RING High (Simpe Interface 3)NOT CURRENTLY SUPPORTED.
; 3 : CTS High " NOT CURRENTLY SUPPORTED.
; 4 : CD High "NOT CURRENTLY SUPPORTED.
; 5 : DSR High "NOT CURRENTLY SUPPORTED.
;
; 0 mode is a pure software contention detection, working enough well if you already have
; a basic interface.
; 1 mode is a hardware contention management.
; 2 to 5 is a mix beetween hardware and software, more accurate than the 0 mode as it works at
; a bit resolution rather than character resolution.
;
ContentionManagement=0
; Switched Line
;
; The switched line can be used to activate a relay to switch on for example, the
; video line to the PC and the Navigation computer.
;
; 0 : No switched line used
; 1 : RTS line used
; 2 : DTR line used
;
; A ProcessEvent=Enable will set the line to HIGH.
; A ProcessEvent=Disable will set the line to LOW.
; Status is LOW by default.
;
SwitchedLine=0
; Time for shutdown in minutes
; This will trig the Shutdown event.
IBusIdleTime=100
; Time between 2 IBus messages in miliseconds.
; Used if no contention detection hardware (mode 0)
; Usually set to 11 millisecs.
InterMsgDelay=11
; Activate LogMode. Reset each 500 events.
LogMode=True
; Synchronize PC Clock and OBC Clock every 5 minutes
; Note : The PC is master and set the OBC clock.NOT CURRENTLY SUPPORTED.
SYnchronizeClock=
; Application to send event to (Windows Title)
; Note that application must be started before IBusComm in that case.
AppCaptionSendEventTo="Centrafuse"
; Force Application to ForeGround ID (only when using AppCaptionSendEventTo)
; Sometimes, it is necessary to force the application to foreground, as some windows application
; can keep focus.
AppForceForeGround=BUT_TAPEDOLBY_PRESS
; The following parameter will make IBUSCOMM to set the focus to the application window each time
; a message is detected and a keyboard event has to be sent.
AppForceForeGroundOnEvent=true
; Startup Process Events state when detecting message
; False by default (except system messages)
ProcessEvents=true
; Urgent REBOOT message ID;
; When the system needs to be rebooted, specify the IBus ID here.
; The reboot action will BE the first action processed for the Event, so
; all others actions specified will be ignored.
UrgentReboot=BUT_TAPEREV_HOLD
[AppEventsDefine]
PLAY=1
STOP=2
PAUSE=3
FAST_FORWARD=4
FAST_BACkWARD=5
NEXT_SONG=7
PREV_SONG=8
NEXT_ALBUM=9
PREV_ALBUM=10
; ---------------------------------------------------------------------------------------------------
;
; Message definition syntax
;
; [ID:<Message ID>], MsgTemplate=<MsgTemplate>, Label=<Label>, Parse=<0/1>
;
; IBus Message ID : This ID is one the IBUS ID known by the IBUS COM module.
;
; MsgTemplate : The message template. wildcard "XX" can be used to replace
; : a specific character for variable content messages.
; : If wildcars are used, set the checksum byte to XX also.
;
; Message Label : A clear text for debuging session, or monitoring.
;
; Parse : If 0 (default), the message is not parsed by IBUSCOM (but can be sent)
; : If the message MsgTemplate is empty, Parse will be forced to 0.
; : If 1 the message is parsed and generate an event.
;
; System : If True, then the message is always processed, whatever is the state of ProcessEvents
;
;
; KeyBoardMap : If Set, Generate the keystroke sequence when ID recognized
;
; ProcessEvents : If set to "Disable", then IBuscomm will stop to send ReplyMsg, & Events + keystrokes
; : to the application Until a message with ProcessEvents "Enable"s again (flip/flop).
; : When IBusComm is launched, initial state of ProcessEvents is can be set in the main section.
;
; ReplyMsgID : If Set to a valid ID, will send the message <ID> on the bus
; : Message wil be sent only if no XX wildcards contained.
;
; ButtonState : If Set to true, the PRESSED state will be managed automatically.
; : The ReleaseID value must be set with a valid ID for this parameter.
;
; ButtonReleaseID : If set to a valid ID, will wait the msg ID before processing
; : This can be used especially when a button PRESS/HOLD state is needed.
;
; WMUserEvent : If a windows message has to be sent also.
;
; About Keystrokes definition (keyboardMap) :
;
; Each key is represented by one or more characters.
; To specify a single keyboard character, use the character itself.
; For example, to represent the letter A, use "A" for string.
; To represent more than one character, append each additional character to the one preceding it.
; To represent the letters A, B, and C, use "ABC" for string.
: The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses ( ) have special
; meanings to SendKeys.
; To specify one of these characters, enclose it within braces ({}).
; For example, to specify the plus sign, use {+}. Brackets ([ ]) have no special meaning to SendKeys,
; but you must enclose them in braces. In other applications, brackets do have a special meaning that
; may be significant when dynamic data exchange (DDE) occurs. To specify brace characters,
; use {{} and {}}.
; To specify characters that aren't displayed when you press a key, such as ENTER or TAB,
; and keys that represent actions rather than characters, use the codes shown below:
;
; BACKSPACE {BACKSPACE}, {BS}, or {BKSP} BREAK {BREAK}
; CAPS LOCK {CAPSLOCK} DEL or DELETE {DELETE} or {DEL}
; DOWN ARROW {DOWN} END {END}
; ENTER {ENTER}or ~ ESC {ESC}
; HELP {HELP} HOME {HOME}
; INS or INSERT {INSERT} or {INS} LEFT ARROW {LEFT}
; NUM LOCK {NUMLOCK} PAGE DOWN {PGDN}
; PAGE UP {PGUP} PRINT SCREEN {PRTSC}
; RIGHT ARROW {RIGHT} SCROLL LOCK {SCROLLLOCK}
; TAB {TAB} UP ARROW {UP}
; F1 {F1} F2 {F2}
; F3 {F3} F4 {F4}
; F5 {F5} F6 {F6}
; F7 {F7} F8 {F8}
; F9 {F9} F10 {F10}
; F11 {F11} F12 {F12}
; F13 {F13} F14 {F14}
; F15 {F15} F16 {F16}
;
; To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys,
; precede the key code with one or more of the following codes:
;
; SHIFT + CTRL ^ ALT %
;
; To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys
; are pressed, enclose the code for those keys in parentheses.
; For example, to specify to hold down SHIFT while E and C are pressed, use "+(EC)".
; To specify to hold down SHIFT while E is pressed, followed by C without SHIFT, use "+EC".
;
; To specify repeating keys, use the form {key number}. You must put a space between key and number.
; For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press H 10 times.
;
; Note SendKeys can't send keystrokes to an application that is not designed to run in Microsoft Windows.
; Sendkeys also can't send the PRINT SCREEN key {PRTSC} to any application.
; ; IBUS Messages --------------------------------------------------------
;
; -------------------------------------------------------------------------
; ID declaration
; Syntax is <Id name>=Id # (a byte from 0 to 255)
; -------------------------------------------------------------------------
[IBusIdsDefine]
; - - - - - - - - - - - - - - -
; Message from 0 to 5 are reserved.
IBUS_IDLE=0
IBUS_SHUTDOWN=1
RESERVED_2=2
RESERVED_3=3
RESERVED_4=4
RESERVED_5=5
; - - - - - - - - - - - - - - -
STW_NEXT_PRES=157
STW_PREV_PRES=158
STW_PLUS_PRES=159
STW_MINUS_PRES=160
STW_PHONE_PRES=161
STW_RT_PRES=162
TEXT_MSGCD=200
; Messages to send when IBusComm starts up
; Syntaxe is : Message Id=True || False.
; False means do not send
; TO DO !
; -------------------------------------------------------------------------
[StartupIds]
CD_ANNOUNCE=True
; -------------------------------------------------------------------------
; Internal Messages
[ID:IBUS_IDLE]
Label="IBus Idle"
System=True
[ID:IBUS_SHUTDOWN]
Label="IBus ShutDown"
System=True
KeyBoardMap="^{F12}"
; -------------------------------------------------------------------------
; Steering Wheel ----------------------------------------------------------
;
[ID:STW_PREV_PRES]
MsgTemplate="5004683B080F"
Label="S. Wheel < Press"
Parse=True
KeyboardMap="RRPREV"
[ID:STW_NEXT_PRES]
MsgTemplate="5004683B0106"
Label="S. Wheel > Press"
Parse=True
KeyboardMap="RRNEXT"
[ID:STW_PLUS_PRES]
MsgTemplate="50046832111F"
Label="S. Wheel + Press"
Parse=True
KeyboardMap="u"
[ID:STW_MINUS_PRES]
MsgTemplate="50046832101E"
Label="S. Wheel - Press"
Parse=True
KeyboardMap="d"
[ID:STW_PHONE_PRES]
MsgTemplate="5004C83B8027"
Label="S. Wheel phone Press"
Parse=True
KeyboardMap="MUTE"
[ID:STW_RT_PRES]
MsgTemplate="5003C8019A"
Label="S. Wheel - Press"
Parse=True
KeyboardMap="PLAY"