> Your third paragraph interests me - possible future mouse support for the
PX3.
> That would be very useful for point and click tuning…as happens with the
> Flex.
Exactly! I refer to this as Mouse-n-Click QSY.
Assuming mouse support is added to the PX3 firmware …
If you’re only interested in a mouse, you can plug the mouse wireless dongle
directly into the PX3 USB port.
If you want to leverage a keyboard and a mouse, you either need to use a
keyboard and mouse combo which share the same wireless dongle or Elecraft
also needs to add USB hub firmware support (which was the primary motivation
behind this thread).
Joe Stone
KF5WBO
P.S. For those interested in getting into the technical weeds …
The PX3 currently leverages the HID (Human Interface Device) protocol.
In the HID protocol, there are two entities: the "host" and the "device".
The device is the entity that directly interacts with a human, such as a
keyboard or mouse. The host communicates with the device and receives input
data from the device on actions performed by the human.
The host (PX3) receives input data from the device (keyboard, mouse, knob,
…) in the form of a HID report.
A keyboard HID report looks like,
struct KEYBOARD {
struct {
unsigned byte leftCtrl : 1;
unsigned byte leftShift : 1;
unsigned byte leftAlt : 1;
unsigned byte leftGUI : 1;
unsigned byte rightCtrl : 1;
unsigned byte rightShift : 1;
unsigned byte rightAlt : 1;
unsigned byte rightGUI : 1;
};
unsigned byte reserved;
unsigned byte keys[6];
};
A majority of keyboards use this exact HID report. This is why the PX3 is
able to interoperate with so many different keyboards without a firmware
change or special “device drivers”.
A mouse HID report looks like,
struct MOUSE {
struct {
unsigned byte leftButton : 1;
unsigned byte rightButton : 1;
unsigned byte middleButton : 1;
unsigned byte unused : 5;
};
signed byte dX; // delta X-coordinate (+/-)
signed byte dY; // delta Y-coordinate (+/-)
};
The mouse HID report is communicated to the PX3 in the same way as a
keyboard HID report. PX3 mouse support simply involves translating the
mouse HID report into the appropriate PX3 and KX3 commands.
--
View this message in context:
http://elecraft.365791.n2.nabble.com/PX3-Keyboard-Mouse-Thumb-Drive-and-Knob-Support-tp7618412p7618437.html
Sent from the Elecraft mailing list archive at Nabble.com.
______________________________________________________________
Elecraft mailing list
Home: http://mailman.qth.net/mailman/listinfo/elecraft
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:[email protected]
This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to [email protected]