Skip to content

Add shorthands for display, system and controls APIs#494

Closed
kana-sama wants to merge 4 commits intoboozook:mainfrom
kana-sama:feature/add-shorthands
Closed

Add shorthands for display, system and controls APIs#494
kana-sama wants to merge 4 commits intoboozook:mainfrom
kana-sama:feature/add-shorthands

Conversation

@kana-sama
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the api About Playdate API, bindings and all over that. label Feb 16, 2025
@kana-sama kana-sama changed the title Add shorthands for display and system APIs Add shorthands for display, system, controls APIs Feb 16, 2025
@kana-sama kana-sama changed the title Add shorthands for display, system, controls APIs Add shorthands for display, system and controls APIs Feb 16, 2025
use core::ops::BitAnd;
use sys::ffi::PDButtons;

use crate::peripherals::{State, Buttons};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it may look like a little circle, because for some reasons Buttons API was declared in peripherals module.

@kana-sama
Copy link
Contributor Author

Can be abandoned in favor of #495

@kana-sama kana-sama closed this Feb 18, 2025
@kana-sama kana-sama deleted the feature/add-shorthands branch February 18, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api About Playdate API, bindings and all over that.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant