PureBasic 6.30 beta 4 is ready !
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Re: PureBasic 6.30 beta 4 is ready !
Another excellent update. 
-
User_Russian
- Addict

- Posts: 1597
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.30 beta 4 is ready !
What data return function IsHID()? If it is not a pointer to a structure hid_device, then how can one get it?
Re: PureBasic 6.30 beta 4 is ready !
Just wanted to drop by and state my appreciation for this upcoming release! I got a software development job and haven't been touching pb as much these days, but it's a great hobby tool and I love the new InputRequester flag 
Re: PureBasic 6.30 beta 4 is ready !
Relatively new to PB and looking at the new ScreenWindow and gadgets. It looks like these build on the 2D screen library, and as such use OpenGL. Is it possible to open an OpenGL gadget on top of a screen? If so, how do you manage the OpenGL context switching?
(Yes, I have a reason for doing this... I want to pass the OpenGL context in a positioned gadget to an external library for it to draw while I'm managing the enclosing UI, which will contain other "portal" gadgets (eg webviews) as well).
(Yes, I have a reason for doing this... I want to pass the OpenGL context in a positioned gadget to an external library for it to draw while I'm managing the enclosing UI, which will contain other "portal" gadgets (eg webviews) as well).
-
User_Russian
- Addict

- Posts: 1597
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.30 beta 4 is ready !
Tested the HID library in the project FM tuner for PC (text is on russian language, use google-translate) on Windows, Linux and MacOS and it works stably.
Re: PureBasic 6.30 beta 4 is ready !
Thanks for the feedback !
-
User_Russian
- Addict

- Posts: 1597
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.30 beta 4 is ready !
I figured out how to do it.User_Russian wrote: Sat Nov 01, 2025 3:35 pm What data return function IsHID()? If it is not a pointer to a structure hid_device, then how can one get it?
Code: Select all
Procedure HID_ID(HID)
Protected id=0
id = IsHID(HID)
If id
id=PeekI(id)
EndIf
ProcedureReturn id
EndProcedureRe: PureBasic 6.30 beta 4 is ready !
Any chance of seeing this in 6.30? viewtopic.php?p=635679

