[Elecraft] P3 "Point and Click"

Joe Stone (KF5WBO) kf5wbo at wickedbeernut.com
Mon Feb 13 14:19:27 EST 2017


Paul Saffren (N6HZ) can help us understand why we still haven't seen
Mouse-n-Click QSY support for the P3 and PX3.

If you use a 2.4 GHz wireless dongle which supports both a keyboard and a
mouse, the HID report sent to the P3 / PX3 contains not only the keyboard
information,

        struct KBDINFO {
                struct {
                        uint8_t bmLeftCtrl : 1;
                        uint8_t bmLeftShift : 1;
                        uint8_t bmLeftAlt : 1;
                        uint8_t bmLeftGUI : 1;
                        uint8_t bmRightCtrl : 1;
                        uint8_t bmRightShift : 1;
                        uint8_t bmRightAlt : 1;
                        uint8_t bmRightGUI : 1;
                };
                uint8_t bReserved;
                uint8_t Keys[6];
        };

but also the mouse information,

        struct MOUSEINFO {
                struct {
                        uint8_t bmLeftButton : 1;
                        uint8_t bmRightButton : 1;
                        uint8_t bmMiddleButton : 1;
                        uint8_t bmDummy : 5;
                };
                int8_t dX;
                int8_t dY;
        };

Obviously, the P3 / PX3 is ignoring the mouse information.

Basic Mouse-n-Click QSY functionality would require ~25 lines of firmware.

Joe
KF5WBO



--
View this message in context: http://elecraft.365791.n2.nabble.com/P3-Point-and-Click-tp7626801p7626823.html
Sent from the Elecraft mailing list archive at Nabble.com.


More information about the Elecraft mailing list