Just checked QWindowSystemInterface::handleExtendedKeyEvent signature:
""" void QWindowSystemInterface::handleExtendedKeyEvent(QWindow *tlw, ulong timestamp, QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString& text, bool autorep, ushort count)
"""
So its last parameter is the repeat count. Seems to be what you want.
« Back to merge proposal
Just checked QWindowSystemIn terface: :handleExtended KeyEvent signature:
""" terface: :handleExtended KeyEvent( QWindow *tlw, ulong timestamp, QEvent::Type type, int key,
Qt:: KeyboardModifie rs modifiers,
quint32 nativeScanCode, quint32 nativeVirtualKey,
quint32 nativeModifiers,
const QString& text, bool autorep,
ushort count)
void QWindowSystemIn
"""
So its last parameter is the repeat count. Seems to be what you want.