Giter Club home page Giter Club logo

Comments (3)

ldrahnik avatar ldrahnik commented on June 28, 2024

Variables associated with each NumberPad model (still might be overridden with custom value / create own new one):

  • keys
  • keys_ignore_offset
  • top_left_icon_width
  • top_left_icon_height
  • top_right_icon_width
  • top_right_icon_height
  • top_left_icon_slide_func_keys
  • top_offset
  • right_offset
  • bottom_offset
  • left_offset
  • touchpad_physical_buttons_are_inside_numpad
  • backlight_levels

Config files

  • brightness # [<hex value>] # last brightness
  • auto_disable_due_inactivity_time # [, 0; default 60], 0 means function is disabled = do not auto disable due inactivity
  • multitouch # [1,0; default 0]
  • one_touch_key_rotation # [1,0; default 0]
  • key_repetitions # [1,0; default 0]
  • activation_time_left_icon # [<positive number>, default 1]
  • activation_time # [<positive number>, default 1]
  • touchpad_disables_numpad # [1,0; default 1]
  • top_left_icon_slide_func_activation_x_ratio # [<positive float in range 0-1>, default 0.3]
  • top_left_icon_slide_func_activation_y_ratio # [<positive float in range 0-1>, default 0.3]
  • top_left_icon_brightness_func # [1,0; default 1 but it is <depending value on not empty backlight_levels>] # BUT file should - exists only (should be looked to this variable only) if exist an array of backlight levels, otherwise automatically 0
  • top_left_icon_activate_numpad # [1,0; default 1]
  • enabled # [1,0; default 0] # reflect status enabled/disabled of NumberPad
  • numpad_disables_sys_numlock # [1,0; default 1]
  • top_left_icon_slide_func_activate_numpad # [1,0; default 1]
  • default_backlight_level # [<hex value>, default 0x01]

Static constants

  • try_times # [<positive number>, default 5] # probably will be removed, need to look at why the variable exists
  • try_sleep # [<positive float>, default 0.1] # probably will be removed, need to look at why variable exists

Layout dependent default config values

  • sys_numlock_enables_numpad # [1,0; default 0] # auto enable when does not exist NUMLOCK in keys and right icon has no valid dimension

Delayed because layouts of NumberPad now does not need

Config:

  • top_left_icon_keys # [default [EV_KEY.KEY_CALC]] # TODO add implementation, atm brightness function or nothing, for slide function can be used everything
  • top_right_icon_keys # [default [EV_KEY.KEY_NUMLOCK]] # TODO add implementation, because atm is functionality of right icon every time numlock

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024

TODO:

  • TODO in code: if is numlock not found in keys array and right icon has no dimensions, in this case auto enable sys_numlock_enables_numpad
  • Readme.md is broken, I separated it to 2 tables
  • config file might not be created because of permission issues (check if it works)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024

TODO:
- add enabled config entry and add checking via thread with autoenable; the same for brightness changed via file and maybe more

from asus-numberpad-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.