Jump to content
Sign in to follow this  
Spider

Change Focus by Dial

Recommended Posts

Hello!

I want to select controls by Dial (Encoder based).  But can't understand how. I already make Dial driver for my Encoder and it work. But how to "emulate TAB event"?

in gwidgetEvent() i found:

	case GEVENT_DIAL:
		// Cycle through all windows
		for(gh = gwinGetNextWindow(0); gh; gh = gwinGetNextWindow(gh)) {
			.....
		}
		break

but how to make it code work?

Share this post


Link to post
Share on other sites

I has make "virtual" GKeyboardVMT instance that  subscribes and process events from Dial and emulate TAB or Shift+Tab  key press to system. But Is it good way?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...