eventloop
eventloop copied to clipboard
(in future) support other graphics devices besides `x11()`
- Different from #1 since the scope of this issue is limited to supporting standard R graphics devices
- Starting with R 4.4.3 released a couple of days ago we can affirm that an active graphics devices supports the necessary {eventloop} features with:
all(c("MouseDown", "MouseMove", "MouseUp", "Keybd", "Idle") %in% dev.capabilities("events")$events)
-
Unknown if any other R graphics devices besides
x11()currently supports all these events though especially the "Idle" event. Most likely candidates to support these events in the future:- Being able to support all these events in a cross-platform way is a stated motivation for https://github.com/yutannihilation/vellogd-r but they are not supported yet
- Perhaps
windows()gets upgraded to support the "Idle" event in the future