Author Topic: KeyboardSearch module  (Read 8565 times)

iOtero

  • Sr. Member
  • ****
  • Posts: 325
    • View Profile
Re: KeyboardSearch module
« Reply #45 on: June 23, 2019, 10:24:09 AM »
Run:
Code: [Select]
attract --loglevel debug

launch the keyboardsearch module and put here the last_run.log file.

I'm putting 2 files. One log and the other layout. I put the module script in the last line of the layout file.

The [ ] in the colors must be removed.
And I would leave the function like this:

Code: [Select]
fe.load_module("objects/keyboard-search");
local search_surface = fe.add_surface(fe.layout.width, fe.layout.height)
KeyboardSearch(search_surface)
    .search_key(my_config["user_search_key"])
    .mode(my_config["user_search_method"])
    .text_color(255,0,255,255)
    .keys_color(255,255,255,255)
    .keys_selected_color(255,50,255,255)
    .init()
search_surface.set_pos(0, 0, fe.layout.width, fe.layout.height);

I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

Wenzon

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: KeyboardSearch module
« Reply #46 on: June 23, 2019, 02:17:34 PM »
Run:
Code: [Select]
attract --loglevel debug

launch the keyboardsearch module and put here the last_run.log file.

I'm putting 2 files. One log and the other layout. I put the module script in the last line of the layout file.

The [ ] in the colors must be removed.
And I would leave the function like this:

Code: [Select]
fe.load_module("objects/keyboard-search");
local search_surface = fe.add_surface(fe.layout.width, fe.layout.height)
KeyboardSearch(search_surface)
    .search_key(my_config["user_search_key"])
    .mode(my_config["user_search_method"])
    .text_color(255,0,255,255)
    .keys_color(255,255,255,255)
    .keys_selected_color(255,50,255,255)
    .init()
search_surface.set_pos(0, 0, fe.layout.width, fe.layout.height);

Thaaaaaaaannnnnnnkkkkkkkkouuuuuuuuu!!!! Wonderful, spectacular, amazing !!! I have no words to thank. I would hardly solve this problem.
I do not think I'm going to stop thanking you. Thank you very much for your time and help.  :)
« Last Edit: June 23, 2019, 02:19:35 PM by Wenzon »

iOtero

  • Sr. Member
  • ****
  • Posts: 325
    • View Profile
Re: KeyboardSearch module
« Reply #47 on: June 24, 2019, 04:54:03 AM »
Thanks. I'm glad i was useful.  :-[
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D

Wenzon

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: KeyboardSearch module
« Reply #48 on: June 25, 2019, 10:13:33 AM »
A doubt.
Can you decrease the font size when you are selecting a letter or number?

iOtero

  • Sr. Member
  • ****
  • Posts: 325
    • View Profile
Re: KeyboardSearch module
« Reply #49 on: June 26, 2019, 03:09:18 AM »
A doubt.
Can you decrease the font size when you are selecting a letter or number?

From what i have seen analyzing the module, you can not.
I love that on my laptop the eyes shine to the Alien every time i access the ssd... :D