Skip to content

Conversation

@mardy
Copy link
Collaborator

@mardy mardy commented Jan 15, 2024

+1 one commit to fix an existing issue with the IR reading.

mardy added 2 commits January 15, 2024 22:35
For some reason the smoothed coordinates are not available on the top
left corder area of the screen. The normal coordinates work fine,
instead.
The cursor is drawn (if it needs to) at the end of each frame, right
before copying the changes to the EFB.

The small change in SDL_render_ogc.c is needed because we need a
specific blending mode to draw the cursor, and the renderer will need to
reset it.

The SDL_ogccursors.h file contains bitmaps of cursors to use on the Wii.
The hand drawing is taken from
https://wiibrew.org/wiki/Wii_Homebrew_Cursors (all cursors there are
under public domain), the arrow cursor has been created by me in
inkscape. The files then have been exported in GIMP as C source file and
their data pasted into this file.
@WinterMute WinterMute merged commit cfd4ce3 into devkitPro:ogc-sdl-2.28 Jan 16, 2024
WinterMute pushed a commit that referenced this pull request Oct 27, 2024
* ogc: use unsmoothed coordinated from WPAD IR

For some reason the smoothed coordinates are not available on the top
left corder area of the screen. The normal coordinates work fine,
instead.

* ogc: implement rendering of mouse cursor

The cursor is drawn (if it needs to) at the end of each frame, right
before copying the changes to the EFB.

The small change in SDL_render_ogc.c is needed because we need a
specific blending mode to draw the cursor, and the renderer will need to
reset it.

The SDL_ogccursors.h file contains bitmaps of cursors to use on the Wii.
The hand drawing is taken from
https://wiibrew.org/wiki/Wii_Homebrew_Cursors (all cursors there are
under public domain), the arrow cursor has been created by me in
inkscape. The files then have been exported in GIMP as C source file and
their data pasted into this file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants