summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/natkeyboard.cpp
Commit message (Expand)AuthorAgeFilesLines
* Eliminate ARRAY_LENGTH template in favor of C++17's std::size AJR2021-02-141-3/+3
* -Qt debugger updates: Vas Crabb2021-01-281-2/+4
* Much more core std::string_view modernization AJR2021-01-201-0/+2
* unicode.h: Updates AJR2020-12-151-0/+1
* natkeyboard: Fix natural mods for pc_keyboard & at_keyboard devices; add more... AJR2020-10-151-1/+7
* emu/natkeyboard.cpp: Fixed uninitialised variable. Vas Crabb2020-10-141-0/+1
* emu/ioport.cpp: Improved initial keyboard enable settings when changing slot ... Vas Crabb2020-10-111-0/+1
* -emu/natkeyboard.cpp: Allow keyboard devices to be enabled/disabled. Vas Crabb2020-10-111-66/+162
* Slotified Mac 128k/512k/512ke/Plus keyboard port. Vas Crabb2020-07-011-4/+14
* -bus/coco/coco_ram.cpp: fix a rather obvious bug in shift/mask Vas Crabbpre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bb
* input_sdl: Process control characters so that the natural keyboard can see th... AJR2020-01-101-17/+20
* Merge pull request #5614 from npwoods/natkeyboard_std_array R. Belmont2019-09-111-7/+4
|\
| * Changing some arrays to use std::array<> in natkeyboard npwoods2019-09-101-7/+4
* | Changed osd_get_clipboard_text() to return std::string (#5615) npwoods2019-09-111-10/+3
|/
* Exposed natual_keyboard object to LUA (#5364) npwoods2019-07-201-0/+14
* Moving paste() from mame_ui_manager class to natural_keyboard class, npwoods2019-07-191-0/+21
* Revert "Send LF with CR when using natuaral keyboard on systems with a line f... AJR2018-08-111-11/+0
* Misc. fixes for recent commits (nw) AJR2018-08-101-1/+0
* Send LF with CR when using natuaral keyboard on systems with a line feed key AJR2018-08-101-0/+12
* Make "Keypad ," and "Keypad =" standard keys AJR2018-05-111-1/+3
* Added support for multiple PORT_CHAR() bindings, and adopted in the CoCo driv... Nathan Woods2017-09-241-29/+35
* natural keyboard: prefer lower shift states, eliminate O(n) lookup Vas Crabb2017-09-051-28/+34
* Overhaul to how MAME handles options, take two (#2341) npwoods2017-06-251-3/+1
* general cleanup: Vas Crabb2017-05-231-32/+41
* Revert "Overhaul to how MAME handles options (#2260)" Vas Crabb2017-05-071-1/+3
* Overhaul to how MAME handles options (#2260) npwoods2017-05-051-3/+1
* Amiga keyboard updates: Vas Crabb2017-02-051-61/+93
* Fix for a potential problem if natural keyboard input gets disabled while mac... AJR2016-12-311-0/+6
* Correct natural keyboard handling of toggle keys AJR2016-12-311-2/+17
* Revert "Added IS_ENABLED, so we have compiler check for non used part, it is ... Miodrag Milanovic2016-11-121-3/+3
* Added IS_ENABLED, so we have compiler check for non used part, it is checked ... Miodrag Milanovic2016-11-111-3/+3
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-4/+4
* use standard types uintptr_t, char16_t and char32_t instead of FPTR, utf16_c... Miodrag Milanovic2016-10-221-20/+20
* Lock out ioport_fields independently of natural keyboard state (nw) AJR2016-10-201-0/+29
* Misc. keyboard input improvements AJR2016-10-081-9/+28
* Separate natural keyboard support from ioport.cpp (nw) AJR2016-10-021-0/+842
span>) gain_index = 64; // C0 = 1: 0dB else if (m_channel_latch[i] & 0x80) gain_index = 0; else gain_index = ~m_channel_latch[i] & 0x3f; // callback on change if (gain_index != m_gain_index[i]) { m_gain_index[i] = gain_index; m_gain_changed_cb((offs_t)i, gain_percent_r(i)); } } } void mb87078_device::data_w(offs_t offset, u8 data) { if (offset & 1) m_control = data & 0x1f; else { m_data = data & 0x3f; // set channel volume gain m_channel_latch[m_control & 3] = (m_control << 4 & 0x1c0) | m_data; gain_recalc(); } } u8 mb87078_device::data_r(offs_t offset) { return (offset & 1) ? m_control : m_data; }