Skip to content

Commit

Permalink
Initial commit (files)
Browse files Browse the repository at this point in the history
  • Loading branch information
XK9274 committed Oct 30, 2023
1 parent cdb2b2b commit 26c4159
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
Binary file added lib/libkbinput.so
Binary file not shown.
15 changes: 15 additions & 0 deletions src/common/components/kbinput_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// kbinput_wrapper.h
#ifndef KBINPUT_WRAPPER_H
#define KBINPUT_WRAPPER_H

#ifdef __cplusplus
extern "C" {
#endif

const char* launch_keyboard(const char *initial_value, const char *title);

#ifdef __cplusplus
}
#endif

#endif // KBINPUT_WRAPPER_H
2 changes: 1 addition & 1 deletion src/tweaks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include ../common/config.mk

TARGET = tweaks
CFLAGS := $(CFLAGS) -D_DEFAULT_SOURCE
LDFLAGS := $(LDFLAGS) -lSDL -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL_rotozoom -pthread
LDFLAGS := $(LDFLAGS) -lSDL -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL_rotozoom -pthread -lkbinput

include ../common/commands.mk
include ../common/recipes.mk
1 change: 1 addition & 0 deletions src/tweaks/tweaks.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ int main(int argc, char *argv[])
if (list_currentItem(menu_stack[menu_level])->action != NULL) {
sound_change();
skip_next_change = true;
keystate[SW_BTN_A] = RELEASED;
}
key_changed = list_activateItem(menu_stack[menu_level]) || header_changed;
}
Expand Down

0 comments on commit 26c4159

Please sign in to comment.