Free Software, Open Source Hardware keyboard controller. https://www.forksand.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

508 lines
12 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ft232_reign</class>
<widget class="QMainWindow" name="ft232_reign">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>795</width>
<height>598</height>
</rect>
</property>
<property name="windowTitle">
<string>ft232_reign</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QSpinBox" name="i2c_index">
<property name="geometry">
<rect>
<x>280</x>
<y>0</y>
<width>81</width>
<height>27</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Device index.&lt;/p&gt;&lt;p&gt;If only one device is connected, set zero.&lt;/p&gt;&lt;p&gt;If two or more devices are connected, index can be zero or non zero.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="prefix">
<string>Index </string>
</property>
<property name="maximum">
<number>10</number>
</property>
</widget>
<widget class="QSpinBox" name="i2c_clk">
<property name="geometry">
<rect>
<x>90</x>
<y>0</y>
<width>181</width>
<height>27</height>
</rect>
</property>
<property name="suffix">
<string> Hz</string>
</property>
<property name="prefix">
<string>Clockrate </string>
</property>
<property name="maximum">
<number>1000000</number>
</property>
<property name="value">
<number>100000</number>
</property>
<property name="displayIntegerBase">
<number>10</number>
</property>
</widget>
<widget class="QComboBox" name="i2c_port">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>71</width>
<height>27</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<property name="frame">
<bool>true</bool>
</property>
<item>
<property name="text">
<string>Port A</string>
</property>
</item>
<item>
<property name="text">
<string>Port B</string>
</property>
</item>
<item>
<property name="text">
<string>Port C</string>
</property>
</item>
<item>
<property name="text">
<string>Port D</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="connect">
<property name="geometry">
<rect>
<x>370</x>
<y>0</y>
<width>241</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QTextBrowser" name="log">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>771</width>
<height>281</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="i2c_write_data">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>601</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="i2c_length">
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>141</width>
<height>27</height>
</rect>
</property>
<property name="prefix">
<string>Length </string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000</number>
</property>
<property name="value">
<number>1000</number>
</property>
</widget>
<widget class="QSpinBox" name="i2c_adress">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>121</width>
<height>27</height>
</rect>
</property>
<property name="prefix">
<string>Adress 0x</string>
</property>
<property name="maximum">
<number>127</number>
</property>
<property name="value">
<number>52</number>
</property>
<property name="displayIntegerBase">
<number>16</number>
</property>
</widget>
<widget class="QPushButton" name="i2c_write">
<property name="geometry">
<rect>
<x>290</x>
<y>80</y>
<width>99</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>TX</string>
</property>
</widget>
<widget class="QPushButton" name="i2c_read">
<property name="geometry">
<rect>
<x>400</x>
<y>80</y>
<width>99</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>RX</string>
</property>
</widget>
<widget class="QPushButton" name="read_i2c_hid_desc">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>151</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Read I2C HID Desc</string>
</property>
</widget>
<widget class="QPushButton" name="read_hid_report_desc">
<property name="geometry">
<rect>
<x>180</x>
<y>130</y>
<width>181</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Read HID Report Desc</string>
</property>
</widget>
<widget class="QPushButton" name="read_input_report_int">
<property name="geometry">
<rect>
<x>380</x>
<y>160</y>
<width>231</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Read Input Report (Interrupt)</string>
</property>
</widget>
<widget class="QPushButton" name="read_input_report_cmd">
<property name="geometry">
<rect>
<x>380</x>
<y>190</y>
<width>231</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Read Input Report (Command)</string>
</property>
</widget>
<widget class="QComboBox" name="com_list">
<property name="geometry">
<rect>
<x>650</x>
<y>0</y>
<width>85</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="reflesh_com">
<property name="geometry">
<rect>
<x>750</x>
<y>0</y>
<width>31</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
<widget class="QPushButton" name="com_connect">
<property name="geometry">
<rect>
<x>650</x>
<y>50</y>
<width>131</width>
<height>27</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This com must be in port B (port A is for I2C)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QComboBox" name="com_int_line">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>650</x>
<y>80</y>
<width>131</width>
<height>27</height>
</rect>
</property>
<item>
<property name="text">
<string>DSR (44-BD5)</string>
</property>
</item>
<item>
<property name="text">
<string>DCD (45-BD6)</string>
</property>
</item>
<item>
<property name="text">
<string>CTS (41-BD3)</string>
</property>
</item>
</widget>
<widget class="QPushButton" name="read_input_report_reg">
<property name="geometry">
<rect>
<x>380</x>
<y>220</y>
<width>231</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Read Input Report (From reg)</string>
</property>
</widget>
<widget class="QCheckBox" name="NUM">
<property name="geometry">
<rect>
<x>110</x>
<y>170</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>NUM</string>
</property>
</widget>
<widget class="QCheckBox" name="CAPS">
<property name="geometry">
<rect>
<x>190</x>
<y>170</y>
<width>71</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>CAPS</string>
</property>
</widget>
<widget class="QCheckBox" name="SCROOL">
<property name="geometry">
<rect>
<x>270</x>
<y>170</y>
<width>91</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>SCROOL</string>
</property>
</widget>
<widget class="QPushButton" name="write_output_report_cmd">
<property name="geometry">
<rect>
<x>110</x>
<y>220</y>
<width>251</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Write Output Report (Command)</string>
</property>
</widget>
<widget class="QPushButton" name="write_output_report_reg">
<property name="geometry">
<rect>
<x>110</x>
<y>190</y>
<width>251</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Write Output Report (To reg)</string>
</property>
</widget>
<widget class="QPushButton" name="cmd_reset">
<property name="geometry">
<rect>
<x>10</x>
<y>160</y>
<width>81</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Reset</string>
</property>
</widget>
<widget class="QPushButton" name="cmd_sleep">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>81</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Pwr Sleep</string>
</property>
</widget>
<widget class="QPushButton" name="cmd_pwr_on">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<width>81</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Pwr On</string>
</property>
</widget>
<widget class="QCheckBox" name="en_int_evt">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>650</x>
<y>110</y>
<width>131</width>
<height>22</height>
</rect>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enables input report request when Interrupt occurs&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>En. INT event</string>
</property>
</widget>
<widget class="QLabel" name="label_int">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>650</x>
<y>160</y>
<width>121</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>INT ON (GND)</string>
</property>
</widget>
<widget class="QPushButton" name="clr_log">
<property name="geometry">
<rect>
<x>650</x>
<y>186</y>
<width>131</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string>CLEAR LOG</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>795</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>