Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see:
viewtopic.php?t=158230
Programming languages, Coding, Executables, Package Creation, and Scripting.
Scorpion
Posts: 389 Joined: 2018-10-17 11:38
Has thanked: 5 times
#1
Post
by Scorpion » 2022-09-25 15:28
https://tools.suckless.org/x/svkbd/
You can create svkbd for additional layouts by doing:
$ make LAYOUT=$layout
This will take the file layout.$layout.h and create svkbd-$layout. make install will then pick up the new file and install it accordingly.
I am trying to make a new layout but:
Code: Select all
make LAYOUT=layout.custom
cp config.def.h config.h
c99 -O1 -I. -I./layouts -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -D_DEFAULT_SOURCE -DVERSION=\"0.4.1\" -DXINERAMA -DLAYOUT=\"layout.layout.custom.h\" -c drw.c
make: *** No rule to make target 'layout.layout.custom.h', needed by 'svkbd-layout.custom.o'. Stop.
Do I need to make svkbd-layout.custom.o?
Other layout doesn't have it.
Scorpion
Posts: 389 Joined: 2018-10-17 11:38
Has thanked: 5 times
#3
Post
by Scorpion » 2022-10-18 15:23
Correct.
Can you make a key act like you are pressing 2 keys?
e.g. merging { "↑", 0, XK_Up, 1 } and { "←", 0, XK_Left, 1 } .
{ "⬉", 0, XK_Up | XK_Left, 1 } ?