Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Replace Watch Text Selection With Keyboard #7

Open
PhlexPlexico opened this issue Jul 9, 2021 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@PhlexPlexico
Copy link
Owner

Description
I think it still may be possible to take control of the built in system keyboard when trying to type something in for a watch, or even for mem addresses.

Additional context
This is just to look into, not sure if it's possible but will be keeping this open until I can find out.

@PhlexPlexico PhlexPlexico added the enhancement New feature or request label Jul 9, 2021
@PhlexPlexico PhlexPlexico added the help wanted Extra attention is needed label Jul 29, 2021
@PhlexPlexico
Copy link
Owner Author

PhlexPlexico commented Jul 29, 2021

I'm sure there's still some configuration that's needed in order to compile this properly. The current error from compiling if you try adding in a new software keyboard

"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: warning: address of `text-segment' isn't multiple of maximum page size\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(swkbd.o): in function `swkbdMessageCallback':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/applets/swkbd.c:156: undefined reference to `__apt_appid'\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(apt.o): in function `aptSetSleepAllowed':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/services/apt.c:271: undefined reference to `__apt_appid'\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(apt.o): in function `aptReceiveParameter':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/services/apt.c:594: undefined reference to `__apt_appid'\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(apt.o): in function `aptScreenTransfer':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/services/apt.c:744: undefined reference to `__apt_appid'\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(apt.o): in function `aptWaitForWakeUp':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/services/apt.c:627: undefined reference to `__apt_appid'\n"
"/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/11.1.0/../../../../arm-none-eabi/bin/ld: /opt/devkitpro/libctru/lib/libctru.a(env.o): in function `envGetHandle':\n"
"/home/fincs/pacman-packages/libctru/src/libctru-2.0.1/libctru/source/env.c:53: undefined reference to `__service_ptr'\n"

Using the following instantiations

static SwkbdState swkbd;
swkbdInit(&swkbd, SWKBD_TYPE_WESTERN, 1, -1);
swkbdSetValidation(&swkbd, SWKBD_NOTEMPTY_NOTBLANK, SWKBD_FILTER_DIGITS | SWKBD_FILTER_AT |
  SWKBD_FILTER_PERCENT | SWKBD_FILTER_BACKSLASH | SWKBD_FILTER_PROFANITY, 2);
swkbdSetFeatures(&swkbd, SWKBD_MULTILINE);
swkbdSetHintText(&swkbd, "Please enter a memory address.");
swkbdInputText(&swkbd, buf, len);
return buf;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant