[Gambas-user] How can I distinguish between left shift key and right shift key?

Jorge Carrión shordi at gmail.com
Sun May 10 20:54:13 CEST 2020


Sorry, the control key does not distinguish between left and right either.
I don't know why I said it before.

Now I'm working on a Raspberry Pi (quarantine issues).

Best Regards.


This is my System Information
[System]
Gambas=3.12.2
OperatingSystem=Linux
Kernel=4.19.97-v7l+
Architecture=arm
Distribution=debian 10.3
Desktop=LXDE
Theme=Qt5CTProxy
Language=es_ES.UTF-8
Memory=1761M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.11
GStreamer=libgstreamer-1.0.so.0.1404.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.1
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.82.0.0
QT5=libQt5Core.so.5.11.3
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=LXDE-<user>
DISPLAY=:0.0
GB_GUI=gb.qt5
GDMSESSION=lightdm-xsession
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
HOME=<home>
LANG=es_ES.UTF-8
LANGUAGE=es_ES.UTF-8
LC_ALL=es_ES.UTF-8
LOGNAME=<user>
NO_AT_BRIDGE=1
PATH=<home>/.local/bin:<home>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
PWD=<home>
QT_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=gtk3
SHELL=/bin/bash
SSH_AGENT_PID=758
SSH_AUTH_SOCK=/tmp/ssh-XyQoZbd9ne2D/agent.696
TEXTDOMAIN=Linux-PAM
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_HOME=<home>/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/share/fkms:/usr/local/share:/usr/share/ras<user>-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/<user>
XDG_MENU_PREFIX=lxde-<user>-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=lightdm-xsession
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_LXSESSION_PID=696

El dom., 10 may. 2020 a las 13:42, Jorge Carrión (<shordi at gmail.com>)
escribió:

> II am making a small text editor and I have a problem: In Spanish the
> double quotes are different from the left and the right («»). I would like
> the character to use depending on whether the left or right shift key has
> been pressed. With the codes of the Key class I cannot distinguish when one
> or the other is pressed. Is it possible to distinguish them as it happens
> with the Control key?
> Thank you.
>
> Best regards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200510/7d4ecde3/attachment.html>


More information about the User mailing list