Gets keys that were just pressed.
Individual keys can be checked by ORing them with this value.
- Examples:
- audio/mic/source/main.c, graphics/gpu/geoshader/source/main.c, graphics/gpu/simple_tri/source/main.c, graphics/gpu/textured_cube/source/main.c, and mvd/source/main.c.
+- Examples:
- audio/mic/source/main.c, graphics/gpu/geoshader/source/main.c, graphics/gpu/simple_tri/source/main.c, graphics/gpu/textured_cube/source/main.c, and mvd/source/main.c.
diff --git a/mvd_2source_2main_8c-example.html b/mvd_2source_2main_8c-example.html
index 501f229..f060a28 100644
--- a/mvd_2source_2main_8c-example.html
+++ b/mvd_2source_2main_8c-example.html
@@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- mvdstdConfig config;
+
char str[256];
@@ -140,28 +140,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
}
memset(gfxtopadr, 0, 0x46500);
-
+
printstring("mvd example\n");
-
+
memset(str, 0, 256);
snprintf(str, sizeof(str)-1, "mvdstdInit(): 0x%08x\n", (unsigned int)ret);
printstring(str);
if(ret>=0)
{
-
+
-
+
memset(str, 0, 256);
snprintf(str, sizeof(str)-1, "mvdstdProcessFrame(): 0x%08x\n", (unsigned int)ret);
printstring(str);
}
-
+
-
+
f = fopen("sdmc:/mvd_outdata.bin", "w");
if(f)
@@ -179,21 +179,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
memcpy(gfxtopadr, outaddr, 0x46500);
- mvdstdShutdown();
+
-
-
-
+
+
+
}
int main()
{
-
+
memset(logstring, 0, 256);
-
+
if(inaddr && outaddr)
@@ -204,22 +204,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
}
-
+
{
-
+
-
-
+
+
break;
}
-
+
-
+
return 0;
}
diff --git a/mvd_8h.html b/mvd_8h.html
index 3431a73..c3653e9 100644
--- a/mvd_8h.html
+++ b/mvd_8h.html
@@ -313,7 +313,7 @@ void mvd/source/main.c.
+- Examples:
- mvd/source/main.c.
@@ -363,7 +363,7 @@ void | mvd/source/main.c.
+- Examples:
- mvd/source/main.c.
@@ -413,7 +413,7 @@ void | mvd/source/main.c.
+- Examples:
- mvd/source/main.c.
diff --git a/qtm_2source_2main_8c-example.html b/qtm_2source_2main_8c-example.html
index 9fd527a..0993cf0 100644
--- a/qtm_2source_2main_8c-example.html
+++ b/qtm_2source_2main_8c-example.html
@@ -90,63 +90,63 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
bool qtm_usable;
- qtmHeadtrackingInfo qtminfo;
+
u32 colors[4] = {0x0000FF, 0x00FF00, 0xFF0000, 0xFFFFFF};
-
+
-
+
-
+
printf("qtm example\n");
-
+
if(!qtm_usable)printf("QTM is not usable, therefore this example won't do anything with QTM.\n");
-
+
{
-
-
+
+
-
-
+
+
break;
if(qtm_usable)
{
-
+
memset(fb, 0, 400*240*3);
- ret = qtmGetHeadtrackingInfo(0, &qtminfo);
+
if(ret==0)
{
-
+
for(pos=0; pos<5; pos++)
{
- printf("flags[%x]=0x%x", (unsigned int)pos, qtminfo.flags[pos]);
+ printf( "flags[%x]=0x%x", ( unsigned int)pos, qtminfo. flags[pos]);
if(pos<4)printf(", ");
}
- printf("\nfloatdata_x08: %f\n", qtminfo.floatdata_x08);
+
printf("coords0: ");
for(pos=0; pos<4; pos++)
{
- printf("[%x].x=%f, y=%f", (unsigned int)pos, qtminfo.coords0[pos].x, qtminfo.coords0[pos].y);
+ printf( "[%x].x=%f, y=%f", ( unsigned int)pos, qtminfo. coords0[pos]. x, qtminfo. coords0[pos]. y);
if(pos<3)printf(", ");
}
printf("\n");
-
+
{
for(pos=0; pos<4; pos++)
{
-
+
if(ret==0)memcpy(&fb[(x*240 + y) * 3], &colors[pos], 3);
}
@@ -155,13 +155,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
}
-
-
+
+
}
-
-
+
+
return 0;
}
diff --git a/qtm_8h.html b/qtm_8h.html
index d8a3fcd..d8fadc0 100644
--- a/qtm_8h.html
+++ b/qtm_8h.html
@@ -166,7 +166,8 @@ void | qtm/source/main.c.
+
@@ -190,7 +191,7 @@ void | qtm/source/main.c.
+- Examples:
- qtm/source/main.c.
@@ -210,7 +211,7 @@ void | - Returns
- Whether QTM is initialized.
-- Examples:
- qtm/source/main.c.
+- Examples:
- qtm/source/main.c.
@@ -267,7 +268,7 @@ void
| qtm/source/main.c.
+- Examples:
- qtm/source/main.c.
diff --git a/sdmc_2source_2main_8c-example.html b/sdmc_2source_2main_8c-example.html
index 43c7a40..a5a8abc 100644
--- a/sdmc_2source_2main_8c-example.html
+++ b/sdmc_2source_2main_8c-example.html
@@ -167,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
+
}
@@ -175,7 +175,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
exit:
-
+
return 0;
}
diff --git a/structMVDSTD__Config.html b/structMVDSTD__Config.html
index 7262cbd..32934c6 100644
--- a/structMVDSTD__Config.html
+++ b/structMVDSTD__Config.html
@@ -176,7 +176,8 @@ Data Fields |
Processing configuration.
-
The documentation for this struct was generated from the following file:
+- Examples:
- mvd/source/main.c.
+
The documentation for this struct was generated from the following file:
- include/3ds/services/mvd.h
diff --git a/structQTM__HeadTrackingInfo.html b/structQTM__HeadTrackingInfo.html
index 3beeafe..64a431d 100644
--- a/structQTM__HeadTrackingInfo.html
+++ b/structQTM__HeadTrackingInfo.html
@@ -120,7 +120,8 @@ float
The documentation for this struct was generated from the following file:
+- Examples:
- qtm/source/main.c.
+
The documentation for this struct was generated from the following file:
- include/3ds/services/qtm.h
diff --git a/svc_8h.html b/svc_8h.html
index 319ccba..9b397ca 100644
--- a/svc_8h.html
+++ b/svc_8h.html
@@ -3206,7 +3206,7 @@ Debugging |
-