mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
added kernel libraries bindings and cleaned up todos
This commit is contained in:
@@ -4,6 +4,7 @@ import "core:c"
|
||||
import sce "../common"
|
||||
|
||||
foreign import touch "system:SceTouch_stub"
|
||||
foreign import touchkern "system:SceTouchForDriver_stub"
|
||||
|
||||
@(link_prefix = "sceTouch")
|
||||
foreign touch {
|
||||
@@ -67,3 +68,15 @@ foreign touch {
|
||||
*/
|
||||
DisableTouchForce :: proc(port: sce.UInt32) -> c.int ---
|
||||
}
|
||||
|
||||
foreign touchkern {
|
||||
/**
|
||||
* Set touch enable flag
|
||||
*
|
||||
* @param[in] port - The port number.
|
||||
* @param[in] enable - The enable flag.
|
||||
*
|
||||
* @return 0 on success. < 0 on error.
|
||||
*/
|
||||
ksceTouchSetEnableFlag :: proc(port: sce.UInt32, enable: sce.Bool) -> c.int ---
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user