C# Class MouseApp2.FLipMouseGUI

Mostra file Open project: asterics/FLipMouse

Public Properties

Property Type Description
allCommands AllCommands
commandGuiLinks List
slots List
stringReceivedDelegate StringReceivedDelegate

Public Methods

Method Description
FLipMouseGUI ( ) : System
MyWindow_Closing ( object sender, FormClosedEventArgs e ) : void
WorkThreadFunction ( ) : void
displaySlot ( int slotNumber ) : void
drawRawValues ( String newValues ) : void
gotAT ( String newATCommand ) : void
gotEnd ( ) : void
gotID ( String newLine ) : void
gotIRCommandName ( String newIRCommandName ) : void
gotIRCommandRecorded ( String newIRCommandName ) : void
gotIRCommandTimeout ( String newIRCommandName ) : void
gotSlotNames ( String newSlotName ) : void
initCommandGuiLinks ( ) : void
initCommands ( ) : void
initSlots ( ) : void
loadSettingsFromFLipmouse ( ) : void
loadSettingsFromFile ( ) : void
saveSettingsToFile ( ) : void
sendApplyCommands ( ) : void
sendCalibrationCommand ( ) : void
sendClearCommand ( ) : void
sendClearIRCommand ( String commandName ) : void
sendEndReportingCommand ( ) : void
sendIDCommand ( ) : void
sendListIRCommand ( ) : void
sendLoadAllCommand ( ) : void
sendLoadSlotCommand ( String slotname ) : void
sendNextCommand ( ) : void
sendPlayIRCommand ( String commandName ) : void
sendRecordIRCommand ( String commandName ) : void
sendSaveSlotCommands ( String slotname ) : void
sendStartReportingCommand ( ) : void
storeSettingsToFLipmouse ( ) : void
storeSlot ( int slotNumber ) : void
stringReceived ( String newLine ) : void
timer_Tick ( object sender, EventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ApplyButton_Click ( object sender, EventArgs e ) : void
Button1ComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
Button1FunctionBox_SelectedIndexChanged_1 ( object sender, EventArgs e ) : void
Button2ComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
Button2FunctionBox_SelectedIndexChanged_1 ( object sender, EventArgs e ) : void
Button3ComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
Button3FunctionBox_SelectedIndexChanged_1 ( object sender, EventArgs e ) : void
Connect ( string portName ) : bool
DownComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
DownFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
IdTimer_Tick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LeftComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
LeftFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
LipmouseGUI_Load ( object sender, EventArgs e ) : void
PuffComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
PuffFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
RightComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
RightFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
SipComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
SipFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
StoreButton_Click ( object sender, EventArgs e ) : void
StrongPuffComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffDownComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffDownFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffLeftComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffLeftFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffRightComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffRightFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffUpComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongPuffUpFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipDownComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipDownFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipLeftComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipLeftFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipRightComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipRightFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipUpComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
StrongSipUpFunctionBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
UpComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
UpFunctionMenu_SelectedIndexChanged ( object sender, EventArgs e ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
accelerationBar_Scroll ( object sender, EventArgs e ) : void
addToLog ( String text ) : void
buildCommandString ( String cmdDescription, String stringParam, int intParam ) : String
calibration_Click ( object sender, EventArgs e ) : void
clearButton1_Click ( object sender, EventArgs e ) : void
clearButton2_Click ( object sender, EventArgs e ) : void
clearButton3_Click ( object sender, EventArgs e ) : void
clearButtonDown_Click ( object sender, EventArgs e ) : void
clearButtonLeft_Click ( object sender, EventArgs e ) : void
clearButtonPuff_Click ( object sender, EventArgs e ) : void
clearButtonRight_Click ( object sender, EventArgs e ) : void
clearButtonSip_Click ( object sender, EventArgs e ) : void
clearButtonStrongPuff_Click ( object sender, EventArgs e ) : void
clearButtonStrongSip_Click ( object sender, EventArgs e ) : void
clearButtonUp_Click ( object sender, EventArgs e ) : void
clearStrongPuffDown_Click ( object sender, EventArgs e ) : void
clearStrongPuffLeft_Click ( object sender, EventArgs e ) : void
clearStrongPuffRight_Click ( object sender, EventArgs e ) : void
clearStrongPuffUp_Click ( object sender, EventArgs e ) : void
clearStrongSipDown_Click ( object sender, EventArgs e ) : void
clearStrongSipLeft_Click ( object sender, EventArgs e ) : void
clearStrongSipRight_Click ( object sender, EventArgs e ) : void
clearStrongSipUp_Click ( object sender, EventArgs e ) : void
connectComButton_click ( object sender, EventArgs e ) : void
deadzoneBar_Scroll ( object sender, EventArgs e ) : void
deadzoneX_Scroll ( object sender, EventArgs e ) : void
deadzoneYBar_Scroll ( object sender, EventArgs e ) : void
decAcceleration_Click ( object sender, EventArgs e ) : void
decAcceleration_MouseHover ( object sender, EventArgs e ) : void
decDeadzoneX_Click ( object sender, EventArgs e ) : void
decDeadzoneX_MouseHover ( object sender, EventArgs e ) : void
decDeadzoneY_Click ( object sender, EventArgs e ) : void
decDeadzoneY_MouseHover ( object sender, EventArgs e ) : void
decDeadzone_Click ( object sender, EventArgs e ) : void
decDeadzone_MouseHover ( object sender, EventArgs e ) : void
decDownGain_Click ( object sender, EventArgs e ) : void
decDownGain_MouseHover ( object sender, EventArgs e ) : void
decLeftGain_Click ( object sender, EventArgs e ) : void
decLeftGain_MouseHover ( object sender, EventArgs e ) : void
decMaxspeed_Click ( object sender, EventArgs e ) : void
decMaxspeed_MouseHover ( object sender, EventArgs e ) : void
decPuffThreshold_Click ( object sender, EventArgs e ) : void
decPuffThreshold_MouseHover ( object sender, EventArgs e ) : void
decRightGain_Click ( object sender, EventArgs e ) : void
decRightGain_MouseHover ( object sender, EventArgs e ) : void
decSensX_Click ( object sender, EventArgs e ) : void
decSensX_MouseHover ( object sender, EventArgs e ) : void
decSensY_Click ( object sender, EventArgs e ) : void
decSensY_MouseHover ( object sender, EventArgs e ) : void
decSens_Click ( object sender, EventArgs e ) : void
decSens_MouseHover ( object sender, EventArgs e ) : void
decSipThreshold_Click ( object sender, EventArgs e ) : void
decSipThreshold_MouseHover ( object sender, EventArgs e ) : void
decStrongPuffThreshold_Click ( object sender, EventArgs e ) : void
decStrongPuffThreshold_MouseHover ( object sender, EventArgs e ) : void
decStrongSipThreshold_Click ( object sender, EventArgs e ) : void
decStrongSipThreshold_MouseHover ( object sender, EventArgs e ) : void
decUpGain_Click ( object sender, EventArgs e ) : void
decUpGain_MouseHover ( object sender, EventArgs e ) : void
deleteIRButton_Click ( object sender, EventArgs e ) : void
deleteSlotButton_Click ( object sender, EventArgs e ) : void
disconnect ( ) : void
disconnnectComButton_Click ( object sender, EventArgs e ) : void
downGainBar_Scroll ( object sender, EventArgs e ) : void
exitMenuItem_Click ( object sender, EventArgs e ) : void
incAcceleration_Click ( object sender, EventArgs e ) : void
incAcceleration_MouseHover ( object sender, EventArgs e ) : void
incDeadzoneX_Click ( object sender, EventArgs e ) : void
incDeadzoneX_MouseHover ( object sender, EventArgs e ) : void
incDeadzoneY_Click ( object sender, EventArgs e ) : void
incDeadzoneY_MouseHover ( object sender, EventArgs e ) : void
incDeadzone_Click ( object sender, EventArgs e ) : void
incDeadzone_MouseHover ( object sender, EventArgs e ) : void
incDownGain_Click ( object sender, EventArgs e ) : void
incDownGain_MouseHover ( object sender, EventArgs e ) : void
incLeftGain_Click ( object sender, EventArgs e ) : void
incLeftGain_MouseHover ( object sender, EventArgs e ) : void
incMaxspeed_Click ( object sender, EventArgs e ) : void
incMaxspeed_MouseHover ( object sender, EventArgs e ) : void
incPuffThreshold_Click ( object sender, EventArgs e ) : void
incPuffThreshold_MouseHover ( object sender, EventArgs e ) : void
incRightGain_Click ( object sender, EventArgs e ) : void
incRightGain_MouseHover ( object sender, EventArgs e ) : void
incSensX_Click ( object sender, EventArgs e ) : void
incSensX_MouseHover ( object sender, EventArgs e ) : void
incSensY_Click ( object sender, EventArgs e ) : void
incSensY_MouseHover ( object sender, EventArgs e ) : void
incSens_Click ( object sender, EventArgs e ) : void
incSens_MouseHover ( object sender, EventArgs e ) : void
incSipThreshold_Click ( object sender, EventArgs e ) : void
incSipThreshold_MouseHover ( object sender, EventArgs e ) : void
incSpecialThreshold_MouseHover ( object sender, EventArgs e ) : void
incStrongPuffThreshold_Click ( object sender, EventArgs e ) : void
incStrongSipThreshold_Click ( object sender, EventArgs e ) : void
incStrongSipThreshold_MouseHover ( object sender, EventArgs e ) : void
incUpGain_Click ( object sender, EventArgs e ) : void
incUpGain_MouseHover ( object sender, EventArgs e ) : void
leftGainBar_Scroll ( object sender, EventArgs e ) : void
loadFromFileMenuItem_Click ( object sender, EventArgs e ) : void
loadSlotSettingsMenuItem_Click ( object sender, EventArgs e ) : void
maxspeedBar_Scroll ( object sender, EventArgs e ) : void
newSlotButton_Click ( object sender, EventArgs e ) : void
nextSlotButton_Click ( object sender, EventArgs e ) : void
playIRButton_Click ( object sender, EventArgs e ) : void
portComboBox_Click ( object sender, EventArgs e ) : void
prevSlotButton_Click ( object sender, EventArgs e ) : void
puffThresholdBar_Scroll ( object sender, EventArgs e ) : void
recordIRButton_Click ( object sender, EventArgs e ) : void
rightGainBar_Scroll ( object sender, EventArgs e ) : void
saveToFileMenuItem_Click ( object sender, EventArgs e ) : void
selectAlternative_Checked ( object sender, EventArgs e ) : void
selectJoystick_CheckedChanged ( object sender, EventArgs e ) : void
selectStick_Checked ( object sender, EventArgs e ) : void
sendCmd ( string command ) : void
sensBar_Scroll ( object sender, EventArgs e ) : void
sensXBar_Scroll ( object sender, EventArgs e ) : void
sensYBar_Scroll ( object sender, EventArgs e ) : void
sipThresholdBar_Scroll ( object sender, EventArgs e ) : void
slotNames_SelectedIndexChanged ( object sender, EventArgs e ) : void
splitXYBox_CheckedChanged ( object sender, EventArgs e ) : void
stop_ClickTimer ( object sender, EventArgs e ) : void
storeSlotSettingsMenuItem_Click ( object sender, EventArgs e ) : void
strongPuffThresholdBar_Scroll ( object sender, EventArgs e ) : void
strongSipThresholdBar_Scroll ( object sender, EventArgs e ) : void
tabControl_SelectedIndexChanged ( object sender, EventArgs e ) : void
upGainBar_Scroll ( object sender, EventArgs e ) : void
updateComPorts ( ) : void
updateGangBars ( ) : void
updateKeyCodeParameter ( ComboBox cb, TextBox tb ) : void
updateVisibility ( string selectedFunction, TextBox tb, NumericUpDown nud, ComboBox cb, Label la, Button bu ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FLipMouseGUI() public method

public FLipMouseGUI ( ) : System
return System

MyWindow_Closing() public method

public MyWindow_Closing ( object sender, FormClosedEventArgs e ) : void
sender object
e FormClosedEventArgs
return void

WorkThreadFunction() public method

public WorkThreadFunction ( ) : void
return void

displaySlot() public method

public displaySlot ( int slotNumber ) : void
slotNumber int
return void

drawRawValues() public method

public drawRawValues ( String newValues ) : void
newValues String
return void

gotAT() public method

public gotAT ( String newATCommand ) : void
newATCommand String
return void

gotEnd() public method

public gotEnd ( ) : void
return void

gotID() public method

public gotID ( String newLine ) : void
newLine String
return void

gotIRCommandName() public method

public gotIRCommandName ( String newIRCommandName ) : void
newIRCommandName String
return void

gotIRCommandRecorded() public method

public gotIRCommandRecorded ( String newIRCommandName ) : void
newIRCommandName String
return void

gotIRCommandTimeout() public method

public gotIRCommandTimeout ( String newIRCommandName ) : void
newIRCommandName String
return void

gotSlotNames() public method

public gotSlotNames ( String newSlotName ) : void
newSlotName String
return void

initCommandGuiLinks() public method

public initCommandGuiLinks ( ) : void
return void

initCommands() public method

public initCommands ( ) : void
return void

initSlots() public method

public initSlots ( ) : void
return void

loadSettingsFromFLipmouse() public method

public loadSettingsFromFLipmouse ( ) : void
return void

loadSettingsFromFile() public method

public loadSettingsFromFile ( ) : void
return void

saveSettingsToFile() public method

public saveSettingsToFile ( ) : void
return void

sendApplyCommands() public method

public sendApplyCommands ( ) : void
return void

sendCalibrationCommand() public method

public sendCalibrationCommand ( ) : void
return void

sendClearCommand() public method

public sendClearCommand ( ) : void
return void

sendClearIRCommand() public method

public sendClearIRCommand ( String commandName ) : void
commandName String
return void

sendEndReportingCommand() public method

public sendEndReportingCommand ( ) : void
return void

sendIDCommand() public method

public sendIDCommand ( ) : void
return void

sendListIRCommand() public method

public sendListIRCommand ( ) : void
return void

sendLoadAllCommand() public method

public sendLoadAllCommand ( ) : void
return void

sendLoadSlotCommand() public method

public sendLoadSlotCommand ( String slotname ) : void
slotname String
return void

sendNextCommand() public method

public sendNextCommand ( ) : void
return void

sendPlayIRCommand() public method

public sendPlayIRCommand ( String commandName ) : void
commandName String
return void

sendRecordIRCommand() public method

public sendRecordIRCommand ( String commandName ) : void
commandName String
return void

sendSaveSlotCommands() public method

public sendSaveSlotCommands ( String slotname ) : void
slotname String
return void

sendStartReportingCommand() public method

public sendStartReportingCommand ( ) : void
return void

storeSettingsToFLipmouse() public method

public storeSettingsToFLipmouse ( ) : void
return void

storeSlot() public method

public storeSlot ( int slotNumber ) : void
slotNumber int
return void

stringReceived() public method

public stringReceived ( String newLine ) : void
newLine String
return void

timer_Tick() public method

public timer_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

allCommands public_oe property

public AllCommands allCommands
return AllCommands

commandGuiLinks public_oe static_oe property

public static List commandGuiLinks
return List

slots public_oe property

public List slots
return List

stringReceivedDelegate public_oe property

public StringReceivedDelegate stringReceivedDelegate
return StringReceivedDelegate