/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | guab.cpp | 75 m_leds(*this, "led_%u", 0U), in guab_state() 114 output_finder<48> m_leds; member in guab_state 301 m_leds.resolve(); in machine_start() 346 m_leds[2] = BIT(data, 2); in output1_w() 347 m_leds[3] = BIT(data, 3); in output1_w() 348 m_leds[4] = BIT(data, 4); in output1_w() 349 m_leds[5] = BIT(data, 5); in output1_w() 351 m_leds[7] = BIT(data, 7); in output1_w() 356 m_leds[8] = BIT(data, 0); in output2_w() 357 m_leds[9] = BIT(data, 1); in output2_w() [all …]
|
H A D | cz101.cpp | 40 m_leds(*this, "led_%u", 0U), in cz101_state() 58 output_finder<32> m_leds; member in cz101_state 269 m_leds[0] = BIT(data, 7) ? 0 : 1; in led_4_w() 270 m_leds[1] = BIT(data, 6) ? 0 : 1; in led_4_w() 271 m_leds[2] = BIT(data, 5) ? 0 : 1; in led_4_w() 272 m_leds[3] = BIT(data, 4) ? 0 : 1; in led_4_w() 273 m_leds[4] = BIT(data, 3) ? 0 : 1; in led_4_w() 274 m_leds[5] = BIT(data, 2) ? 0 : 1; in led_4_w() 275 m_leds[6] = BIT(data, 1) ? 0 : 1; in led_4_w() 276 m_leds[7] = BIT(data, 0) ? 0 : 1; in led_4_w() [all …]
|
H A D | splus.cpp | 54 , m_leds(*this, "s_bnk%u%u", 0U, 0U) in splus_state() 121 m_leds.resolve(); in machine_start() 140 output_finder<5,8> m_leds; member in splus_state 266 m_leds[1][1] = BIT(data, 1); // Coin Out Meter in splus_serial_w() 267 m_leds[1][2] = BIT(data, 2); // Coin In Meter in splus_serial_w() 269 m_leds[1][4] = BIT(data, 4); // Hopper Drive 2 in splus_serial_w() 288 m_leds[2][0] = BIT(data, 0); // Payline Lamp 3 in splus_serial_w() 289 m_leds[2][1] = BIT(data, 1); // Payline Lamp 4 in splus_serial_w() 290 m_leds[2][2] = BIT(data, 2); // Payline Lamp 5 in splus_serial_w() 317 m_leds[3][3] = BIT(data, 3); // Diverter in splus_serial_w() [all …]
|
H A D | m68705prg.cpp | 49 , m_leds(*this, "led%u", 0U) in m68705prg_state_base() 100 m_leds.resolve(); in machine_start() 125 output_finder<4> m_leds; member in __anon96a8dd670111::m68705prg_state_base 163 m_leds[0] = !BIT(data, 2); in pb_w() 164 m_leds[1] = !BIT(data, 1); in pb_w() 165 m_leds[3] = !BIT(data, 0) && BIT(m_sw->read(), 1); in pb_w() 185 m_leds[2] = 1; in machine_reset() 186 m_leds[3] = 0; in machine_reset() 212 m_leds[2] = reset; in TIMER_CALLBACK_MEMBER() 213 m_leds[3] = vpp; in TIMER_CALLBACK_MEMBER()
|
H A D | tourtabl.cpp | 27 m_leds(*this, "led%u", 0U) in tourtabl_state() 33 virtual void machine_start() override { m_leds.resolve(); } in machine_start() 40 output_finder<4> m_leds; member in tourtabl_state 49 m_leds[0] = BIT(data, 6); /* start 1 */ in tourtabl_led_w() 50 m_leds[1] = BIT(data, 5); /* start 2 */ in tourtabl_led_w() 51 m_leds[2] = BIT(data, 4); /* start 4 */ in tourtabl_led_w() 52 m_leds[3] = BIT(data, 7); /* select game */ in tourtabl_led_w()
|
H A D | chessmst.cpp | 46 m_leds(*this, "led_%c%u", unsigned('a'), 1U), in chessmst_state() 86 output_finder<10, 8> m_leds; member in chessmst_state 188 m_leds.resolve(); in PORT_CODE() 224 if (BIT(m_led_sel, 0)) m_leds[0][row] = BIT(data, 7 - row); in pio1_port_a_w() 225 if (BIT(m_led_sel, 1)) m_leds[1][row] = BIT(data, 7 - row); in pio1_port_a_w() 226 if (BIT(m_led_sel, 2)) m_leds[2][row] = BIT(data, 7 - row); in pio1_port_a_w() 227 if (BIT(m_led_sel, 3)) m_leds[3][row] = BIT(data, 7 - row); in pio1_port_a_w() 228 if (BIT(m_led_sel, 4)) m_leds[4][row] = BIT(data, 7 - row); in pio1_port_a_w() 229 if (BIT(m_led_sel, 5)) m_leds[5][row] = BIT(data, 7 - row); in pio1_port_a_w() 230 if (BIT(m_led_sel, 6)) m_leds[6][row] = BIT(data, 7 - row); in pio1_port_a_w() [all …]
|
H A D | spg2xx_playvision.cpp | 20 m_leds(*this, "led%u", 0U) in pvmil_state() 40 output_finder<4> m_leds; member in pvmil_state 48 m_leds.resolve(); in machine_start() 158 m_leds[0] = (m_portcdata & 0x0080) ? 0 : 1; in portc_w() 159 m_leds[1] = (m_portcdata & 0x0100) ? 0 : 1; in portc_w() 160 m_leds[2] = (m_portcdata & 0x0200) ? 0 : 1; in portc_w() 161 m_leds[3] = (m_portcdata & 0x0400) ? 0 : 1; in portc_w()
|
H A D | thedealr.cpp | 53 m_leds(*this, "led%u", 0U) in thedealr_state() 90 output_finder<8> m_leds; member in thedealr_state 172 m_leds[0] = BIT(data, 0); // bet in iox_w() 173 m_leds[1] = BIT(data, 1); // deal in iox_w() 174 m_leds[2] = BIT(data, 2); in iox_w() 175 m_leds[3] = BIT(data, 3); in iox_w() 176 m_leds[4] = BIT(data, 4); // hold 1-5? in iox_w() 177 m_leds[5] = BIT(data, 5); in iox_w() 178 m_leds[6] = BIT(data, 6); in iox_w() 179 m_leds[7] = BIT(data, 7); in iox_w() [all …]
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | guab.cpp | 75 m_leds(*this, "led_%u", 0U), in guab_state() 114 output_finder<48> m_leds; member in guab_state 301 m_leds.resolve(); in machine_start() 346 m_leds[2] = BIT(data, 2); in output1_w() 347 m_leds[3] = BIT(data, 3); in output1_w() 348 m_leds[4] = BIT(data, 4); in output1_w() 349 m_leds[5] = BIT(data, 5); in output1_w() 351 m_leds[7] = BIT(data, 7); in output1_w() 356 m_leds[8] = BIT(data, 0); in output2_w() 357 m_leds[9] = BIT(data, 1); in output2_w() [all …]
|
H A D | cz101.cpp | 40 m_leds(*this, "led_%u", 0U), in cz101_state() 58 output_finder<32> m_leds; member in cz101_state 269 m_leds[0] = BIT(data, 7) ? 0 : 1; in led_4_w() 270 m_leds[1] = BIT(data, 6) ? 0 : 1; in led_4_w() 271 m_leds[2] = BIT(data, 5) ? 0 : 1; in led_4_w() 272 m_leds[3] = BIT(data, 4) ? 0 : 1; in led_4_w() 273 m_leds[4] = BIT(data, 3) ? 0 : 1; in led_4_w() 274 m_leds[5] = BIT(data, 2) ? 0 : 1; in led_4_w() 275 m_leds[6] = BIT(data, 1) ? 0 : 1; in led_4_w() 276 m_leds[7] = BIT(data, 0) ? 0 : 1; in led_4_w() [all …]
|
H A D | splus.cpp | 54 , m_leds(*this, "s_bnk%u%u", 0U, 0U) in splus_state() 121 m_leds.resolve(); in machine_start() 140 output_finder<5,8> m_leds; member in splus_state 266 m_leds[1][1] = BIT(data, 1); // Coin Out Meter in splus_serial_w() 267 m_leds[1][2] = BIT(data, 2); // Coin In Meter in splus_serial_w() 269 m_leds[1][4] = BIT(data, 4); // Hopper Drive 2 in splus_serial_w() 288 m_leds[2][0] = BIT(data, 0); // Payline Lamp 3 in splus_serial_w() 289 m_leds[2][1] = BIT(data, 1); // Payline Lamp 4 in splus_serial_w() 290 m_leds[2][2] = BIT(data, 2); // Payline Lamp 5 in splus_serial_w() 317 m_leds[3][3] = BIT(data, 3); // Diverter in splus_serial_w() [all …]
|
H A D | m68705prg.cpp | 49 , m_leds(*this, "led%u", 0U) in m68705prg_state_base() 100 m_leds.resolve(); in machine_start() 125 output_finder<4> m_leds; member in __anon50572c8f0111::m68705prg_state_base 163 m_leds[0] = !BIT(data, 2); in pb_w() 164 m_leds[1] = !BIT(data, 1); in pb_w() 165 m_leds[3] = !BIT(data, 0) && BIT(m_sw->read(), 1); in pb_w() 185 m_leds[2] = 1; in machine_reset() 186 m_leds[3] = 0; in machine_reset() 212 m_leds[2] = reset; in TIMER_CALLBACK_MEMBER() 213 m_leds[3] = vpp; in TIMER_CALLBACK_MEMBER()
|
H A D | tourtabl.cpp | 27 m_leds(*this, "led%u", 0U) in tourtabl_state() 33 virtual void machine_start() override { m_leds.resolve(); } in machine_start() 40 output_finder<4> m_leds; member in tourtabl_state 49 m_leds[0] = BIT(data, 6); /* start 1 */ in tourtabl_led_w() 50 m_leds[1] = BIT(data, 5); /* start 2 */ in tourtabl_led_w() 51 m_leds[2] = BIT(data, 4); /* start 4 */ in tourtabl_led_w() 52 m_leds[3] = BIT(data, 7); /* select game */ in tourtabl_led_w()
|
H A D | chessmst.cpp | 46 m_leds(*this, "led_%c%u", unsigned('a'), 1U), in chessmst_state() 86 output_finder<10, 8> m_leds; member in chessmst_state 188 m_leds.resolve(); in PORT_CODE() 224 if (BIT(m_led_sel, 0)) m_leds[0][row] = BIT(data, 7 - row); in pio1_port_a_w() 225 if (BIT(m_led_sel, 1)) m_leds[1][row] = BIT(data, 7 - row); in pio1_port_a_w() 226 if (BIT(m_led_sel, 2)) m_leds[2][row] = BIT(data, 7 - row); in pio1_port_a_w() 227 if (BIT(m_led_sel, 3)) m_leds[3][row] = BIT(data, 7 - row); in pio1_port_a_w() 228 if (BIT(m_led_sel, 4)) m_leds[4][row] = BIT(data, 7 - row); in pio1_port_a_w() 229 if (BIT(m_led_sel, 5)) m_leds[5][row] = BIT(data, 7 - row); in pio1_port_a_w() 230 if (BIT(m_led_sel, 6)) m_leds[6][row] = BIT(data, 7 - row); in pio1_port_a_w() [all …]
|
H A D | spg2xx_playvision.cpp | 20 m_leds(*this, "led%u", 0U) in pvmil_state() 40 output_finder<4> m_leds; member in pvmil_state 48 m_leds.resolve(); in machine_start() 158 m_leds[0] = (m_portcdata & 0x0080) ? 0 : 1; in portc_w() 159 m_leds[1] = (m_portcdata & 0x0100) ? 0 : 1; in portc_w() 160 m_leds[2] = (m_portcdata & 0x0200) ? 0 : 1; in portc_w() 161 m_leds[3] = (m_portcdata & 0x0400) ? 0 : 1; in portc_w()
|
/dports/comms/cutecom/cutecom-cce2e5ec01df09ca4b05f055f21942e0de7eb7dd/ |
H A D | netproxyplugin.cpp | 67 m_leds = new NetActLed *[NetProxySettings::en_led::NUMBER_OF_LEDS] { in NetProxyPlugin() 77 if ((m_leds[i]->m_index != NetProxySettings::en_led::LED_UDP_EN) in NetProxyPlugin() 78 && (m_leds[i]->m_index != NetProxySettings::en_led::LED_TCP_EN)) { in NetProxyPlugin() 79 m_leds[i]->m_tmr = new QTimer(m_leds[i]); in NetProxyPlugin() 80 connect(m_leds[i]->m_tmr, &QTimer::timeout, this, &NetProxyPlugin::tmrInterrupt); in NetProxyPlugin() 132 m_leds[led]->m_icon->setPixmap(LED_GREEN); in ledSetValue() 134 m_leds[led]->m_icon->setPixmap(LED_GRAY); in ledSetValue() 137 m_leds[led]->m_tmr->start(NetActLed::LED_INTERVAL_MS); in ledSetValue()
|
/dports/audio/lmms/lmms-1.2.2/src/gui/widgets/ |
H A D | CPULoadWidget.cpp | 40 m_leds( embed::getIconPixmap( "cpuload_leds" ) ), in CPULoadWidget() 78 int w = ( m_leds.width() * m_currentLoad / 300 ) * 3; in paintEvent() 81 p.drawPixmap( 23, 3, m_leds, 0, 0, w, in paintEvent() 82 m_leds.height() ); in paintEvent()
|
/dports/x11-toolkits/kf5-kguiaddons/kguiaddons-5.89.0/tests/ |
H A D | kmodifierkeyinfotest.cpp | 60 QMap<Qt::Key, Triple<QCheckBox *, QCheckBox *, QCheckBox *>> m_leds; member in TestWidget 106 … m_leds.insert(it.key(), Triple<QCheckBox *, QCheckBox *, QCheckBox *>(pressed, latched, locked)); in TestWidget() 139 if (m_leds.contains(key)) { in keyPressed() 140 m_leds[key].first->setChecked(pressed); in keyPressed() 146 if (m_leds.contains(key)) { in keyLatched() 147 m_leds[key].second->setChecked(latched); in keyLatched() 153 if (m_leds.contains(key)) { in keyLocked() 154 m_leds[key].third->setChecked(locked); in keyLocked()
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/sgikbd/ |
H A D | hlekbd.cpp | 171 , m_leds(*this, "led%u", 0U) in hle_device() 203 m_leds.resolve(); in device_start() 234 m_leds[LED_NUM] = 0; in device_reset() 235 m_leds[LED_CAPS] = 0; in device_reset() 236 m_leds[LED_SCROLL] = 0; in device_reset() 237 m_leds[LED_USER1] = 0; in device_reset() 238 m_leds[LED_USER2] = 0; in device_reset() 239 m_leds[LED_USER3] = 0; in device_reset() 240 m_leds[LED_USER4] = 0; in device_reset() 395 m_leds[LED_NUM] = BIT(m_led_state, LED_NUM); in received_byte() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/sgikbd/ |
H A D | hlekbd.cpp | 171 , m_leds(*this, "led%u", 0U) in hle_device() 203 m_leds.resolve(); in device_start() 234 m_leds[LED_NUM] = 0; in device_reset() 235 m_leds[LED_CAPS] = 0; in device_reset() 236 m_leds[LED_SCROLL] = 0; in device_reset() 237 m_leds[LED_USER1] = 0; in device_reset() 238 m_leds[LED_USER2] = 0; in device_reset() 239 m_leds[LED_USER3] = 0; in device_reset() 240 m_leds[LED_USER4] = 0; in device_reset() 395 m_leds[LED_NUM] = BIT(m_led_state, LED_NUM); in received_byte() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/machine/ |
H A D | esqlcd.cpp | 229 m_leds[DisplayCode] = LedState; in write_char() 310 m_leds(*this, "rLed_%u", 0U) in esq2x16_sq1_device() 334 m_leds.resolve(); in device_start() 341 for (auto &led : m_leds) led = 0; in device_reset() 348 for (auto &led : m_leds) led = 0; in lcd_reset()
|
/dports/emulators/mame/mame-mame0226/src/mame/machine/ |
H A D | esqlcd.cpp | 229 m_leds[DisplayCode] = LedState; in write_char() 310 m_leds(*this, "rLed_%u", 0U) in esq2x16_sq1_device() 334 m_leds.resolve(); in device_start() 341 for (auto &led : m_leds) led = 0; in device_reset() 348 for (auto &led : m_leds) led = 0; in lcd_reset()
|
/dports/devel/lokalize/lokalize-21.12.3/src/ |
H A D | editorview.cpp | 78 , m_leds(nullptr) in EditorView() 145 if (m_leds) m_leds->setVisible(Settings::leds()); in settingsChanged() 147 m_leds = new LedsWidget(this); in settingsChanged() 148 insertWidget(2, m_leds); in settingsChanged() 149 …connect(m_targetTextEdit, &TranslationUnitTextEdit::cursorPositionChanged, m_leds, &LedsWidget::cu… in settingsChanged() 150 …connect(m_targetTextEdit, &TranslationUnitTextEdit::nonApprovedEntryDisplayed, m_leds->ledFuzzy, &… in settingsChanged() 151 …connect(m_targetTextEdit, &TranslationUnitTextEdit::approvedEntryDisplayed, m_leds->ledFuzzy, &KLe… in settingsChanged() 152 …connect(m_targetTextEdit, &TranslationUnitTextEdit::untranslatedEntryDisplayed, m_leds->ledUntr, &… in settingsChanged() 153 …connect(m_targetTextEdit, &TranslationUnitTextEdit::translatedEntryDisplayed, m_leds->ledUntr, &KL… in settingsChanged()
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/ieee488/ |
H A D | hp9122c.cpp | 29 m_leds{*this, "led%d", 0U}, 78 m_leds.resolve(); in device_start() 300 m_leds[2] = (data & 0x40) ? true : false; in cmd_w() 307 m_leds[0] = true; in cmd_w() 308 m_leds[1] = false; in cmd_w() 314 m_leds[0] = false; in cmd_w() 315 m_leds[1] = true; in cmd_w() 318 m_leds[0] = false; in cmd_w() 319 m_leds[1] = false; in cmd_w()
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/ieee488/ |
H A D | hp9122c.cpp | 29 m_leds{*this, "led%d", 0U}, 78 m_leds.resolve(); in device_start() 300 m_leds[2] = (data & 0x40) ? true : false; in cmd_w() 307 m_leds[0] = true; in cmd_w() 308 m_leds[1] = false; in cmd_w() 314 m_leds[0] = false; in cmd_w() 315 m_leds[1] = true; in cmd_w() 318 m_leds[0] = false; in cmd_w() 319 m_leds[1] = false; in cmd_w()
|