Skip to content

Commit ef22025

Browse files
committed
Adding an informative comment about interactions between the mx command and the pulse table.
1 parent c6e87eb commit ef22025

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

xid_device_driver/XIDDevice.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,8 @@ void Cedrus::XIDDevice::ClearLines()
18101810
m_linesState = 0;
18111811
}
18121812

1813+
// Note that mx and similar commands will fail to raise lines masked off by mt and mk calls
1814+
// Lines can be reclaimed entirely by mc and selectively by mk calls, if necessary.
18131815
void Cedrus::XIDDevice::SendPulse(unsigned int duration, unsigned int lines, unsigned int pulses, unsigned int ipi)
18141816
{
18151817
if (!m_config->IsXID2())

xid_device_driver/XIDDevice.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ namespace Cedrus
208208
void RaiseLines(unsigned int linesBitmask, bool leaveRemainingLines = false);
209209
void LowerLines(unsigned int linesBitmask, bool leaveRemainingLines = false);
210210
void ClearLines();
211+
// Note that mx and similar commands will fail to raise lines masked off by mt and mk calls
212+
// Lines can be reclaimed entirely by mc and selectively by mk calls, if necessary.
211213
void SendPulse(unsigned int duration, unsigned int lines, unsigned int pulses, unsigned int ipi); // mx
212214
bool ArePulsesBeingSent() const; // _mx
213215

0 commit comments

Comments
 (0)