Search found 563 matches

by miso
Sat Dec 13, 2025 12:08 am
Forum: 3D Programming
Topic: Main menu 3D
Replies: 9
Views: 736

Re: Main menu 3D

Michael Vogel wrote: Sat Dec 13, 2025 12:05 am Did a quick test with PB6.21 on Windows 11, did work fine with the 32 bit compiler but failed using the 64 bit version (MousePick returns $7FFFFFFF).
Yes, but it's fixed with the new versions:

viewtopic.php?p=644799#p644799
by miso
Fri Dec 12, 2025 6:01 pm
Forum: Game Programming
Topic: Game test v0.01
Replies: 141
Views: 16889

Re: Game test v0.01

you can multiply the raisestrength with a smaller and smaller number as the distance is bigger from the center. ( to have a smooth effect )
by miso
Fri Dec 12, 2025 5:57 pm
Forum: Off Topic
Topic: A thing what can scary you
Replies: 8
Views: 269

Re: A thing what can scary you

My experience with windows is this:

-Me: I need a socks,
-Windows: Here it is, your welcome.
-Me: It's a bit tight, and it's color is ugly pink, do you have a different one?
-Windows:Thats the only socks I can provide unfortunately.
-Me: well wathever, Fine...

My experience with Linux:

-Me: I ...
by miso
Fri Dec 12, 2025 1:52 pm
Forum: Game Programming
Topic: Game test v0.01
Replies: 141
Views: 16889

Re: Game test v0.01


I did this landscape editor in real time to help me in the scenary creator.
Textures are load from images and convert to textures on the fly to avoid parseScripts().

And here show the creation process in real time.
https://youtu.be/XmuzCVQHsTM


That's kinda cool. Also has a style ( in visuals ...
by miso
Thu Dec 11, 2025 9:56 pm
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

Re: RaspPi - Mouse does not work with the 3D demos

mk-soft wrote: Thu Dec 11, 2025 9:53 pm It's probably a bug with the mouse. After ExamineMouse, call DesktopMouseX once.

Fix ...

Code: Select all

ExamineMouse()
DesktopMouseX()
Rendering no longer works with Debian 13 :(
Thanks for the test and for the workaround fix. This should go to the bugreports then.
by miso
Thu Dec 11, 2025 9:26 pm
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

Re: RaspPi - Mouse does not work with the 3D demos


This example outputs exactly 60 frames per second, and the mouse pointer works normally.
If the first line is used, the sprite is not displayed. There are also 60 frames, but the mouse pointer can no longer be moved properly.

Peter


It works here on windows. Only the debugwindow (that appears ...
by miso
Thu Dec 11, 2025 8:06 pm
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool


Thanks for the code. I added it at the end of pagenames()/pages():


pagenames($FF)="Vendor-defined"
;=========================================================
pages($FF , $00) = "Vendor-defined"


It's not entirely correct; it should be $FF00-$FFFF, but it works with my HID adapter.

Peter ...
by miso
Thu Dec 11, 2025 8:04 pm
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool


VID and PID a normally always in hex, so I changed 2 lines:

ms.s + "HID VID: " + RSet(Hex(Val(HIDInfo(#PB_HID_VendorId,GetScreenGadgetState(lw)+1))), 4, "0") + #CRLF$
ms.s + "HID PID: " + RSet(Hex(Val(HIDInfo(#PB_HID_ProductId,GetScreenGadgetState(lw)+1))), 4, "0") + #CRLF$



Thanks, modified ...
by miso
Thu Dec 11, 2025 7:44 pm
Forum: 3D Programming
Topic: RaspPi - Mouse does not work with the 3D demos
Replies: 8
Views: 141

Re: RaspPi - Mouse does not work with the 3D demos


PB v6.30b5 arm64, Raspberry Pi OS (Trixie, Wayland), P500

The mouse does not work with the 3D demos. Only occasionally can you see that something moves briefly. I have tested various mice with cables, wireless, Bluetooth, but none of them work.

With a slower P400 and 32-bit OS, the mouse works a ...
by miso
Thu Dec 11, 2025 12:25 pm
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool

I already see a couple of typos I made, not relevant in the output of the current version. I will fix them later.

A bitwise & was missing at line 2311

Code: Select all

 TPE = (sv2>>2)&%0011        :;This will be the type
by miso
Thu Dec 11, 2025 11:26 am
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool

pagenames($81)="Monitor Enumerated Values Page,MEV_"
;=========================================================
pages($81 , $00) = "Undefined,"
pages($81 , $01) = "ENUM_1,"
pages($81 , $02) = "ENUM_2,"
pages($81 , $03) = "ENUM_3,"
pages($81 , $04) = "ENUM_4,"
pages($81 , $05) = "ENUM_5,"
pages($81 ...
by miso
Thu Dec 11, 2025 11:25 am
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool

pagenames($0C)="Consumer Device Page,CD_"
;=========================================================

pages($0C , $00) = "Unassigned"
pages($0C , $01) = "Consumer Control,CA,"
pages($0C , $02) = "Numeric Key Pad,NAry,"
pages($0C , $03) = "Programmable Buttons,NAry,"
pages($0C , $04) = "Microphone ...
by miso
Thu Dec 11, 2025 11:24 am
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

Re: HID Descriptor Tool


My experience about downloads is they tends to disappear over years, so better try to post the code directly here, even if it's splitted


I absolutely agree.

Global Dim pagenames.s($FF)
Global Dim pages.s($FF,$255)
Global Dim col.s($FF)

col($00)= "Physical"
col($01)= "Application"
col($02 ...
by miso
Thu Dec 11, 2025 9:51 am
Forum: General Discussion
Topic: HID Descriptor Tool
Replies: 10
Views: 211

HID Descriptor Tool

Heres a prototype HID descriptor parser. It's ugly.

Because of the strings, it would not fit in two posts, so link is provided. No zip, only a .pb text file.

==Link removed, code is down there==

Interesting, that the same keyboard gives different report on win7 and win10...
by miso
Thu Dec 11, 2025 1:59 am
Forum: The PureBasic Editor
Topic: Higher quality icon and logo
Replies: 15
Views: 444

Re: Higher quality icon and logo

I think it's not what infratec was thinking...

But don't be mad, I saved the bitmaps, might be useful one day.