tschroedter / idasen-desk

Controlling the Ikea Idasen desk using Windows 10, C# and BluetoothLE
MIT License
29 stars 5 forks source link

Change settings of table height and possible hotkeys #8

Closed ducklingasa closed 2 years ago

ducklingasa commented 2 years ago

Hi Tom,

Thank you for this great app! Would it be possible to extend the height in the settings from 60cm to 127cm (the full range of the table)?

Also if you could add global hotkeys (e.g. CTRL+ALT+1 and 2) to move into seating and standing positions would be great :)

Cheers, Adam

tschroedter commented 2 years ago

Hi Adam,

Thanks, I'm having fun developing the app.

  1. Changing the max. value for the height can be easily done in the SettingsWindow.xaml. - I have created a new release 0.0.105 which allows to set the heights to 127cm. You can try it out and let me know if it works.
  2. I need to investigate how do enable hotkeys in C#. - Hopefully I get some time on the weekend.

Regards, Thomas

ducklingasa commented 2 years ago

Hi Thomas,

  1. It worked perfectly, thanks for your time.
  2. I've found some example codes here: Keyboard Hook in C#

Regards, Adam

tschroedter commented 2 years ago

Hi Adam,

Thanks for the link to the Keyboard Hooks I will try it in the next few days. I also found a few NuGet packages doing simalar things. I think I have to find the solution which doesn't trigger th virus scanner.

Regards, Thomas

tschroedter commented 2 years ago

Hi Adam,

I published a new version 0.0.111 which includes support for hot keys. Can you have a quick look?

Reagrds, Thomas

ducklingasa commented 2 years ago

Hi Thomas,

I have tested it just now and it works perfectly. Great job, thanks!

Regards, Adam

tschroedter commented 2 years ago

No worries. Thanks for testing it.