mirror of
https://github.com/ctruLua/ctrulua.github.io.git
synced 2025-10-27 16:39:30 +00:00
Quick test with Jekyll
This commit is contained in:
parent
2653e46597
commit
c2d62372ef
12 changed files with 600 additions and 8 deletions
23
_posts/2015-10-23-test.html
Normal file
23
_posts/2015-10-23-test.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: post
|
||||
title: "TEST"
|
||||
date: 2015-10-23 00:00:00
|
||||
categories: status
|
||||
---
|
||||
|
||||
<pre><code>local ctr = require("ctr")
|
||||
local gfx = require("ctr.gfx")
|
||||
local hid = require("ctr.hid")
|
||||
|
||||
while ctr.run() do
|
||||
hid.read()
|
||||
local keys = hid.keys()
|
||||
if keys.held.start then break end
|
||||
|
||||
gfx.startFrame(gfx.GFX_TOP)
|
||||
gfx.text(2, 2, "TEST")
|
||||
gfx.endFrame()
|
||||
gfx.render()
|
||||
end
|
||||
</code></pre>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue