<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[C++ SDK 2026.4 — Supported ordered mouse movement input for keyboard-initiated modal transforms]]></title><description><![CDATA[<p dir="auto">Hello Maxon SDK Team,</p>
<p dir="auto">I am developing a C++ viewport transformation plugin for Cinema 4D 2026.4, using the Cinema 4D 2026.3 SDK.</p>
<p dir="auto">The plugin supports keyboard-initiated modal Move/Rotate/Scale operations (G/R/S), without holding down a mouse button. It needs continuous mouse movement, including when the cursor wraps across viewport boundaries.</p>
<p dir="auto">Currently, cursor positions are sampled through GetCursorPos() during viewport cursor callbacks and periodic updates. The plugin uses SetCursorPos() when wrapping is necessary.</p>
<p dir="auto">Under rapid mouse movement, especially while holding Shift for precision transforms, we have observed cases where cursor positions appear discontinuous after a warp. A large apparent displacement can then enter the transform calculation.</p>
<p dir="auto">We would like to replace this polling-based approach with a properly supported event-based solution, if the Cinema 4D SDK provides one.</p>
<p dir="auto">Could you clarify the following?</p>
<p dir="auto">Is there a supported way for a C++ plugin to continuously receive ordered mouse movement events during a keyboard-initiated modal operation, without any mouse button held down?</p>
<p dir="auto">Can EditorWindow::BfGetInputEvent() be used for this purpose? Does it provide the original mouse event coordinates, modifier state, and reliable ordering relative to cursor repositioning performed through SetCursorPos()?</p>
<p dir="auto">Does calling BfGetInputEvent() remove events from the queue that Cinema 4D or other plugins would otherwise process? If so, is there a supported way to preserve or forward events not owned by our plugin?</p>
<p dir="auto">If BfGetInputEvent() is not suitable, which API or callback mechanism would Maxon recommend for this type of keyboard-initiated continuous viewport interaction? Are there specific thread, window ownership, or lifecycle restrictions?</p>
<p dir="auto">We are specifically looking for the supported SDK input and event ownership contract, rather than a workaround based on motion thresholds, delays, or repeated cursor repositioning.</p>
<p dir="auto">Thank you for your guidance.</p>
]]></description><link>http://developers.maxon.net/forum/topic/16450/c-sdk-2026.4-supported-ordered-mouse-movement-input-for-keyboard-initiated-modal-transforms</link><generator>RSS for Node</generator><lastBuildDate>Tue, 20 Oct 2026 23:00:08 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16450.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2026 12:52:04 GMT</pubDate><ttl>60</ttl></channel></rss>