1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-28 11:17:47 +00:00

Removes virtual keyboard references (1/2)

This commit is contained in:
FellippeHeitor 2019-04-14 16:42:04 -03:00
parent 31a855d642
commit b57ca7c38b
44 changed files with 11 additions and 6409 deletions

View file

@ -1,4 +0,0 @@
c:\ndk\ndk-build
c:\Program Files\Android\Android Studio\gradle\gradle-2.2.1\bin\gradle.bat
c:\Users\Robert\AppData\Local\Android\sdk1\AVD Manager.exe
c:\Program Files\Android\Android Studio\gradle\gradle-2.4\bin\gradle.bat

View file

@ -1,178 +0,0 @@
This is a template for creating an Android NDK project for Android Studio
The following steps are performed on this template:
-Copy/Rename 'untitled' folder to new location
[root]
local.properties:
-replace path references to SDK & NDK
untitled.iml
-rename file
(no other changes for root)
[.idea]
modules.xml
-untitled
gradle.xml
-path to gradle "gradleHome"
.name
-replace content with new program name
(no other changes for .idea)
[scopes]
(no changes required)
[copyright]
(no changes required)
[gradle]
(no changes required)
[app]
app.iml
-untitled
build.gradle
-com.example.untitled
-commandLine 'c:\\ndk\\ndk-build.cmd','-C', file('src/main').absolutePath
(no other changes required)
[src/main]
AndroidManifest.xml
-com.example.untitled
(no other changes required)
[assets]
(no other changes required)
[res/values]
strings.xml
-untitled
(no other changes required)
[jni]
[temp]
-replace with a copy of everything in the temp folder
[c]
-replace with a copy of everything from the c folder
(with selective restrictions)
FILTER:
*.h
*.c
*.cpp
*.mm
EXCLUDE:
[c_compiler/*]
[*/os/*]
Application.mk
-#<QB64_PARTS_DECLARE>
#Flags for image dependency
APP_CFLAGS += -D DEPENDENCY_IMAGE_CODEC
#Flags for font dependency
APP_CFLAGS += -D DEPENDENCY_LOADFONT
#Flags for audio dependency
APP_CFLAGS += -D DEPENDENCY_AUDIO_OUT
APP_CFLAGS += -D DEPENDENCY_AUDIO_CONVERSION
APP_CFLAGS += -D DEPENDENCY_AUDIO_DECODE
Android.mk
-#<QB64_PARTS_BUILD>
-----------------------------------------------------------------------------------------------------------------
include $(CLEAR_VARS)
OPENAL_DIR := c/parts/audio/out/android/OpenAL
AL_SOURCES := \
$(OPENAL_DIR)/Alc/android.c \
$(OPENAL_DIR)/OpenAL32/alAuxEffectSlot.c \
$(OPENAL_DIR)/OpenAL32/alBuffer.c \
$(OPENAL_DIR)/OpenAL32/alDatabuffer.c \
$(OPENAL_DIR)/OpenAL32/alEffect.c \
$(OPENAL_DIR)/OpenAL32/alError.c \
$(OPENAL_DIR)/OpenAL32/alExtension.c \
$(OPENAL_DIR)/OpenAL32/alFilter.c \
$(OPENAL_DIR)/OpenAL32/alListener.c \
$(OPENAL_DIR)/OpenAL32/alSource.c \
$(OPENAL_DIR)/OpenAL32/alState.c \
$(OPENAL_DIR)/OpenAL32/alThunk.c \
$(OPENAL_DIR)/Alc/ALc.c \
$(OPENAL_DIR)/Alc/alcConfig.c \
$(OPENAL_DIR)/Alc/alcEcho.c \
$(OPENAL_DIR)/Alc/alcModulator.c \
$(OPENAL_DIR)/Alc/alcReverb.c \
$(OPENAL_DIR)/Alc/alcRing.c \
$(OPENAL_DIR)/Alc/alcThread.c \
$(OPENAL_DIR)/Alc/ALu.c \
$(OPENAL_DIR)/Alc/bs2b.c \
$(OPENAL_DIR)/Alc/null.c \
$(OPENAL_DIR)/Alc/panning.c \
$(OPENAL_DIR)/Alc/mixer.c \
$(OPENAL_DIR)/Alc/audiotrack.c \
$(OPENAL_DIR)/Alc/opensles.c
LOCAL_MODULE := parts_audio_out
LOCAL_SRC_FILES := $(AL_SOURCES)
LOCAL_C_INCLUDES := \
$(HOME)/src/openal-soft/jni/OpenAL \
$(HOME)/src/openal-soft/jni/OpenAL/include \
$(HOME)/src/openal-soft/jni/OpenAL/OpenAL32/Include \
c/parts/audio/out/android/OpenAL/OpenAL32/Include
LOCAL_CFLAGS += \
-DAL_ALEXT_PROTOTYPES \
MAX_SOURCES_LOW ?= 4
MAX_SOURCES_START ?= 8
MAX_SOURCES_HIGH ?= 64
LOCAL_CFLAGS += -DMAX_SOURCES_LOW=$(MAX_SOURCES_LOW) -DMAX_SOURCES_START=$(MAX_SOURCES_START) -DMAX_SOURCES_HIGH=$(MAX_SOURCES_HIGH)
LOCAL_CFLAGS += -DPOST_FROYO
include $(BUILD_STATIC_LIBRARY)
# PARTS/AUDIO/CONVERSION
include $(CLEAR_VARS)
LOCAL_MODULE := parts_audio_conversion
LOCAL_SRC_FILES := c/parts/audio/conversion/src/samplerate.c
LOCAL_SRC_FILES += c/parts/audio/conversion/src/src_linear.c
LOCAL_SRC_FILES += c/parts/audio/conversion/src/src_sinc.c
LOCAL_SRC_FILES += c/parts/audio/conversion/src/src_zoh.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
# PARTS/AUDIO/CONVERSION
include $(CLEAR_VARS)
LOCAL_MODULE := parts_audio_decode_mp3
LOCAL_SRC_FILES := c/parts/audio/decode/mp3_mini/src/minimp3.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
# PARTS/VIDEO/FONT/TTF
include $(CLEAR_VARS)
LOCAL_MODULE := parts_video_font_ttf
LOCAL_SRC_FILES := c/parts/video/font/ttf/src/freetypeamalgam.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
-----------------------------------------------------------------------------------------------------------------
-#<QB64_PARTS_REFERENCE>
LOCAL_STATIC_LIBRARIES += parts_video_font_ttf
LOCAL_STATIC_LIBRARIES += parts_audio_out
LOCAL_STATIC_LIBRARIES += parts_audio_conversion
LOCAL_STATIC_LIBRARIES += parts_audio_decode_mp3
(no other changes required)

View file

@ -1 +0,0 @@
untitled

View file

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>

View file

@ -1,3 +0,0 @@
<component name="CopyrightManager">
<settings default="" />
</component>

View file

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
</project>

View file

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$QB64_GRADLE_HOME$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View file

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
</project>

View file

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/untitled.iml" filepath="$PROJECT_DIR$/untitled.iml" />
</modules>
</component>
</project>

View file

@ -1,5 +0,0 @@
<component name="DependencyValidationManager">
<state>
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
</state>
</component>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="" />
</component>
</project>

View file

@ -1,89 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="untitled" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" />
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugAndroidTestSources" />
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/androidTest/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/coverage-instrumented-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/libs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -1,40 +0,0 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
sourceSets.main {
jni.srcDirs = []
jniLibs.srcDir 'src/main/libs'
}
defaultConfig {
applicationId "com.example.untitled"
minSdkVersion 11
targetSdkVersion 11
ndk {
//moduleName "native-activity"
stl "stlport_static"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
// call regular ndk-build(.cmd) script from app directory
task ndkBuild(type: Exec) {
commandLine '$QB64_NDK_BUILD_CMD_FILE$','-C', file('src/main').absolutePath
}
tasks.withType(JavaCompile) {
compileTask -> compileTask.dependsOn ndkBuild
}
}

View file

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.untitled"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="11" />
<!-- This .apk has no Java code itself, so set hasCode to false. -->
<!-- https://developer.android.com/training/system-ui/status.html -->
<application android:label="@string/app_name" android:hasCode="true" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen">
<!-- Our activity is the built-in NativeActivity framework class.
This will take care of integrating with our NDK code. -->
<activity android:name="android.app.NativeActivity"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden">
<!-- Tell NativeActivity the name of or .so -->
<meta-data android:name="android.app.lib_name"
android:value="native-activity" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<!-- END_INCLUDE(manifest) -->

View file

@ -1,199 +0,0 @@
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH := $(call my-dir)
#<QB64_PARTS_BUILD>
include $(CLEAR_VARS)
OPENAL_DIR := c/parts/audio/out/android/OpenAL
AL_SOURCES := \
$(OPENAL_DIR)/Alc/android.c \
$(OPENAL_DIR)/OpenAL32/alAuxEffectSlot.c \
$(OPENAL_DIR)/OpenAL32/alBuffer.c \
$(OPENAL_DIR)/OpenAL32/alDatabuffer.c \
$(OPENAL_DIR)/OpenAL32/alEffect.c \
$(OPENAL_DIR)/OpenAL32/alError.c \
$(OPENAL_DIR)/OpenAL32/alExtension.c \
$(OPENAL_DIR)/OpenAL32/alFilter.c \
$(OPENAL_DIR)/OpenAL32/alListener.c \
$(OPENAL_DIR)/OpenAL32/alSource.c \
$(OPENAL_DIR)/OpenAL32/alState.c \
$(OPENAL_DIR)/OpenAL32/alThunk.c \
$(OPENAL_DIR)/Alc/ALc.c \
$(OPENAL_DIR)/Alc/alcConfig.c \
$(OPENAL_DIR)/Alc/alcEcho.c \
$(OPENAL_DIR)/Alc/alcModulator.c \
$(OPENAL_DIR)/Alc/alcReverb.c \
$(OPENAL_DIR)/Alc/alcRing.c \
$(OPENAL_DIR)/Alc/alcThread.c \
$(OPENAL_DIR)/Alc/ALu.c \
$(OPENAL_DIR)/Alc/bs2b.c \
$(OPENAL_DIR)/Alc/null.c \
$(OPENAL_DIR)/Alc/panning.c \
$(OPENAL_DIR)/Alc/mixer.c \
$(OPENAL_DIR)/Alc/audiotrack.c \
$(OPENAL_DIR)/Alc/opensles.c
LOCAL_MODULE := parts_audio_out
LOCAL_SRC_FILES := $(AL_SOURCES)
LOCAL_C_INCLUDES := \
$(HOME)/src/openal-soft/jni/OpenAL \
$(HOME)/src/openal-soft/jni/OpenAL/include \
$(HOME)/src/openal-soft/jni/OpenAL/OpenAL32/Include \
c/parts/audio/out/android/OpenAL/OpenAL32/Include
LOCAL_CFLAGS += \
-DAL_ALEXT_PROTOTYPES \
MAX_SOURCES_LOW ?= 4
MAX_SOURCES_START ?= 8
MAX_SOURCES_HIGH ?= 64
LOCAL_CFLAGS += -DMAX_SOURCES_LOW=$(MAX_SOURCES_LOW) -DMAX_SOURCES_START=$(MAX_SOURCES_START) -DMAX_SOURCES_HIGH=$(MAX_SOURCES_HIGH)
LOCAL_CFLAGS += -DPOST_FROYO
include $(BUILD_STATIC_LIBRARY)
# PARTS/AUDIO/CONVERSION
include $(CLEAR_VARS)
LOCAL_MODULE := parts_audio_conversion
LOCAL_SRC_FILES := c/parts/audio/conversion/src/resample.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
# PARTS/AUDIO/DECODE/MP3
include $(CLEAR_VARS)
LOCAL_MODULE := parts_audio_decode_mp3
LOCAL_SRC_FILES := c/parts/audio/decode/mp3_mini/src/minimp3.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
# PARTS/AUDIO/DECODE/OGG
include $(CLEAR_VARS)
LOCAL_MODULE := parts_audio_decode_ogg
LOCAL_SRC_FILES := c/parts/audio/decode/ogg/src/stb_vorbis.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
# PARTS/VIDEO/FONT/TTF
include $(CLEAR_VARS)
LOCAL_MODULE := parts_video_font_ttf
LOCAL_SRC_FILES := c/parts/video/font/ttf/src/freetypeamalgam.c
#LOCAL_CFLAGS :=
#LOCAL_C_INCLUDES :=
include $(BUILD_STATIC_LIBRARY)
#include $(PREBUILT_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := native-activity
LOCAL_SRC_FILES := main.cpp c/qbx.cpp
#LOCAL_SRC_FILES := main.c GL/glew.c tut.cpp
#GLU ES
LOCAL_C_INCLUDES += $(LOCAL_PATH)/c/parts/core/glues/src
LOCAL_SRC_FILES += c/parts/core/glues/src/glues_error.c
LOCAL_SRC_FILES += c/parts/core/glues/src/glues_mipmap.c
LOCAL_SRC_FILES += c/parts/core/glues/src/glues_project.c
LOCAL_SRC_FILES += c/parts/core/glues/src/glues_quad.c
LOCAL_SRC_FILES += c/parts/core/glues/src/glues_registry.c
#(libtess folder not added, probably not required)
#FreeGlut
LOCAL_C_INCLUDES += $(LOCAL_PATH)/c/parts/core/android_core/include
LOCAL_C_INCLUDES += $(LOCAL_PATH)/c/parts/core/android_core/src
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_callbacks.c
#LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_cursor.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_display.c
#LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_ext.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_font_data.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_gamemode.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_init.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_internal.h
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_input_devices.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_joystick.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_main.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_misc.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_overlay.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_spaceball.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_state.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_stroke_mono_roman.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_stroke_roman.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_structure.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_videoresize.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_window.c
#LOCAL_SRC_FILES += c/parts/core/android_core/src/fg_menu.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/util/xparsegeometry_repl.c
#===ANDROID SPECIFIC FILES (also required)
LOCAL_SRC_FILES += c/parts/core/android_core/src/egl/fg_internal_egl.h
LOCAL_SRC_FILES += c/parts/core/android_core/src/egl/fg_display_egl.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/egl/fg_init_egl.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/egl/fg_structure_egl.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/egl/fg_window_egl.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/native_app_glue/android_native_app_glue.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/native_app_glue/android_native_app_glue.h
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_runtime_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_gamemode_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_input_devices_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_joystick_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_main_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_spaceball_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_state_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_window_android.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/opengles_stubs.c
LOCAL_SRC_FILES += c/parts/core/android_core/src/android/fg_internal_android.h
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM -lOpenSLES
#LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2
LOCAL_STATIC_LIBRARIES := android_native_app_glue
LOCAL_CFLAGS := -w
#<QB64_PARTS_REFERENCE>
LOCAL_STATIC_LIBRARIES += parts_video_font_ttf
LOCAL_STATIC_LIBRARIES += parts_audio_out
LOCAL_STATIC_LIBRARIES += parts_audio_conversion
LOCAL_STATIC_LIBRARIES += parts_audio_decode_mp3
LOCAL_STATIC_LIBRARIES += parts_audio_decode_ogg
include $(BUILD_SHARED_LIBRARY)
$(call import-module,android/native_app_glue)

View file

@ -1,38 +0,0 @@
APP_PLATFORM := android-10
#APP_PLATFORM := android-9
#APP_ABI := armeabi
# Android 4+ (Ice Cream Sandwich) requires an ARMv7 processor. (Some custom versions of Android 4+ have been made for ARMv6)
# Therefore, there isn't much point producing armeabi binaries
APP_ABI := armeabi-v7a
APP_ABI += x86
APP_STL := gnustl_static
APP_CFLAGS := -DANDROID
APP_CFLAGS += -DHAVE_STDBOOL_H
APP_CFLAGS += -DNEED_XPARSEGEOMETRY_IMPL
APP_CFLAGS += -DHAVE_XPARSEGEOMETRY
APP_CFLAGS += -DEGL_VERSION_1_0
APP_CFLAGS += -D GL_GLEXT_PROTOTYPES
APP_CFLAGS += -DVERSION_MAJOR=3
APP_CFLAGS += -DVERSION_MINOR=0
APP_CFLAGS += -DVERSION_PATCH=0
#<QB64_PARTS_DECLARE>
#Flags for image dependency
APP_CFLAGS += -D DEPENDENCY_IMAGE_CODEC
#Flags for font dependency
APP_CFLAGS += -D DEPENDENCY_LOADFONT
#Flags for audio dependency
APP_CFLAGS += -D DEPENDENCY_AUDIO_OUT
APP_CFLAGS += -D DEPENDENCY_AUDIO_CONVERSION
APP_CFLAGS += -D DEPENDENCY_AUDIO_DECODE

View file

@ -1,19 +0,0 @@
#include <jni.h>
#include <android/log.h>
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#include <android/native_window.h>
#include <android_native_app_glue.h>
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "FreeGLUT", __VA_ARGS__))
/*
#include <EGL/egl.h>
#include <GLES/gl.h>
#include <GLES/glext.h>
*/
#include "c/libqb.cpp"

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">untitled</string>
</resources>

View file

@ -1,15 +0,0 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
}
}
allprojects {
repositories {
jcenter()
}
}

