Code review comment for lp:~mir-team/qtmir/fix-key-auto-repeat

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

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.

review: Needs Fixing

« Back to merge proposal