Revision 637503d1 input.c
b/input.c | ||
---|---|---|
214 | 214 |
qlist_iter(mice_list, info_mice_iter, mon); |
215 | 215 |
} |
216 | 216 |
|
217 |
/** |
|
218 |
* do_info_mice(): Show VM mice information |
|
219 |
* |
|
220 |
* Each mouse is represented by a QDict, the returned QObject is a QList of |
|
221 |
* all mice. |
|
222 |
* |
|
223 |
* The mouse QDict contains the following: |
|
224 |
* |
|
225 |
* - "name": mouse's name |
|
226 |
* - "index": mouse's index |
|
227 |
* - "current": true if this mouse is receiving events, false otherwise |
|
228 |
* - "absolute": true if the mouse generates absolute input events |
|
229 |
* |
|
230 |
* Example: |
|
231 |
* |
|
232 |
* [ { "name": "QEMU Microsoft Mouse", "index": 0, "current": false, "absolute": false }, |
|
233 |
* { "name": "QEMU PS/2 Mouse", "index": 1, "current": true, "absolute": true } ] |
|
234 |
*/ |
|
235 | 217 |
void do_info_mice(Monitor *mon, QObject **ret_data) |
236 | 218 |
{ |
237 | 219 |
QEMUPutMouseEntry *cursor; |
Also available in: Unified diff