View file

@ -1 +0,0 @@
android.useDeprecatedNdk=true

View file

@ -1,6 +0,0 @@
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

View file

@ -1,164 +0,0 @@
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >&-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

View file

@ -1,90 +0,0 @@
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

View file

@ -1,8 +0,0 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
#
#Sun Apr 05 17:45:27 AEST 2015
sdk.dir=C\:\\Users\\Robert\\AppData\\Local\\Android\\sdk1
ndk.dir=C\:\\ndk

View file

@ -1 +0,0 @@
include ':app'

View file

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -0,0 +1,2 @@
SUB VkUpdate
END SUB

View file

@ -0,0 +1,3 @@
'blank line
CONST TRUE = -1
CONST FALSE = 0

View file

@ -18,9 +18,6 @@ $SCREENHIDE
'INCLUDE:'qb_framework\qb_framework_global.bas'
DEFLNG A-Z
'INCLUDE:'virtual_keyboard\virtual_keyboard_global.bas'
DEFLNG A-Z
'-------- Optional IDE Component (1/2) --------
'$INCLUDE:'ide\ide_global.bas'
@ -29,10 +26,6 @@ REDIM SHARED PL(0) AS INTEGER 'Priority Level
DIM SHARED QuickReturn AS INTEGER
Set_OrderOfOperations 'This will also make certain our directories are valid, and if not make them.
DIM SHARED VirtualKeyboardState
DIM SHARED DesiredVirtualKeyboardState
DIM SHARED RecompileAttemptsForVirtualKeyboardState
REDIM EveryCaseSet(100), SelectCaseCounter AS _UNSIGNED LONG
DIM ExecLevel(255), ExecCounter AS INTEGER
REDIM SHARED UserDefine(1, 100) AS STRING '0 element is the name, 1 element is the string value
@ -1192,14 +1185,8 @@ sflistn = -1 'no entries
SubNameLabels = sp 'QB64 will perform a repass to resolve sub names used as labels
DesiredVirtualKeyboardState = 0
RecompileAttemptsForVirtualKeyboardState = 0
recompile:
'move desired state into active state
VirtualKeyboardState = DesiredVirtualKeyboardState
lastLineReturn = 0
lastLine = 0
firstLine = 1
@ -1572,13 +1559,8 @@ DO
IF lastLine <> 0 OR firstLine <> 0 THEN
lineBackup$ = wholeline$ 'backup the real line (will be blank when lastline is set)
IF VirtualKeyboardState THEN
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\header.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\footer.bas"
ELSE
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\header_stub.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\footer_stub.bas"
END IF
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\embed\header_stub.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\embed\footer_stub.bas"
firstLine = 0: lastLine = 0
GOTO forceInclude_prepass
forceIncludeCompleted_prepass:
@ -1605,32 +1587,6 @@ DO
temp$ = LTRIM$(RTRIM$(UCASE$(wholestv$)))
IF temp$ = "$VIRTUALKEYBOARD:ON" THEN
DesiredVirtualKeyboardState = 1
IF VirtualKeyboardState = 0 THEN
IF RecompileAttemptsForVirtualKeyboardState = 0 THEN
'this is the first time a conflict has occurred, so react immediately with a full recompilation using the desired state
RecompileAttemptsForVirtualKeyboardState = RecompileAttemptsForVirtualKeyboardState + 1
GOTO do_recompile
ELSE
'continue compilation to retrieve the final state requested and act on that as required
END IF
END IF
END IF
IF temp$ = "$VIRTUALKEYBOARD:OFF" THEN
DesiredVirtualKeyboardState = 0
IF VirtualKeyboardState <> 0 THEN
IF RecompileAttemptsForVirtualKeyboardState = 0 THEN
'this is the first time a conflict has occurred, so react immediately with a full recompilation using the desired state
RecompileAttemptsForVirtualKeyboardState = RecompileAttemptsForVirtualKeyboardState + 1
GOTO do_recompile
ELSE
'continue compilation to retrieve the final state requested and act on that as required
END IF
END IF
END IF
IF LEFT$(temp$, 4) = "$IF " THEN
IF RIGHT$(temp$, 5) <> " THEN" THEN a$ = "$IF without THEN": GOTO errmes
temp$ = LTRIM$(MID$(temp$, 4)) 'strip off the $IF and extra spaces
@ -2929,13 +2885,8 @@ DO
IF lastLine <> 0 OR firstLine <> 0 THEN
lineBackup$ = a3$ 'backup the real first line (will be blank when lastline is set)
IF VirtualKeyboardState THEN
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\header.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\footer.bas"
ELSE
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\header_stub.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\virtual_keyboard\embed\footer_stub.bas"
END IF
IF firstLine <> 0 THEN forceIncludeFromRoot$ = "source\embed\header_stub.bas"
IF lastLine <> 0 THEN forceIncludeFromRoot$ = "source\embed\footer_stub.bas"
firstLine = 0: lastLine = 0
GOTO forceInclude
forceIncludeCompleted:
@ -3126,11 +3077,13 @@ DO
END IF
IF a3u$ = "$VIRTUALKEYBOARD:ON" THEN
'Deprecated; does nothing.
layout$ = "$VIRTUALKEYBOARD:ON"
GOTO finishednonexec
END IF
IF a3u$ = "$VIRTUALKEYBOARD:OFF" THEN
'Deprecated; does nothing.
layout$ = "$VIRTUALKEYBOARD:OFF"
GOTO finishednonexec
END IF
@ -10988,11 +10941,6 @@ FOR x = 1 TO commonarraylistn
NEXT
IF Debug THEN PRINT #9, "Finished COMMON array list check!"
IF DesiredVirtualKeyboardState <> VirtualKeyboardState THEN
RecompileAttemptsForVirtualKeyboardState = RecompileAttemptsForVirtualKeyboardState + 1
recompile = 1
END IF
IF recompile THEN
do_recompile:
IF Debug THEN PRINT #9, "Recompile required!"
@ -24888,8 +24836,5 @@ END SUB
'INCLUDE:'qb_framework\qb_framework_methods.bas'
DEFLNG A-Z
'INCLUDE:'virtual_keyboard\virtual_keyboard_methods.bas'
DEFLNG A-Z
'-------- Optional IDE Component (2/2) --------
'$INCLUDE:'ide\ide_methods.bas'

View file

@ -1,172 +0,0 @@
'#################### QB-FRAMEWORK: Environment ####################
DEFLNG A-Z
'DEFLNG A-Z isn't required, but certain functions require LONG type variables
'as their parameters and return data in them, for example QB_NODE_each(...)
'##################################################
'#################### QB-FRAMEWORK: Global ####################
DIM SHARED QB_DEBUG AS LONG '1 or 0
DIM SHARED QB_DEBUG_VERBOSE AS LONG '1 or 0
QB_DEBUG = 0
QB_DEBUG_VERBOSE = 0 'set in conjunction with QB_DEBUG for more detailed debug infromation
IF QB_DEBUG_VERBOSE THEN QB_DEBUG = 1
'Quick copy-paste references:
' QB_DEBUG_VERBOSE = 1: QB_DEBUG = 1
' QB_DEBUG_VERBOSE = 0: QB_DEBUG = 0
'##################################################
'#################### EACH: Global ####################
'Handle Handlers (used to manage a set of handles)
CONST QB_EACH_NO_BLANK& = 0 'the default, blank entries will not be returned
CONST QB_EACH_ALLOW_BLANK& = 1 'captures implied blanks in adjacent, leading & trailing separators
CONST QB_EACH_ALLOW_ALL_BLANK& = 2 'also captures blank if entire parent is blank (not captured by default)
'#################### HANDLE: Global ####################
'Handle Handlers (used to manage a set of handles)
TYPE __QB_HANDLE_HANDLER
lastFreedListIndex AS LONG '0=none
lastHandle AS LONG
count AS LONG
END TYPE
REDIM SHARED __QB_HANDLE_handler(1 + 0) AS __QB_HANDLE_HANDLER
'manually setup the first handle handler to maintain handles to our handle handlers
__QB_HANDLE_handler(1).lastHandle = 1
__QB_HANDLE_handler(1).lastFreedListIndex = 0
'Freed List
TYPE __QB_HANDLE_FREEDLIST
handle AS LONG
prevFreedListIndex AS LONG 'of same owner
END TYPE
REDIM SHARED __QB_HANDLE_freedList(1 + 0) AS __QB_HANDLE_FREEDLIST
DIM SHARED __QB_HANDLE_freedList_Last AS LONG: __QB_HANDLE_freedList_Last = 1
DIM SHARED __QB_HANDLE_freedList_Next AS LONG: __QB_HANDLE_freedList_Next = 1
'Freed-Freed List
REDIM SHARED __QB_HANDLE_freedFreedList(1 + 0) AS LONG
DIM SHARED __QB_HANDLE_freedFreedList_Last AS LONG: __QB_HANDLE_freedFreedList_Last = 1
DIM SHARED __QB_HANDLE_freedFreedList_Next AS LONG: __QB_HANDLE_freedFreedList_Next = 1
'##################################################
'#################### DATETIME: Global ####################
CONST QB_DATETIME_TYPE_LOCAL = 1 'local time
CONST QB_DATETIME_TYPE_OFFSET = 3
CONST QB_DATETIME_TYPE_DURATION = 4
'For duration:
' 1 day=24 hours regardless of timezone
' 1 year=366 days regardless of year
' 1 month=31 days regardless of month
TYPE QB_DATETIME
reserved AS LONG
days AS LONG '1-31
months AS LONG '1-12
years AS LONG 'eg. 2015
hours AS LONG '0-23
minutes AS LONG '0-59
seconds AS LONG '0-59
milliseconds AS LONG '0-999
microseconds AS LONG '0-999 (a microsecond is 1/1000th of a millisecond)
type AS LONG
END TYPE
DIM SHARED __QB_DATETIME_TYPE_EMPTY AS QB_DATETIME
REDIM SHARED __QB_DATETIME(0 + 1) AS QB_DATETIME
DIM SHARED __QB_DATETIME_ubound AS LONG: __QB_DATETIME_ubound = 1
DIM SHARED __QB_DATETIME_handleSet AS LONG: __QB_DATETIME_handleSet = QB_HANDLE_newSet
'##################################################
'#################### STRING: Global ####################
REDIM SHARED __QB_STR_string(1 + 0) AS STRING
REDIM SHARED __QB_STR_stringValid(1 + 0) AS LONG
DIM SHARED __QB_STR_stringUbound AS LONG: __QB_STR_stringUbound = 1
DIM SHARED __QB_STR_handleSet AS LONG: __QB_STR_handleSet = QB_HANDLE_newSet
DIM SHARED QB_STR_QUOTE AS STRING: QB_STR_QUOTE = CHR$(34)
'##################################################
'#################### NODE: Global ####################
CONST QB_NODE_TYPE_HASHSET& = 1
CONST QB_NODE_TYPE_LIST& = 2
CONST QB_NODE_TYPE_DICTIONARY& = 4
CONST QB_NODE_TYPE_VALUE& = 8 'a simple value, optionally with a label
CONST QB_NODE_ALLOW_DUPLICATE_KEYS& = 256
CONST QB_NODE_CASE_SENSITIVE& = 512
CONST QB_NODE_AVOID_DUPLICATE_VALUES_PER_KEY& = 1024 'new entries will not be added to a key if it already contains the value unless nTh is specified
CONST QB_NODE_DUPLICATE_VALUES_CASE_SENSITIVE& = 2048 'duplicate values check is case sensitive
CONST QB_NODE_DESTROY_ORPHANED_CHILDNODES& = 4096
CONST QB_NODE_FORMAT_LONG& = 1
CONST QB_NODE_FORMAT_STR& = 2
CONST QB_NODE_FORMAT_BOOL& = 4
CONST QB_NODE_FORMAT_NULL& = 8
CONST QB_TRUE& = -1
CONST QB_FALSE& = 0
CONST QB_NULL& = -2
TYPE QB_NODE_TYPE
valid AS LONG
type AS LONG
flags AS LONG
'linkage
parent AS LONG
firstChild AS LONG
lastChild AS LONG
count AS LONG
next AS LONG
prev AS LONG
owner AS LONG 'optional
'label & value
label AS LONG
labelFormat AS LONG 'eg. QB_NODE_FORMAT_STR
value AS LONG
valueFormat AS LONG
'hashsets & dictionaries
hashOffset AS LONG 'added to all keys to increase the chance of uniqueness against other KVP sets with different owners
hashReference AS LONG 'handle/value of the hashtable reference which points to this node
END TYPE
DIM SHARED QB_NODE_TYPE_EMPTY AS QB_NODE_TYPE
QB_NODE_TYPE_EMPTY.labelFormat = QB_NODE_FORMAT_NULL
QB_NODE_TYPE_EMPTY.valueFormat = QB_NODE_FORMAT_NULL
REDIM SHARED __QB_NODE(0 + 1) AS QB_NODE_TYPE
REDIM SHARED __QB_NODE_hashLists(0 + 16777215) AS LONG
DIM SHARED __QB_NODE_ubound: __QB_NODE_ubound = 1
DIM SHARED __QB_NODE_handleSet AS LONG: __QB_NODE_handleSet = QB_HANDLE_newSet
'##################################################
'#################### __JSON: Global ####################
CONST QB_JSON_STRING& = 1
CONST QB_JSON_NUMBER& = 2
CONST QB_JSON_BOOL& = 3
CONST QB_JSON_NULL& = 4
'http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
'\b Backspace CHR$(8)
'\f Form feed CHR$(12)
'\n New line CHR$(10)
'\r Carriage return CHR$(13)
'\t Tab CHR$(9)
'\" Double quote CHR$(34)
'\\ Backslash caracter CHR$(92)
DIM SHARED __QB_JSON_escape_lookup(255) AS LONG
__QB_JSON_escape_lookup(8) = ASC("b")
__QB_JSON_escape_lookup(12) = ASC("f")
__QB_JSON_escape_lookup(10) = ASC("n")
__QB_JSON_escape_lookup(13) = ASC("r")
__QB_JSON_escape_lookup(9) = ASC("t")
__QB_JSON_escape_lookup(34) = 34
__QB_JSON_escape_lookup(92) = ASC("\")
DIM SHARED __QB_JSON_escape_lookup_reversed(255) AS LONG
__QB_JSON_escape_lookup_reversed(ASC("b")) = 8
__QB_JSON_escape_lookup_reversed(ASC("f")) = 12
__QB_JSON_escape_lookup_reversed(ASC("n")) = 10
__QB_JSON_escape_lookup_reversed(ASC("r")) = 13
__QB_JSON_escape_lookup_reversed(ASC("t")) = 9
__QB_JSON_escape_lookup_reversed(34) = 34
__QB_JSON_escape_lookup_reversed(ASC("\")) = 92
__QB_JSON_escape_lookup_reversed(ASC("B")) = 8
__QB_JSON_escape_lookup_reversed(ASC("F")) = 12
__QB_JSON_escape_lookup_reversed(ASC("N")) = 10
__QB_JSON_escape_lookup_reversed(ASC("R")) = 13
__QB_JSON_escape_lookup_reversed(ASC("T")) = 9
__QB_JSON_escape_lookup_reversed(ASC("'")) = 39 'allow for escaping single quotes \'
_MAPUNICODE &H00A0~& TO 255
'##################################################

File diff suppressed because it is too large Load diff

View file

@ -1,2 +0,0 @@
'$include:'..\..\qb_framework\qb_framework_methods.bas'
'$include:'..\virtual_keyboard_methods.bas'

View file

@ -1,7 +0,0 @@
'$include:'..\..\qb_framework\qb_framework_global.bas'
'$include:'..\virtual_keyboard_global.bas'
DEFSNG A-Z
$INSTALLFILES "..\..\..\cyberbit.ttf"
$INSTALLFILES "..\layouts\virtual_keyboard_layout_default.txt"
dim shared appRootPath as string
appRootPath$=_CWD$+"\" '_CWD$ is the application root when the program launches, preserve this value for later use before client program changes the path

File diff suppressed because one or more lines are too long

View file

@ -1,177 +0,0 @@
DEFSNG A-Z
DECLARE LIBRARY
SUB requestKeyboardOverlayImage (BYVAL handle AS LONG)
SUB mouseinput_mode (BYVAL exclusive AS LONG)
FUNCTION func__mouseinput_exclusive&
END DECLARE
'VK Constants
'$include:'virtual_keyboard_keycodes.bas'
'$include:'virtual_keyboard_keypush.bas'
'VK Types
TYPE VKEY_EVENT
keydown AS LONG
END TYPE
TYPE VKEY_DPAD
up AS VKEY_EVENT
down AS VKEY_EVENT
left AS VKEY_EVENT
right AS VKEY_EVENT
x AS SINGLE '-1 to 1
y AS SINGLE '-1 to 1
dx AS LONG '-1, 0, 1
dy AS LONG '-1, 0, 1
lastKeyDx AS LONG '-1, 0, 1
lastKeyDy AS LONG '-1, 0, 1
END TYPE
TYPE VKEY_TYPE
active AS LONG '1=in use
internal AS LONG
role AS STRING * 4
state AS LONG
label AS STRING * 100
x AS LONG 'left hand side
y AS LONG 'from base of screen
w AS LONG 'width
h AS LONG 'height (default is 10)
parent AS LONG
offsetX AS LONG
offsetY AS LONG
held AS LONG
event AS VKEY_EVENT
hasShiftedEvent AS LONG
shiftedEvent AS VKEY_EVENT 'eg. when shifted or caps lock is on
shiftedLabel AS STRING * 100
locks AS LONG '1 or 0 eg. num lock, scroll lock, caps lock
lockIsTemporary AS LONG 'eg shift key, locks till next press
locked AS LONG
dpad AS VKEY_DPAD
subImage AS LONG
image AS LONG
highlightImage AS LONG
selectedImage AS LONG
shiftedImage AS LONG
shiftedHighlightImage AS LONG
shiftedSelectedImage AS LONG
reDraw AS LONG
'key repeat
lastKeydownTime AS SINGLE
keyRepeatCount AS LONG
keyRepeatKeyCode AS LONG
END TYPE
'VK Global Variables
DIM SHARED VK(1000) AS VKEY_TYPE
DIM SHARED VkLast
DIM SHARED VkEmpty AS VKEY_TYPE
VkEmpty.label = ""
DIM SHARED VkHide: VkHide = 1
DIM SHARED VkUnitStepY: VkUnitStepY = 6
DIM SHARED VkNewKeySize: VkNewKeySize = 6
DIM SHARED VkDefaultWidth: VkDefaultWidth = 6
DIM SHARED VkLastSelectionPage: VkLastSelectionPage = 1
DIM SHARED VkUnitSize 'size of a unit in pixels (floating point)
DIM SHARED VkDefaultSelectKeyPage: VkDefaultSelectKeyPage = 1
DIM SHARED VkFont
DIM SHARED VkFontSmall
DIM SHARED VkKeyNameLookup AS LONG
DIM SHARED VkKeyCodeLookup AS LONG
VkAddKeyNames
'fonts are loaded on startup, not all sizes are available and the system will
'find/use the best match
DIM SHARED vkFonts(1000) AS LONG
DIM SHARED vkFontAllow(1000) AS LONG
vkFontAllow(8)=1
vkFontAllow(9)=1
vkFontAllow(10)=1
vkFontAllow(11)=1
vkFontAllow(12)=1
vkFontAllow(14)=1
vkFontAllow(16)=1
vkFontAllow(18)=1
vkFontAllow(20)=1
vkFontAllow(24)=1
vkFontAllow(28)=1
vkFontAllow(32)=1
vkFontAllow(36)=1
vkFontAllow(48)=1
vkFontAllow(72)=1
vkFontAllow(100)=1
DIM SHARED VkBgTex
DIM SHARED VkBorderTex
DIM SHARED VkInternalBgTex
DIM SHARED VkInternalBorderTex
DIM SHARED VkClearTex
DIM SHARED VkSelectedKey
DIM SHARED VkAddShiftedKey
DIM SHARED VkWinX
DIM SHARED VkWinY
DIM SHARED VkOverlay 'an image overlayed over the other content
DIM SHARED VkBackbuffer 'backbuffer of overlay
DIM SHARED VkExiting
DIM SHARED VkExited
DIM SHARED VkReset
DIM SHARED VkDelayStartTime AS DOUBLE
DIM SHARED VkDelay AS DOUBLE
VkDelayStartTime=TIMER(0.001)
VkDelay=1 'programs typically set their screen resolution on start, so wait a second before trying to build a keyboard which matches that resolution
DIM SHARED VkDelayedReset
DIM SHARED VkWidthInUnits
DIM SHARED VkTimer
VkTimer = _FREETIMER
DIM SHARED VkReDraw AS LONG: VkReDraw = 1
DIM SHARED VkDelayUntilFirstRepeat AS SINGLE: VkDelayUntilFirstRepeat = 0.75
DIM SHARED VkDelayUntilFollowingRepeats AS SINGLE: VkDelayUntilFollowingRepeats = 0.025 '40 per sec
TYPE VkRegTypeX
ax AS INTEGER
bx AS INTEGER
cx AS INTEGER
dx AS INTEGER
bp AS INTEGER
si AS INTEGER
di AS INTEGER
flags AS INTEGER
ds AS INTEGER
es AS INTEGER
END TYPE
DIM SHARED VkReg AS VkRegTypeX
DIM SHARED VkSharedMouseMx AS LONG
DIM SHARED VkSharedMouseMy AS LONG
DIM SHARED VkSharedMouseMb AS LONG
DIM SHARED VkSharedInputMode AS LONG: VkSharedInputMode = -1
ON TIMER(VkTimer, .01) VkUpdate
TIMER(VkTimer) ON
DIM SHARED VkMousePipe AS LONG
DIM SHARED VkMousePipeCapture AS LONG

View file

@ -1,207 +0,0 @@
CONST VK_KEY_PAUSE& = 100019
CONST VK_KEY_NUMLOCK& = 100300
CONST VK_KEY_CAPSLOCK& = 100301
CONST VK_KEY_SCROLLOCK& = 100302
CONST VK_KEY_RSHIFT& = 100303
CONST VK_KEY_LSHIFT& = 100304
CONST VK_KEY_RCTRL& = 100305
CONST VK_KEY_LCTRL& = 100306
CONST VK_KEY_RALT& = 100307
CONST VK_KEY_LALT& = 100308
CONST VK_KEY_RMETA& = 100309 'Left 'Apple' key (MacOSX)
CONST VK_KEY_LMETA& = 100310 'Right 'Apple' key (MacOSX)
CONST VK_KEY_LSUPER& = 100311 'Left "Windows" key
CONST VK_KEY_RSUPER& = 100312 'Right "Windows"key
CONST VK_KEY_MODE& = 100313 '"AltGr" key
CONST VK_KEY_COMPOSE& = 100314
CONST VK_KEY_HELP& = 100315
CONST VK_KEY_PRINT& = 100316
CONST VK_KEY_SYSREQ& = 100317
CONST VK_KEY_BREAK& = 100318
CONST VK_KEY_MENU& = 100319
CONST VK_KEY_POWER& = 100320
CONST VK_KEY_EURO& = 100321
CONST VK_KEY_UNDO& = 100322
CONST VK_KEY_KP0& = 100256
CONST VK_KEY_KP1& = 100257
CONST VK_KEY_KP2& = 100258
CONST VK_KEY_KP3& = 100259
CONST VK_KEY_KP4& = 100260
CONST VK_KEY_KP5& = 100261
CONST VK_KEY_KP6& = 100262
CONST VK_KEY_KP7& = 100263
CONST VK_KEY_KP8& = 100264
CONST VK_KEY_KP9& = 100265
CONST VK_KEY_KP_PERIOD& = 100266
CONST VK_KEY_KP_DIVIDE& = 100267
CONST VK_KEY_KP_MULTIPLY& = 100268
CONST VK_KEY_KP_MINUS& = 100269
CONST VK_KEY_KP_PLUS& = 100270
CONST VK_KEY_KP_ENTER& = 100271
CONST VK_KEY_KP_INSERT& = 200000
CONST VK_KEY_KP_END& = 200001
CONST VK_KEY_KP_DOWN& = 200002
CONST VK_KEY_KP_PAGE_DOWN& = 200003
CONST VK_KEY_KP_LEFT& = 200004
CONST VK_KEY_KP_MIDDLE& = 200005
CONST VK_KEY_KP_RIGHT& = 200006
CONST VK_KEY_KP_HOME& = 200007
CONST VK_KEY_KP_UP& = 200008
CONST VK_KEY_KP_PAGE_UP& = 200009
CONST VK_KEY_KP_DELETE& = 200010
CONST VK_KEY_SCROLL_LOCK_MODE& = 200011
CONST VK_KEY_INSERT_MODE& = 200012
CONST VK_KEY_F1& = 15104
CONST VK_KEY_F2& = 15360
CONST VK_KEY_F3& = 15616
CONST VK_KEY_F4& = 15872
CONST VK_KEY_F5& = 16128
CONST VK_KEY_F6& = 16384
CONST VK_KEY_F7& = 16640
CONST VK_KEY_F8& = 16896
CONST VK_KEY_F9& = 17152
CONST VK_KEY_F10& = 17408
CONST VK_KEY_F11& = 34048
CONST VK_KEY_F12& = 34304
CONST VK_KEY_INSERT& = 20992
CONST VK_KEY_DELETE& = 21248
CONST VK_KEY_HOME& = 18176
CONST VK_KEY_END& = 20224
CONST VK_KEY_PAGE_UP& = 18688
CONST VK_KEY_PAGE_DOWN& = 20736
CONST VK_KEY_UP& = 18432
CONST VK_KEY_DOWN& = 20480
CONST VK_KEY_LEFT& = 19200
CONST VK_KEY_RIGHT& = 19712
CONST VK_KEY_BACKSPACE& = 8
CONST VK_KEY_TAB& = 9
CONST VK_KEY_ENTER& = 13
CONST VK_KEY_ESCAPE& = 27
CONST VK_KEY_SPACE& = 32
CONST VK_KEY_EXCLAMATION& = 33
CONST VK_KEY_QUOTE& = 34
CONST VK_KEY_HASH& = 35
CONST VK_KEY_DOLLAR& = 36
CONST VK_KEY_PERCENT& = 37
CONST VK_KEY_AND& = 38
CONST VK_KEY_APOSTROPHE& = 39
CONST VK_KEY_OPEN_BRACKET& = 40
CONST VK_KEY_CLOSE_BRACKET& = 41
CONST VK_KEY_STAR& = 42
CONST VK_KEY_PLUS& = 43
CONST VK_KEY_COMMA& = 44
CONST VK_KEY_MINUS& = 45
CONST VK_KEY_DOT& = 46
CONST VK_KEY_FORWARD_SLASH& = 47
CONST VK_KEY_0& = 48
CONST VK_KEY_1& = 49
CONST VK_KEY_2& = 50
CONST VK_KEY_3& = 51
CONST VK_KEY_4& = 52
CONST VK_KEY_5& = 53
CONST VK_KEY_6& = 54
CONST VK_KEY_7& = 55
CONST VK_KEY_8& = 56
CONST VK_KEY_9& = 57
CONST VK_KEY_COLON& = 58
CONST VK_KEY_SEMICOLON& = 59
CONST VK_KEY_LESS_THAN& = 60
CONST VK_KEY_EQUAL& = 61
CONST VK_KEY_GREATER_THAN& = 62
CONST VK_KEY_QUESTION& = 63
CONST VK_KEY_AT& = 64
CONST VK_KEY_A& = 65
CONST VK_KEY_B& = 66
CONST VK_KEY_C& = 67
CONST VK_KEY_D& = 68
CONST VK_KEY_E& = 69
CONST VK_KEY_F& = 70
CONST VK_KEY_G& = 71
CONST VK_KEY_H& = 72
CONST VK_KEY_I& = 73
CONST VK_KEY_J& = 74
CONST VK_KEY_K& = 75
CONST VK_KEY_L& = 76
CONST VK_KEY_M& = 77
CONST VK_KEY_N& = 78
CONST VK_KEY_O& = 79
CONST VK_KEY_P& = 80
CONST VK_KEY_Q& = 81
CONST VK_KEY_R& = 82
CONST VK_KEY_S& = 83
CONST VK_KEY_T& = 84
CONST VK_KEY_U& = 85
CONST VK_KEY_V& = 86
CONST VK_KEY_W& = 87
CONST VK_KEY_X& = 88
CONST VK_KEY_Y& = 89
CONST VK_KEY_Z& = 90
CONST VK_KEY_UCASE_A& = 65
CONST VK_KEY_UCASE_B& = 66
CONST VK_KEY_UCASE_C& = 67
CONST VK_KEY_UCASE_D& = 68
CONST VK_KEY_UCASE_E& = 69
CONST VK_KEY_UCASE_F& = 70
CONST VK_KEY_UCASE_G& = 71
CONST VK_KEY_UCASE_H& = 72
CONST VK_KEY_UCASE_I& = 73
CONST VK_KEY_UCASE_J& = 74
CONST VK_KEY_UCASE_K& = 75
CONST VK_KEY_UCASE_L& = 76
CONST VK_KEY_UCASE_M& = 77
CONST VK_KEY_UCASE_N& = 78
CONST VK_KEY_UCASE_O& = 79
CONST VK_KEY_UCASE_P& = 80
CONST VK_KEY_UCASE_Q& = 81
CONST VK_KEY_UCASE_R& = 82
CONST VK_KEY_UCASE_S& = 83
CONST VK_KEY_UCASE_T& = 84
CONST VK_KEY_UCASE_U& = 85
CONST VK_KEY_UCASE_V& = 86
CONST VK_KEY_UCASE_W& = 87
CONST VK_KEY_UCASE_X& = 88
CONST VK_KEY_UCASE_Y& = 89
CONST VK_KEY_UCASE_Z& = 90
CONST VK_KEY_OPEN_BRACKET_SQUARE& = 91
CONST VK_KEY_BACK_SLASH& = 92
CONST VK_KEY_CLOSE_BRACKET_SQUARE& = 93
CONST VK_KEY_CARET& = 94
CONST VK_KEY_UNDERSCORE& = 95
CONST VK_KEY_REVERSE_APOSTROPHE& = 96
CONST VK_KEY_LCASE_A& = 97
CONST VK_KEY_LCASE_B& = 98
CONST VK_KEY_LCASE_C& = 99
CONST VK_KEY_LCASE_D& = 100
CONST VK_KEY_LCASE_E& = 101
CONST VK_KEY_LCASE_F& = 102
CONST VK_KEY_LCASE_G& = 103
CONST VK_KEY_LCASE_H& = 104
CONST VK_KEY_LCASE_I& = 105
CONST VK_KEY_LCASE_J& = 106
CONST VK_KEY_LCASE_K& = 107
CONST VK_KEY_LCASE_L& = 108
CONST VK_KEY_LCASE_M& = 109
CONST VK_KEY_LCASE_N& = 110
CONST VK_KEY_LCASE_O& = 111
CONST VK_KEY_LCASE_P& = 112
CONST VK_KEY_LCASE_Q& = 113
CONST VK_KEY_LCASE_R& = 114
CONST VK_KEY_LCASE_S& = 115
CONST VK_KEY_LCASE_T& = 116
CONST VK_KEY_LCASE_U& = 117
CONST VK_KEY_LCASE_V& = 118
CONST VK_KEY_LCASE_W& = 119
CONST VK_KEY_LCASE_X& = 120
CONST VK_KEY_LCASE_Y& = 121
CONST VK_KEY_LCASE_Z& = 122
CONST VK_KEY_OPEN_BRACKET_CURLY& = 123
CONST VK_KEY_VERTICAL_BAR& = 124
CONST VK_KEY_CLOSE_BRACKET_CURLY& = 125
CONST VK_KEY_TILDE& = 126
CONST VK_KEY_BACKSPACE_ALTERNATE& = 127

View file

@ -1,11 +0,0 @@
DECLARE LIBRARY ""
SUB keydown_ascii (BYVAL keycode~&)
SUB keyup_ascii (BYVAL keycode~&)
SUB keydown_unicode (BYVAL keycode~&)
SUB keyup_unicode (BYVAL keycode~&)
SUB keydown_vk (BYVAL keycode~&)
SUB keyup_vk (BYVAL keycode~&)
'these map directly to keydown/keyup except for unicode which remaps extended CP437 & double-width
SUB keydown (BYVAL keycode~&)
SUB keyup (BYVAL keycode~&)
END DECLARE

File diff suppressed because one or more lines are too long