Tags: ZakharEl/mxkbd
Tags
- changed the way error reporting gets placed onto the ipc messaging - replaced usigned int and unsigned char with uint32_t and uint8_t respectively to compile accross different architectures where usigned int and unsigned char might differ in length - changed README to have password lock addressment in TO DO section
- changed keybind_mode deconstructor to unbind all mods and keys if t… …he mode to be deleted is the grabbed_keybind_mode - fixed get_modifier_from_keycode - added bind and unbind methods to keybind_grab - changed == operator overload to use a copy of keybind_bind's seq rather than the actual member seq - moved delete_all_keybind_grabs to above keybind_mode class definition and the rewrote keybind_mode deconstructor to use delete_all_keybind_grabs - added remove_a_keybind method to keybind_mode - changed remove operation to use remove_a_keybind method - changed get_modifier_from_string to have default else block - added notes and expanded the todo list of README - added an example gif file and a depiction of it in the README - removed unneeded setting of chained global variable and added needed setting of chained variable to make add_to_keybinds method of keybind_mode correct grab or not grab newly added mode
- change keybind_grab constructor to fix mistake with the setting of … …its keycode - then placed what had formerly been keybind_grab's constructor's body into new keybind_grab member function setup - changed keybind_bind constructor to have a boolean by reference parameter to indicate whether the constructor's bind_seq parameter is valid in syntax - changed the error reporting within the else block directly below the add_to_keybinds function call to also indicate error was possibly due to invalid syntax - changed keybind_grab's == operator overload to not include is_key_release comparision - changed keybind_grab's == operator overload to have its parameter to be a by reference parameter - added stringstream::clear function calls above many stringstream::seekg function calls so the seekg function calls will actually work and not just set the position to -1 - extended the poll section to include xcb_fd - added a bunch of functions to setup, get, update and remove keybind grabs - then added xcb_poll_for_event call and the code within the xcb_poll_for_event conditional block - first keybind grab attempt seems to fail due to some library function withing xcb_poll_for_event but then everything works as expected - changed README to reflect keybinds are now grabbing keyboard input and triggering their commands appropriately
- added xcb_conn - added keybind_grab::get_keycode_from_keysym - added setup_xcb - added makefile - moved mxkbd.1 to doc folder - added X11/Xlib.h library - added functions get_keycode_from_keysym, get_keycode_from_string, get_modifier_from_keycode, get_modifier_from_raw_keysym_string and get_modifier_from_string - added keybind_grab's == operator overload and constructor - added installation section to README - added mention of mxkbc in README