01-01-2021, 11:38 PM | #31 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Single line text input is awaiting review for merging. This was an interesting puzzle to figure out.
It's time to get your last minute feature requests in now! I can't promise that any will be implemented, but I'll at least investigate to see if they are feasible. |
01-04-2021, 02:57 AM | #32 |
Guru
Posts: 944
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
I think I remembered what I wanted the single line text input for.
I want an alarm clock. Or a countdown timer. Or something like that. I want to wake up at a specific time and display the time. But if I can input the time, I probably can figure out the rest. |
Advert | |
|
01-25-2021, 06:01 PM | #33 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Continuing from the FBInk thread:
Quote:
Code:
SIGNAL :: void aboutToSleep() SIGNAL :: void resumingFromSleep() SIGNAL :: void resumedFromSleep() SIGNAL :: void aboutToPowerOff() SIGNAL :: void aboutToReboot() |
|
01-25-2021, 08:08 PM | #34 |
Connoisseur
Posts: 56
Karma: 74
Join Date: Oct 2010
Device: Kindle 3
|
Oh cool! So I'm right in thing that when the device goes to sleep it basically just displays the screensaver and turns off the frontlight and nothing actually gets stopped? If that's the case then I'm definitely going to want to make sure that wifi is turned off when that happens, so being able to listen for that signal with NickelDBus would be super useful!
|
01-25-2021, 08:21 PM | #35 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
I'm not entirely sure what happens when. I think I've seen somewhere that Nickel eventually goes into a suspend mode, but I don't know when that happens. Looking at the symbols though, there's definitely suspendas well as sleep, and suspend definitely looks a lot more complete.
|
Advert | |
|
01-26-2021, 10:27 AM | #36 |
Connoisseur
Posts: 56
Karma: 74
Join Date: Oct 2010
Device: Kindle 3
|
I guess the other option would be to listen for the button presses, but I don't seem to see any event in the input devices. Any idea what the situation is with that? Would be good to have access to the page turn buttons regardless..
|
01-26-2021, 11:38 AM | #37 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nickel grabs event0 by default, there's a patch for that .
|
01-26-2021, 01:51 PM | #38 |
Connoisseur
Posts: 56
Karma: 74
Join Date: Oct 2010
Device: Kindle 3
|
|
01-26-2021, 03:00 PM | #40 |
Connoisseur
Posts: 56
Karma: 74
Join Date: Oct 2010
Device: Kindle 3
|
Awesome! I was looking at kobopatch, but couldn't see any mention of this patch. Think I understand kobopatch a bit better now. Impressive little project! So much tidier than the early days of kindle hacking
|
11-06-2021, 12:40 AM | #41 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
NickelDBus 0.2.0 released
At long last, here's a new release of NickelDBus. This release is (mostly) all about more flexible dialogs.
New Features
It's a KoboRoot.tgz, so can be installed in the usual manner, no special care is required to upgrade. The release can be found on GitHub. Documentation has been updated. New functionality is indicated by the string "This function was introduced in NickelDBus 0.2.0 Please let me know if you have any issues. |
06-29-2022, 06:25 PM | #42 |
Addict
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
|
Just wondering that when I see something like the below in the API Documentation is it a work in progress to be officially released in the next version?
Code:
void NDBDbus::wmWifiEnabled(bool enabled) [signal] (todo: figure this out) Is wifi enabled ? |
06-29-2022, 06:52 PM | #43 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
The actual implementation is complete and won't change. If you can confirm the signal does what it says on the tin, I'll update the documentation. Same as with all the other Wifi signals. |
|
06-29-2022, 07:04 PM | #44 |
Addict
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
|
Thanks, think I may need to use it.
|
06-30-2022, 09:22 PM | #45 | |
Addict
Posts: 205
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
|
Quote:
With wfmSetAirplaneMode removed from the script; 1. It does return a signal - if you enable or disable the Wifi from the icon on the screen. With this script; 1. It does not seem to do anything = if you do not touch the screen. 2. It does return a signal = if you open the Wifi icon on the screen. The script can run for 30sec or 1min or 2min but when the Wifi icon is opened, about 10sec later it will return a signal. 3. It does return a signal = if you open something on the screen (about 10sec later). Open a book, My Books, Discover, synch etc are all I have tested. Opening NickelMenu 'menu' does not seem to have any affect. 4. It does return a signal = Access point is turned off - and you open the Wifi icon or Discover it will display "Searching for networks". Did not test this with other screen icons. That's all I can think about to test, if you have anything specific you want tested let me know. Also there might be something wrong with my script as it does not seem to timeout, have let it run for 10 minutes. Did let it run for 8 minutes and it displayed the "ERROR: timeout" message only after I opened a screen icon. If it let it run for 3min it displays the "Enabled Wifi" message. Am I doing something wrong, I have noticed this in another script I have done as well? Code:
signal07=$(qndb -t 50000 -s wmWifiEnabled -t 40000 -m wfmSetAirplaneMode "enable") if [ "$signal07" = "wmWifiEnabled true" ]; then qndb -m dlgConfirmAccept "Wifi Timer 7" "Enabled Wifi" "OK" elif [ "$signal07" = "wmWifiEnabled false" ]; then qndb -m dlgConfirmAccept "Wifi Timer 7" "Failed to enable Wifi" "OK" else qndb -m dlgConfirmAccept "Wifi Timer 7" "ERROR: timeout" "OK" fi Last edited by Rid; 06-30-2022 at 09:27 PM. |
|
Tags |
kobo, ldpreload, nickel |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
'RUN, RUN, RUN' a crime thriller $1.61 | tothepoint | Self-Promotions by Authors and Publishers | 10 | 09-01-2014 01:07 PM |
Calibre: Bus error | migdus | Calibre | 7 | 08-16-2011 12:58 AM |
/proc/bus/usb ? | troymc | Calibre | 3 | 09-05-2009 11:35 AM |