Thanks, and I thought EnableExplicit wasn't necessary for such a simple example. It's a bit embarrassing.
Peter
Search found 276 matches
- Thu Jan 01, 2026 3:47 pm
- Forum: Raspberry PI
- Topic: PBv6.30b6 WaitWindowEvent without parentheses
- Replies: 5
- Views: 483
- Thu Jan 01, 2026 3:06 pm
- Forum: Raspberry PI
- Topic: PBv6.30b6 WaitWindowEvent without parentheses
- Replies: 5
- Views: 483
PBv6.30b6 WaitWindowEvent without parentheses
PB v6.30b6 arm64 Raspberry Pi OS (Debian 13, Wayland/labwc)
If you use ‘WaitWindowEvent’ without parentheses, there is no syntax error and the program cannot be closed. Other events are also not processed.
I don't know if this is a PB error or just a user error.
Peter
OpenWindow(0, 0, 0, 300 ...
If you use ‘WaitWindowEvent’ without parentheses, there is no syntax error and the program cannot be closed. Other events are also not processed.
I don't know if this is a PB error or just a user error.
Peter
OpenWindow(0, 0, 0, 300 ...
- Sun Dec 28, 2025 8:03 pm
- Forum: General Discussion
- Topic: HID Descriptor Tool
- Replies: 28
- Views: 2199
Re: HID Descriptor Tool
I only changed the VID/PID in your code, nothing else. Here are a few brief comments on what I noticed.
Peter
Tablet orientation buttons on the left
Left Slider - Round button in the ring-shaped slider: 0 or 1
Left Slider - shows values from 9 to 16 when in the ring-shaped slider
Right Slider ...
Peter
Tablet orientation buttons on the left
Left Slider - Round button in the ring-shaped slider: 0 or 1
Left Slider - shows values from 9 to 16 when in the ring-shaped slider
Right Slider ...
- Sun Dec 28, 2025 6:35 pm
- Forum: General Discussion
- Topic: HID Descriptor Tool
- Replies: 28
- Views: 2199
Re: HID Descriptor Tool
Hello miso,
thanks for the code for the Wacom tablet. My Intuos 4 now works with Raspberry Pi OS.
Peter
thanks for the code for the Wacom tablet. My Intuos 4 now works with Raspberry Pi OS.
Peter
- Mon Dec 22, 2025 6:29 pm
- Forum: Coding Questions
- Topic: [SOLVED] Strange mouse behavior, 6.30 beta6 win x64
- Replies: 3
- Views: 281
Re: Strange mouse behavior, 6.30 beta6 win x64
I have a Wacom Intuos 4 PK-840 with pens and Windows 7 x64.
If there's anything I can test for you with it, I'll do it.
Peter
If there's anything I can test for you with it, I'll do it.
Peter
- Sun Dec 14, 2025 12:20 pm
- Forum: General Discussion
- Topic: HID Descriptor Tool
- Replies: 28
- Views: 2199
Re: HID Descriptor Tool
I also noticed that you are misinterpreting the byte specifications.
BSZE = sv2&%0011 :;this will be the bytesize
The bits are not completely binary:
00 = 0 byte
01 = 1 byte
10 = 2 byte
11 = 4 byte, not 3
The string from ‘GetHIDReportDescriptor()’ returns the bytes in the order in which ...
BSZE = sv2&%0011 :;this will be the bytesize
The bits are not completely binary:
00 = 0 byte
01 = 1 byte
10 = 2 byte
11 = 4 byte, not 3
The string from ‘GetHIDReportDescriptor()’ returns the bytes in the order in which ...
- Sun Dec 14, 2025 9:00 am
- Forum: General Discussion
- Topic: HID Descriptor Tool
- Replies: 28
- Views: 2199
Re: HID Descriptor Tool
Hello miso,
the output of 16-bit data is incorrect. The data is normally in little-endian alignment.
Example of logical minimum and maximum: '15 00 26 ff 00'.
That is:
Logical Minimum (0)
Logical Maximum (0x00ff)
But your code outputs:
Logical Minimum (0x00)
Logical Maximum (0xff00)
Peter
the output of 16-bit data is incorrect. The data is normally in little-endian alignment.
Example of logical minimum and maximum: '15 00 26 ff 00'.
That is:
Logical Minimum (0)
Logical Maximum (0x00ff)
But your code outputs:
Logical Minimum (0x00)
Logical Maximum (0xff00)
Peter
- Fri Dec 12, 2025 3:15 pm
- Forum: Bugs - Linux
- Topic: [Done] PB 6.30 b6 - ProgramExitCode() seemingly fails -1 randomly
- Replies: 6
- Views: 848
Re: [PB 6.30b5] ProgramExitCode() seemingly fails -1 randomly
PB v6.30b5 arm64, Raspberry Pi OS (Trixie), P500
Aborted with -1 after 1300 runs. Then I inserted a delay(100) into the repeat loop, and the code aborted after 8752 runs.
Peter
Aborted with -1 after 1300 runs. Then I inserted a delay(100) into the repeat loop, and the code aborted after 8752 runs.
Peter
- Fri Dec 12, 2025 12:09 pm
- Forum: Bugs - 3D Engine
- Topic: PB 6.xx Raspberry 3DEngine mouse not work
- Replies: 1
- Views: 518
Re: PB 6.xx Raspberry 3DEngine mouse not work
The same problem and solution with:
examples/3d/ScreenGadgetMultipleWindow.pb
PB v6.30b5 x64
Linux Mint 22.2, Cinnamon 6.4.8, X11
Kernel: 6.8.0-88-generic
CPU: Intel Celeron© CPU J1900 @ 1.99GHz × 4
Graphics: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Peter
examples/3d/ScreenGadgetMultipleWindow.pb
PB v6.30b5 x64
Linux Mint 22.2, Cinnamon 6.4.8, X11
Kernel: 6.8.0-88-generic
CPU: Intel Celeron© CPU J1900 @ 1.99GHz × 4
Graphics: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Peter
- Fri Dec 12, 2025 5:39 am
- Forum: 3D Programming
- Topic: RaspPi - Mouse does not work with the 3D demos
- Replies: 8
- Views: 693
Re: RaspPi - Mouse does not work with the 3D demos
I don't see the sprite with InitEngine3D() in any of the examples.
The mouse pointer works with the tip from mk-soft and DesktopMouseX(). I only see the debug output, which looks fine.
Peter
The mouse pointer works with the tip from mk-soft and DesktopMouseX(). I only see the debug output, which looks fine.
Peter
- Thu Dec 11, 2025 9:14 pm
- Forum: 3D Programming
- Topic: RaspPi - Mouse does not work with the 3D demos
- Replies: 8
- Views: 693
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
; Debug "InitEngine3D: " + InitEngine3D()
Debug "InitSprite ...
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
; Debug "InitEngine3D: " + InitEngine3D()
Debug "InitSprite ...
- Thu Dec 11, 2025 8:39 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 4587
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
The output is: 986
Peter
Peter
- Thu Dec 11, 2025 7:27 pm
- Forum: Bugs - Windows
- Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
- Replies: 35
- Views: 4587
Re: PB 6.30 Beta 4 - ScreenGadget library - bug report
@PeDe
- Regarding the mouse, I have the impression that FlipBuffers() does not wait for screen synchronization.
Can you measure the frame rate?
The system or graphics can only display 60 frames per second. If more frames were possible but are limited to 60, the mouse pointer does not work or ...
- Thu Dec 11, 2025 4:34 pm
- Forum: 3D Programming
- Topic: RaspPi - Mouse does not work with the 3D demos
- Replies: 8
- Views: 693
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 ...
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 ...
- Thu Dec 11, 2025 2:36 pm
- Forum: General Discussion
- Topic: HID Descriptor Tool
- Replies: 28
- Views: 2199
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
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