English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 30 January 2018, 17:49   #1
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
1.x Intuition knob gadget

I've created a rotary knob gadget which changes value/image as the mouse moves up/down while clicked. It's a GTYP_BOOLGADGET. GTYP_PROPGADGET seems too specialized for sliders to represent a knob. GTYP_CUSTOMGADGET appears to be reserved for BOOPSI in 2.x.

It almost works perfectly except GACT_RELVERIFY suppresses IDCMP_RAWKEY events while the gadget is pressed. I need to process key events while the knob is being moved to play notes (the knob is part of a synthesizer). Without GACT_RELVERIFY I cannot use GACT_FOLLOWMOUSE, which is a documented exception for GTYP_BOOLGADGET. I could install an input device handler to grab key events at the source but that's messy.

Can this be made to work or would my use case be better implemented by mapping window IDCMP events to logical gadgets in software?
arcanist is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
K Gadget scuzz request.Apps 5 22 June 2017 20:51
Get Gadget Width mritter0 Coders. C/C++ 2 11 June 2014 02:27
My big pink knob... Paul_s Retrogaming General Discussion 12 04 July 2007 22:22
Gadget/Layout.gadget V44 ruliovega support.Apps 6 02 January 2006 11:50
Action Replay slow-motion toggle-switch & knob Jim request.UAE Wishlist 5 22 August 2004 19:42

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:26.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08507 seconds with 15 queries