Skip to content

Commit

Permalink
Move repo to cranksters github org.
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter committed Oct 19, 2023
1 parent f202763 commit 61d0b4b
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ cd www
git init
git add -A
git commit -m 'deploy github pages'
git push -f [email protected]:jaames/pd-usb master:gh-pages
git push -f [email protected]:cranksters/pd-usb master:gh-pages

cd -
cd -
4 changes: 2 additions & 2 deletions examples/example-basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h1>PD-USB Demo - Basic Connection</h1>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a> | <a href="//github.com/jaames/pd-usb/blob/main/examples/example-basic.html">page source</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a> | <a href="//github.com/cranksters/pd-usb/blob/main/examples/example-basic.html">page source</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
Expand Down Expand Up @@ -76,4 +76,4 @@ <h1>PD-USB Demo - Basic Connection</h1>
}
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/example-controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1>PD-USB Demo - Input State Capture</h1>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a> | <a href="//github.com/jaames/pd-usb/blob/main/examples/example-controller.html">page source</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a> | <a href="//github.com/cranksters/pd-usb/blob/main/examples/example-controller.html">page source</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
Expand Down Expand Up @@ -131,4 +131,4 @@ <h1>PD-USB Demo - Input State Capture</h1>
}
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/example-eval.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>PD-USB Demo - Execute Lua Payload</h1>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a> | <a href="//github.com/jaames/pd-usb/blob/main/examples/example-basic.html">page source</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a> | <a href="//github.com/cranksters/pd-usb/blob/main/examples/example-basic.html">page source</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
Expand Down Expand Up @@ -89,4 +89,4 @@ <h1>PD-USB Demo - Execute Lua Payload</h1>
}
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/example-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1>PD-USB Demo - Screenshot Capture</h1>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a> | <a href="//github.com/jaames/pd-usb/blob/main/examples/example-screen.html">page source</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a> | <a href="//github.com/cranksters/pd-usb/blob/main/examples/example-screen.html">page source</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
Expand Down Expand Up @@ -96,4 +96,4 @@ <h1>PD-USB Demo - Screenshot Capture</h1>
}
</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/example-send-bitmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>PD-USB Demo - Send Bitmap</h1>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a> | <a href="//github.com/jaames/pd-usb/blob/main/examples/example-send-bitmap.html">page source</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a> | <a href="//github.com/cranksters/pd-usb/blob/main/examples/example-send-bitmap.html">page source</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
Expand Down Expand Up @@ -214,4 +214,4 @@ <h1>PD-USB Demo - Send Bitmap</h1>

</script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ <h3>Execute Lua Payload</h3>
</main>
<footer class="row">
<div class="pull-left">
<a href="//github.com/jaames/pd-usb">pd-usb</a>
<a href="//github.com/cranksters/pd-usb">pd-usb</a>
</div>
<div class="pull-right">
built by <a href="//github.com/jaames">jaames</a>
</div>
</footer>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/jaames/pd-usb.git"
"url": "git+https://github.com/cranksters/pd-usb.git"
},
"author": "James Daniel <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaames/pd-usb/issues"
"url": "https://github.com/cranksters/pd-usb/issues"
}
}
20 changes: 10 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ JavaScript library for interacting with a [Panic Playdate](http:https://play.date/) co

## Examples

- [Basic Connection](https://jaames.github.io/pd-usb/example-basic.html)
- [Input State Capture](https://jaames.github.io/pd-usb/example-controller.html)
- [Screenshot Capture](https://jaames.github.io/pd-usb/example-screen.html)
- [Send Bitmap](https://jaames.github.io/pd-usb/example-send-bitmap.html)
- [Execute Lua Payload](https://jaames.github.io/pd-usb/example-eval.html)
- [Basic Connection](https://cranksters.github.io/pd-usb/example-basic.html)
- [Input State Capture](https://cranksters.github.io/pd-usb/example-controller.html)
- [Screenshot Capture](https://cranksters.github.io/pd-usb/example-screen.html)
- [Send Bitmap](https://cranksters.github.io/pd-usb/example-send-bitmap.html)
- [Execute Lua Payload](https://cranksters.github.io/pd-usb/example-eval.html)

## Installation

Expand Down Expand Up @@ -195,7 +195,7 @@ Capture a screenshot from the Playdate, and get the unpacked framebuffer. This w
const screenPixels = await device.getScreenIndexed();
```

If you want to draw the screen to a HTML5 canvas, check out the [screen example](https://github.com/jaames/pd-usb/blob/main/examples/example-screen.html).
If you want to draw the screen to a HTML5 canvas, check out the [screen example](https://github.com/cranksters/pd-usb/blob/main/examples/example-screen.html).

#### `sendBitmap`

Expand All @@ -221,7 +221,7 @@ const pixels = new Uint8Array(400 * 240);
await device.sendBitmapIndexed(pixels);
```

If you want to creating a bitmap using a HTML5 canvas, check out the [bitmap example](https://github.com/jaames/pd-usb/blob/main/examples/example-bitmap.html).
If you want to creating a bitmap using a HTML5 canvas, check out the [bitmap example](https://github.com/cranksters/pd-usb/blob/main/examples/example-bitmap.html).

#### `run`

Expand Down Expand Up @@ -318,7 +318,7 @@ Contributions and ports to other languages are welcome! Here's a list of things

### USB Docs

If you're looking for reference, I've documented the Playdate's USB protocol and some of the more interesting commands over on my [playdate-reverse-engineering](https://github.com/jaames/playdate-reverse-engineering/blob/main/usb/usb.md) repo.
If you're looking for reference, I've documented the Playdate's USB protocol and some of the more interesting commands over on my [playdate-reverse-engineering](https://github.com/cranksters/playdate-reverse-engineering/blob/main/usb/usb.md) repo.

### Setup

Expand All @@ -335,6 +335,6 @@ To build the project, you'll need to have Node and NPM installed. Clone the repo

2021 James Daniel

If you have any questions or just want to say hi, you can reach me on Twitter ([@rakujira](https://twitter.com/rakujira)), on Discord (`@jaames#9860`), or via email (`mail at jamesdaniel dot dev`).
If you have any questions or just want to say hi, you can reach me on Twitter ([@rakujira](https://twitter.com/rkgkjr)), on Discord (`@rkgkjr`), or via email (`mail at jamesdaniel dot dev`).

Playdate is © [Panic Inc.](https://panic.com/) This project isn't affiliated with or endorsed by them in any way
Playdate is © [Panic Inc.](https://panic.com/) This project isn't affiliated with or endorsed by them in any way
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const isProdBuild = build === 'production';
const banner = `/*!!
pd-usb v${ version }
JavaScript library for interacting with a Panic Playdate console over USB
https://github.com/jaames/pd-usb
https://github.com/cranksters/pd-usb
2022 James Daniel
Playdate is (c) Panic Inc. - this project isn't affiliated with or endorsed by them in any way
*/`;
Expand Down Expand Up @@ -99,4 +99,4 @@ module.exports = {
}
})
].filter(Boolean)
};
};

0 comments on commit 61d0b4b

Please sign in to comment.