← All ideas
  • Published 8 Jan 2023

Mouse + Keyboard input for GPU module (or handlers in general)

With the GPU module it's possible to draw custom things anywhere , which could be useful for overlays, menus, and other things to interact with:

ui.png

But the only way to get user input is through a Modal Operator .

These were designed to be invoked, run for a limited time, and end. When modal operators are running Blender doesn't auto-save, modules cannot be reloaded, etc. Not really usable for running persistent things.

For this Blender has Application Handlers ( app.handlers ) and the GPU module ( draw handlers ). None offer access to user input though.

Adding the ability to handle user input outside modal operators would open doors to many awesome addons.

100%

Development Status: Open

Upvote 7 Downvote 0
Jerryno
8 Jan 2023

0 Comments